I was able to build PHP 5 following the installation instructions at:
http://www.phpmac.com/articles.php?view=177
I used the same configure statement, I don't know what else was different. It just worked.
Michael
At 10:46 PM +0800 7/8/04, Michael Collins wrote:
Mac OS X 10.3 with XCode tools (gcc 3.3) PHP 5 RC 3
My configure:
./configure --with-apxs \ --with-openssl=/usr \ --with-zlib=/usr \ --with-mysql=/usr/local/mysql \ --with-pgsql=/usr/local \ --enable-ftp \ --with-pear \ --enable-calendar \ --with-sqlite
configure completes without error.
make gives this error:
g5:~/download/in/php-5.0.0RC3 mcollins$ make
gcc -Iext/libxml/ -I/Users/mcollins/download/in/php-5.0.0RC3/ext/libxml/ -DPHP_ATOM_INC -I/Users/mcollins/download/in/php-5.0.0RC3/include -I/Users/mcollins/download/in/php-5.0.0RC3/main -I/Users/mcollins/download/in/php-5.0.0RC3 -I/Users/mcollins/download/in/php-5.0.0RC3/Zend -I/usr/include/libxml2 -I/usr/local/mysql/include -I/usr/local/pgsql/include -no-cpp-precomp -I/Users/mcollins/download/in/php-5.0.0RC3/TSRM -g -O2 -c /Users/mcollins/download/in/php-5.0.0RC3/ext/libxml/libxml.c -o ext/libxml/libxml.o && echo > ext/libxml/libxml.lo
In file included from /Users/mcollins/download/in/php-5.0.0RC3/main/streams/php_stream_transport.h:22,
from /Users/mcollins/download/in/php-5.0.0RC3/main/php_streams.h:431,
from /Users/mcollins/download/in/php-5.0.0RC3/main/php.h:407,
from /Users/mcollins/download/in/php-5.0.0RC3/ext/libxml/libxml.c:28:
/usr/include/sys/socket.h:79: error: conflicting types for `socklen_t'
/Users/mcollins/download/in/php-5.0.0RC3/main/php.h:153: error: previous declaration of `socklen_t'
make: *** [ext/libxml/libxml.lo] Error 1
-- Michael __ ||| Michael Collins ||| Kuwago Inc ||| Singapore and Seattle USA
-- Michael __ ||| Michael Collins ||| Kuwago Inc ||| Singapore and Seattle USA