[postgis-users] PostGIS install on postgres 8.3 running on 64bit OpenSuse10.3

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Fri May 2 07:53:46 PDT 2008


Calum Byrom wrote:
> Hi,
> 
> All users that I might have used to do the install with have the same 
> pg_config results - which are:
> 
> BINDIR = /usr/bin
> DOCDIR = /usr/share/doc/packages/postgresql
> INCLUDEDIR = /usr/include/pgsql
> PKGINCLUDEDIR = /usr/include/pgsql
> INCLUDEDIR-SERVER = /usr/include/pgsql/server
> LIBDIR = /usr/lib64
> PKGLIBDIR = /usr/lib64/postgresql
> LOCALEDIR = /usr/share/locale
> MANDIR = /usr/share/man
> SHAREDIR = /usr/share/postgresql
> SYSCONFDIR = /usr/etc/postgresql
> PGXS = /usr/lib64/postgresql/pgxs/src/makefiles/pgxs.mk <http://pgxs.mk>
> CONFIGURE = '--prefix=/usr' '--libdir=/usr/lib64' '--bindir=/usr/bin' 
> '--includedir=/usr/include/pgsql' '--datadir=/usr/share/postgresql' 
> '--mandir=/usr/share/man' '--with-docdir=/usr/share/doc/packages' 
> '--disable-rpath' '--enable-nls' '--enable-thread-safety' 
> '--enable-integer-datetimes' '--without-python' '--without-perl' 
> '--without-tcl' '--with-openssl' '--with-pam' '--with-krb5' 
> '--with-gssapi' '--with-ldap' '--with-libxml' '--with-libxslt' 
> '--with-system-tzdata=/usr/share/zoneinfo' 'CFLAGS=-fmessage-length=0 
> -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 '
> CC = gcc
> CPPFLAGS = -D_GNU_SOURCE -I/usr/include/libxml2
> CFLAGS = -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector 
> -O2  -Wall -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
> CFLAGS_SL = -fpic
> LDFLAGS =
> LDFLAGS_SL =
> LIBS = -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz 
> -lreadline -lcrypt -ldl -lm
> VERSION = PostgreSQL 8.3.1
> 
> - can you spot anything odd in there?
> 
> Thanks,
> 
> Calum.


Hi Calum,

Apart from the strange libdir, everything looks good. The only other 
thing I can think of is a mismatch between the server version and the 
server headers (i.e. the postgresql-devel RPM still belongs to an older 
PostgreSQL version).

What does "cat /usr/include/pgsql/pg_config.h | grep PG_VERSION" show?


ATB,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063



More information about the postgis-users mailing list