Opened 16 years ago
Last modified 16 years ago
#115 closed task (wontfix)
./configure --with-pgconfig ignores specified pg_config in favour of path
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | postgis | Version: | |
Keywords: | Cc: |
Description
What steps will reproduce the problem?
- Install PgSQL 8.1 in /usr/local/pgsql/8.1
- Install PgSQL 8.3 in /usr/local/pgsql/8.3
- Set your PATH to include /usr/local/pgsql/8.3/bin
- Run ./configure —with-pgconfig=/usr/local/pgsql/8.1/bin
- make
Compile fails with mishmash of 8.3 and 8.1 includes.
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
I fear this is just going to be a wontfix. It's a bit of an oddball, so hopefully people don't hit it too often.
Note:
See TracTickets
for help on using tickets.
This is actually a bug in PGXS for versions of PostgreSQL < 8.3 - see http://markmail.org/message/k7iolbazhrqhijfk#query:pg_config%20jun%202007+page:1+mid:rqk6ux2e7npqbrzf+state:results for more information.
The work-around is to set PATH so that the —with-pgconfig path containing pg_config is the first directory in the search path. However, since we call 'make' directly we need to find a way to set PATH within the Makefile - and so far all of my attempts to do this have failed
Anyone else have any ideas?
ATB,
Mark.