php compilation error on MacOSX10.1

From: Date: Sat, 15 Dec 2001 13:46:04 +0000
Subject: php compilation error on MacOSX10.1
Groups: php.install 
Request: Send a blank email to php-install+get-5313@lists.php.net to get a copy of this message
After having updated the OS to version 10.1 I cannot recompile PHP. This is the contain of the debug.log file: CONFIGURE: './configure' '--with-pgsql' '--with- apxs=/usr/local/apache/sbin/apxs' '--with-zlib-dir' '--with- gd=/usr/local/gd' '--with-png-dir' '--with-pdflib=/usr/local/lib' '--enable-magic-quotes' '--enable-debug=no' '--disable-pear' '--with-xml'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8
CXX: CXXFLAGS:
INCLUDES:    -I/usr/local/apache/include  -I$(top_builddir)/Zend -I/usr/local/gd/ -I/usr/local/php/ext/mysql/libmysql
LDFLAGS:     -L/usr/local/lib -L/usr/local/lib -L/usr/local/gd/ -L/usr/local/gd/ -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib
LIBS:       -lpq -lgd -lpng -lz -lz -lm
DLIBS:
SAPI:       apache
PHP_RPATHS: /usr/local/lib /usr/local/gd/ /usr/local/pgsql/lib uname -a: Darwin localhost 1.4 Darwin Kernel Version 1.4: Sun Sep 9 15:39:59 PDT 2001; root:xnu/xnu-201.obj~1/RELEASE_PPC Power Macintosh powerpc gcc -o conftest -g -O2 -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -L/usr/local/lib -L/usr/local/lib -L/usr/local/gd/ -L/usr/local/gd/ -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lpq -lgd -lpng -lz -lz -lm 1>&5 ************************************************************************** *** Trying to run make, the command exits with these messages: Making all in . /bin/sh /usr/local/php/libtool --silent --mode=link cc -I. -I/usr/local/php/ -I/usr/local/php/main -I/usr/local/php -I/usr/local/apache/inm /usr/local/php/.libs/libphp4.lax/libZend.al /usr/local/php/.libs/libphp4.lax/libsapi.al /usr/local/php/.libs/libphp4.lax/libmain.al /usr/local/php/.libs/libphp4.lax/libregex.al /usr/local/php/.libs/libphp4.lax/libzlib.al /usr/local/php/.libs/libphp4.lax/libgd.al /usr/local/php/.libs/libphp4.lax/libmysql.al /usr/local/php/.libs/libphp4.lax/libpcre.al /usr/local/php/.libs/libphp4.lax/libpdf.al /usr/local/php/.libs/libphp4.lax/libpgsql.al /usr/local/php/.libs/libphp4.lax/libposix.al /usr/local/php/.libs/libphp4.lax/libsession.al /usr/local/php/.libs/libphp4.lax/libstandard.al /usr/local/php/.libs/libphp4.lax/libtsrm.al /usr/bin/ld: -undefined error must be used when -twolevel_namespace is in effect make[1]: *** [libphp4.la] Error 1 make: *** [all-recursive] Error 1 ************************************************************************** *** Previously I have been able to compile everything without problems (except for the pdf support which was missing). An hint could come from the lines: checking for PostgreSQL support... yes ./configure: cd: no such file or directory: [41277] appearing among the ./configure output, but I can't understand which directory name is missing. Mario Fabretto via E. Fermi, 18 34070 Turriaco (GO)

« previous php.install (#5313) next »