[postgis-users] compile error

TECHER Jean David davidtecher at yahoo.fr
Mon Nov 8 08:23:29 PST 2004


wget ftp://ftp.remotesensing.org/pub/proj/proj-4.4.8.tar.gz
tar xvzf proj-4.4.8.tar.gz
cd proj-4.4.8
configure && make install
cd ..
wget http://geos.refractions.net/geos-2.0.1.tar.bz2
tar xvjf  geos-2.0.1.tar.bz2
cd geos-2.0.1
configure && make install
cd ????/postgres 8.0 beta4/contrib/postgis-0.9.0
rm -f *.o
make clean
make
make install
echo /usr/local/lib » /etc/ld.so.conf
ldconfig

----------------------------------------------------------------
TECHER Jean David
Responsable Informatique 01MAP
e-mail: davidtecher at yahoo.fr
site perso : http://techer.pascal.free.fr/postgis/
site pro: http://www.01map.com/download/
------------------------------------------------------------
----- Original Message -----
From: "Hubert Fröhlich" <hubert.froehlich at bvv.bayern.de>
To: <postgis-users at postgis.refractions.net>
Sent: Monday, November 08, 2004 5:09 PM
Subject: Re: [postgis-users] compile error


> Thank you, it worked (compile & install ok, but ...
>
> a few steps later when preparing a database for postgis:
>
> psql -d testdb8  -f postgis.sql
> BEGIN
>          message
> ------------------------
>   PL/PgSQL is installed.
> (1 row)
>
> psql:/opt/verm80/share/postgresql/postgis.sql:47: NOTICE:  type
> "histogram2d" is not yet defined
> DETAIL:  Creating a shell type definition.
> psql:/opt/verm80/share/postgresql/postgis.sql:47: ERROR:  could not load
> library "/opt/verm80/lib/postgresql/libpostgis.so.0.9":
/opt/verm80/lib/pos
> tgresql/libpostgis.so.0.9: undefined symbol: pj_release
>
>
> Can anybody help me further?
> Thanks,
>
> Hubert
>
> > Hubert Fröhlich wrote:
> >
> >> Hi list,
> >>
> >> I tried to compile postgis 0.9.0 with postgres 8.0 beta4 and geos
> >> 2.0.1 (USE_GEOS=1) . I am working on a 2x Xeon box with SuSE Linux 8.1.
> >>
> >> When compiling Postgis, I get the error:
> >>
> >> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
> >> -fno-strict-aliasing -g -fexceptions  -I. -DFRONTEND
> >> -DSYSCONFDIR='"/opt/verm80/etc/postgresql"'  -DUSE_VERSION=80
> >> -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
> >> -I/opt/verm80/include -DUSE_GEOS -DUSE_STATS -fpic -I../../src/include
> >> -D_GNU_SOURCE  -I/opt/verm/include  -c -o postgis_estimate.o
> >> postgis_estimate.c
> >> postgis_estimate.c: In function `build_histogram2d':
> >> postgis_estimate.c:515: error: too few arguments to function
> >> `SPI_cursor_open'
> >>
> >> Can anybody help me?
> >
> >
> > See
> >
http://postgis.refractions.net/pipermail/postgis-users/2004-October/005913.h
tml
> >
> > which worked for me too when I was in the same situation.
> >
> > Cheers,
> > Vincent.
> >
> >>
> >> Thanks,
> >> Hubert
> >>
> >
>
>
> --
> --------------------------------------------------------------------------
-----
> Dr.-Ing. Hubert Fröhlich
> Bezirksfinanzdirektion München
> Alexandrastr. 3, D-80538 München, GERMANY
> Tel. :+49 (0)89 / 2190 - 2980
> Fax  :+49 (0)89 / 2190 - 2997
> hubert dot froehlich at bvv dot bayern dot de
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users





More information about the postgis-users mailing list