<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=iso-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
To my mind, I will do this<br>
<br>
PostgreSQL:<br>
========<br>
make clean distclean<br>
<br>
<pre wrap="">LDFLAGS=-lstdc++ ./configure --prefix=/usr1/postgres/pgsql_814 --without-zlib
make
make install <------------ don't forget this!
</pre>
<br>
<br>
<br>
PostGIS:<br>
=====<br>
<br>
make clean distclean<br>
<br>
export PATH=/usr1/postgres/pgsql_814/bin:$PATH<br>
<br>
Tell us if <br>
<br>
which pg_config<br>
<br>
give U<br>
<br>
/usr/postgres/pgsql_814/bin/pg_config<br>
<br>
Then<br>
<br>
./configure --with-pgsql=/usr/postgres/pgsql_814/bin/pg_config<br>
Stüwe Rolf a écrit :
<blockquote
cite="mid4DDCD082A3502746879A4FEBAC4C96C4B29ABE@S402X048.Stadt.wuppertal-intra.de"
type="cite">
<pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a> [<a class="moz-txt-link-freetext" href="mailto:postgis-users-bounces@postgis.refractions.net">mailto:postgis-users-bounces@postgis.refractions.net</a>] Im Auftrag von <a class="moz-txt-link-abbreviated" href="mailto:strk@refractions.net">strk@refractions.net</a>
Gesendet: Montag, 12. Juni 2006 12:08
An: <a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
Betreff: [Spam:medium] Re: [postgis-users] Installation postGIS1.1.2
On Mon, Jun 12, 2006 at 12:05:00PM +0200, Stüwe Rolf wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
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
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
<br>
</body>
</html>