AW: [Spam:medium] Re: [postgis-users] Installation postGIS1.1.2

TECHER David davidtecher at yahoo.fr
Mon Jun 12 07:00:32 PDT 2006


To my mind, I will do this

PostgreSQL:
========
make clean distclean

LDFLAGS=-lstdc++  ./configure --prefix=/usr1/postgres/pgsql_814  --without-zlib

make 

make install <------------ don't forget this!




PostGIS:
=====

make clean distclean

export PATH=/usr1/postgres/pgsql_814/bin:$PATH

Tell us if

which pg_config

give U

/usr/postgres/pgsql_814/bin/pg_config

Then

./configure --with-pgsql=/usr/postgres/pgsql_814/bin/pg_config
Stüwe Rolf a écrit :

>I think it i sa problem with the paths:
>
>the configure of postgres is :
>LDFLAGS=-lstdc++  ./configure --prefix=/usr1/postgres/pgsql_814  --without-zlib
>and all paths are correct in the log-files
>
>
>(I want to install in /usr1/postgres/pgsql_814 instead of /usr/local)
>
>the configure if postGIS is:
>./configure  --with-pgsql=/usr1/src/postgres/postgresql-8.1.4/src/bin/pg_config/pg_config
>
>
>but the summary says :
>PORTNAME: linux
>   PREFIX: /usr1/postgres/pgsql814
>  EPREFIX: ${prefix}
>      DOC: /usr1/postgres/pgsql814/doc/contrib
>     DATA: /usr1/postgres/pgsql814/share/contrib
>      MAN: /usr1/postgres/pgsql814/man
>      BIN: /usr1/src/postgres/postgresql-8.1.4/src/bin/pg_config
>      EXT: /usr1/postgres/pgsql814/lib (\$$libdir)
>
>
>the path from postGIS is not ...pgsql_814 but ...pgsql814. This is the path of a former compilation, but it is not actual, 
>I did the next compilation with ...pgsql_814  and did a "make clean" before and removed the old, wrong directory.
>Where can postGIS remembered the older, wrong path
> 
>
>with regards
>
>Rolf
>
>
>-----Ursprüngliche Nachricht-----
>Von: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] Im Auftrag von strk at refractions.net
>Gesendet: Montag, 12. Juni 2006 12:08
>An: postgis-users at postgis.refractions.net
>Betreff: [Spam:medium] Re: [postgis-users] Installation postGIS1.1.2
>
>On Mon, Jun 12, 2006 at 12:05:00PM +0200, Stüwe Rolf wrote:
>  
>
>>Hello,
>>
>>I have a problem by installing postgis 1.1.2 with postgres 8.1.4 under Suse linux /9 64 bit Version.
>>
>>It seems that the configure and make Skript does not find the right path of the postgres-Version.
>>For using the configure-Skript I have to set the PATH on the postgres ... pg_config-file.
>>    
>>
>
>You shoul not need that, --with-pgsql=path/to/pg_config should do.
>If you still have problem please include the errors and warnings you're getting in each phase of the build.
>
>--strk;
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060612/510a8324/attachment.html>


More information about the postgis-users mailing list