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?

  1. Install PgSQL 8.1 in /usr/local/pgsql/8.1
  2. Install PgSQL 8.3 in /usr/local/pgsql/8.3
  3. Set your PATH to include /usr/local/pgsql/8.3/bin
  4. Run ./configure --with-pgconfig=/usr/local/pgsql/8.1/bin
  5. make

Compile fails with mishmash of 8.3 and 8.1 includes.

Change History (2)

comment:1 by mcayland, 16 years ago

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.

comment:2 by pramsey, 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.