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 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. On Fri, May 2, 2008 at 3:00 PM, Mark Cave-Ayland < [EMAIL PROTECTED]> wrote: > Calum Byrom wrote: > > > Hi Mark, > > > > Thanks for the quick response. I've tried what you suggested but to no > > avail. Observations whilst doing this: > > > > i) If I install PostGIS from the unzipped source, via a ./configure, > > gmake, sudo gmake install, the lwpostgis.sql, etc scripts get put in > > /usr/share and contain unexpanded $libdir variables. The liblwgeom files > > end up under /usr/lib64/postgresql > > > > ii) If I install PostGIS via the rpm, using the YaST2 GUI, the > > lwpostgis.sql, etc scripts get put in /usr/share/postgis and the $libdir > > variable they use is expanded to /usr/lib64 (although I don't think any > > expansion is actually being done since the timestamp on these files is quite > > old - so they're just being unpacked to this dir). The liblwgeom files here > > get unpacked this libdir - i.e. /usr/lib64 > > > > I've not done anything out of standard for any of the installs except > > for configuring the postgres install using, LDFLAGS=-lstdc++ ./configure - > > as suggested in the setup guide I was following (see link in first mail). > > > > Any other suggestions? > > > > Thanks, > > > > Calum. > > > > > Hi Calum, > > What does the output of "pg_config" show? You should run this as the same > user you ran configure. You may also try "which pg_config" to see from where > configure is finding your PostgreSQL configuration information. > > > > ATB, > > Mark. > > -- > Mark Cave-Ayland > Sirius Corporation - The Open Source Experts > http://www.siriusit.co.uk > T: +44 870 608 0063 > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users >
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
