From: | Alexander Lohse <al(at)humantouch(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Hi |
Date: | 2001-03-27 07:28:55 |
Message-ID: | p05010401b6e5f0df1d94@[192.168.0.44] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>Alexander Lohse <al(at)humantouch(dot)de> writes:
>> What would I need to do to run 2 Versions of Postgres on the RaQ3?
>
>Should be the same deal as for running 2 versions anyplace else:
>give them separate install directories, separate data directories,
>and separate port numbers. If you compile from source then you can
>make these changes with configure's --prefix and --with-portnum
>switches. Not sure you can do it easily with an RPM-based install.
>
>On some systems you may run into kernel limits on SysV shared memory
>and/or semaphores when trying to run 2 or more postmasters. See the
>documentation about raising kernel limits if so.
>
> regards, tom lane
Hi Tom,
I successfully dowloaded the latest PG version via cvs, compiled and
installed user ...
Seems to work.
Now I am trying to recompile php to connect to this new install in /home/pgsql7
I get the follwing error:
Making all in pgsql
make[2]: Entering directory `/root/php-4.0.4pl1/ext/pgsql'
make[3]: Entering directory `/root/php-4.0.4pl1/ext/pgsql'
/bin/sh /root/php-4.0.4pl1/libtool --silent --mode=compile gcc -I.
-I/root/php-4.0.4pl1/ext/pgsql -I/root/php-4.0.4pl1/main -I/rootp
php-4.0.4pl1 -I/usr/include/apache -I/root/php-4.0.4pl1/Zend
-I/usr/local/include -I/root/php-4.0.4pl1/ext/mysql/libmysql
-I/root/ph-
-4.0.4pl1/ext/xml/expat/xmltok
-I/root/php-4.0.4pl1/ext/xml/expat/xmlparse -I/root/php-4.0.4pl1/TSRM
-I/home/pgsql7/include -DLINUX=
-DNO_DBM_REWRITEMAP -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI
-Dbool=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -X
XML_BYTE_ORDER=12 -g -O2 -c pgsql.c
In file included from pgsql.c:29:
php_pgsql.h:32: postgres.h: No such file or directory
make[3]: *** [pgsql.lo] Error 1
make[3]: Leaving directory `/root/php-4.0.4pl1/ext/pgsql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.0.4pl1/ext/pgsql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1
I did : ./configure '--with-mysql' '--with-pgsql=/home/pgsql7' .....
Do you have any idea?
Thanx in advance,
Alex
--
___________________________
Alexander Lohse
Human Touch Medienproduktion GmbH
Am See 1
17440 Klein Jasedow
Tel: (038374) 75211
Fax: (038374) 75223
eMail: al(at)humantouch(dot)de
http://www.humantouch.de
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2001-03-27 08:17:04 | Re: Views, indices and pg_dump |
Previous Message | Eric G. Miller | 2001-03-27 06:42:37 | Re: records zapped to null |