PostgreSQL and PHP - install problem OSX

From: Date: Tue, 21 Jan 2003 12:29:26 +0000
Subject: PostgreSQL and PHP - install problem OSX
Groups: php.install 
Request: Send a blank email to php-install+get-9753@lists.php.net to get a copy of this message
Hello, I am trying to install PostgreSQL on OSX, as wonderfully laid out at: http://developer.apple.com/internet/macosx/postgres.html All steps until User Access and Authentication go exactly as described. I have skipped the sections on installing access from Perl and from Java, and jumped to PostgreSQL and PHP with the aim of installing phpPgAdmin. Inside the php-4.3.0 directory, I do the following: sudo sh sh-2.05a# ./configure --with-pgsql --with-apxs which gives the warning message: +--------------------------------------------------------------------+
|                       *** ATTENTION ***                            |
|                                                                    |
| Something is likely to be messed up here, because the configure    |
| script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages.                         |
|                                                                    |
| If you are unable to fix this, send the file debug.log to the      |
| php-install@lists.php.net mailing list and include appropiate      |
| information about your setup.                                      |
+--------------------------------------------------------------------+ I do not see any errors in the debug.log file (which I am including below). I try to go on withe the next step: make but this fails when trying: gcc -dynamic -twolevel_namespace -bundle -bundle_loader /usr/sbin/httpd -g -O2 ... with error: ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is out of date; rerun ranlib(1) (can't load from it) make: *** [libs/libphp4.bundle] Error 1 Anyone can tell why? Many thanks, Mario Ruggier ================================= debug.log ================================= CONFIGURE: './configure' '--with-pgsql' '--with-apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -no-cpp-precomp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DHARD_SERVER_LIMIT=2048 -DEAPI
CXX: CXXFLAGS:
INCLUDES:    -I$(top_builddir)/Zend -I/usr/local/pgsql/include
LDFLAGS:     -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib
LIBS:       -lpq -lm
DLIBS:
SAPI:       apache
PHP_RPATHS: /usr/local/pgsql/lib uname -a: Darwin Computer-van-Fr-d-ric-VandeVyver.local. 6.3 Darwin Kernel Version 6.3: Sat Dec 14 03:11:25 PST 2002; root:xnu/xnu-344.23.obj~4/RELEASE_PPC Power Macintosh powerpc gcc -o conftest -g -O2 -no-cpp-precomp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DHARD_SERVER_LIMIT=2048 -DEAPI -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lpq -lm 1>&5 =================================

« previous php.install (#9753) next »