[postgis-users] How to tell postgis configure to see different makefile, etc.
jcz at northredoubt.com
jcz at northredoubt.com
Wed May 11 10:42:07 PDT 2011
Quoting Sandro Santilli <strk at keybit.net>:
> On Wed, May 11, 2011 at 11:28:06AM -0400, John Zastrow wrote:
>> I'm upgrading a ubuntu box from postgres/postgis installed through
>> apt-get, to those completely from stable sources.
>>
>> So, I uninstalled packages, compiled postgres (9.0.3 + postgis 1.5.2),
>> ran it, compiled geos and proj - all with defaults. Now I'm compiling
>> postgis and I get this
>>
>> configure: error: the PGXS Makefile
>> /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk cannot be found
>>
>> I'm not sure where it's getting this from... I've found a newer makefile at
>> /usr/local/pgsql/lib/pgxs/src/makefiles/pgxs.mk
>>
>> which configure options do I pass to redirect configure to the correct
>> makefile? Is there anything else I need to convince postgis configure of
>> if I'm seeing this?
>
> ./configure will use `pg_config --pgxs`, check what it says.
> You may have an old pg_config around, or you didn't re-run ./configure.
>
> --strk;
Interesting.
jcz at dell390:/usr/local/src/postgis-1.5.2$ pg_config --pgxs
/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk
but, the directory /usr/lib/postgresql/ doesn't exist anymore.
jcz at dell390:/usr/local/src/postgis-1.5.2$ ls /usr/lib | grep 'post'
libpostfix-dns.so.1
libpostfix-dns.so.1.0.1
libpostfix-global.so.1
libpostfix-global.so.1.0.1
libpostfix-master.so.1
libpostfix-master.so.1.0.1
libpostfix-tls.so.1
libpostfix-tls.so.1.0.1
libpostfix-util.so.1
libpostfix-util.so.1.0.1
postfix
postfix_groups.pl
what is pg_config reading to get this information?
More information about the postgis-users
mailing list