Buidlingprobs: make: *** [libs/libphp4.bundle] Error 1
| From: | heilo | Date: | Sun, 23 Mar 2003 18:19:06 +0000 |
| Subject: | Buidlingprobs: make: *** [libs/libphp4.bundle] Error 1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10394@lists.php.net to get a copy of this message | ||
Hi there everybody!
I installed all the required extensions i need (which was really frustrating
sometimes...) - i was really happy as the configure-command succeeded
without errormessages. I tried this all on Mac Os X 10.2.4, my
configure-command looks like this:
./configure
--with-apxs
--with-xml
--with-mysql
--enable-trans-sid
--enable-exif
--enable-wddx
--enable-ftp
--enable-dbx
--enable-mbstring
--enable-xslt
--enable-dbx
--enable-dbase
--enable-sockets
--enable-calendar
--enable-shared
--enable-mbregex
--enable-session
--enable-tokenizer
--enable-yp
--enable-versioning
--enable-mime-magic
--with-xmlrpc=/usr/local
--with-gd=/usr/local
--with-dom=/usr/local/
--with-png-dir=/usr/local/lib
--with-zlib=/usr/local
--with-jpeg-dir=/usr/local/lib
--with-freetype-dir=/usr/local
--with-t1lib=/usr/local
--with-curl=/usr/local
--with-tiff-dir=/usr/local
--with-pdflib=/usr/local
--with-xslt-sablot=/usr/local
--with-imap=../imap-2002b
--with-expat-dir=/usr/local
--with-mhash=/usr/local/lib
--with-openssl=/usr
--with-iodbc=/usr
--with-iconv=/usr/local/lib
--with-sybase=/usr/local
--with-ttf=/usr/local
--with-pspell=/usr/local
--with-imap-ssl=/usr
Well, there occurred about a thousand errors, which look the same all the
time.
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
Somewhere I also get the following (I installed the newest available version
of iconvlib):
gcc -Iext/iconv/ -I/Users/phreak/Documents/dls/php-4.3.1/ext/iconv/
-DPHP_ATOM_INC -I/Users/phreak/Documents/dls/php-4.3.1/include
-I/Users/phreak/Documents/dls/php-4.3.1/main
-I/Users/phreak/Documents/dls/php-4.3.1
-I/Users/phreak/Documents/dls/php-4.3.1/Zend -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local/include/freetype2
-I/Users/phreak/Documents/dls/imap-2002b/c-client
-I/usr/local/include/pspell -no-cpp-precomp -DDARWIN -DUSE_HSREGEX
-DUSE_EXPAT -DHARD_SERVER_LIMIT=2048 -DEAPI -no-cpp-precomp
-I/Users/phreak/Documents/dls/php-4.3.1/TSRM -g -O2 -c
/Users/phreak/Documents/dls/php-4.3.1/ext/iconv/iconv.c -o ext/iconv/iconv.o
&& echo > ext/iconv/iconv.lo
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
/Users/phreak/Documents/dls/php-4.3.1/ext/iconv/iconv.c: In function
`zif_ob_iconv_handler':
/Users/phreak/Documents/dls/php-4.3.1/ext/iconv/iconv.c:411: warning:
passing arg 4 of `php_iconv_string' from incompatible pointer type
These were all only warnings, so the compiler worked on. But then he
suddenly dies after
gcc -dynamic -twolevel_namespace -bundle -bundle_loader /usr/sbin/httpd -g
-O2 --export-symbols=/Us [...] -lssl -lcrypto -lz -o libs/libphp4.bundle
&& cp libs/libphp4.bundle libs/libphp4.so
[ hundreds of warnings, that some symbols were defined multiple times ]
/usr/sbin/httpd definition of _XmlPrologStateInit
/usr/local/lib/libexpat.dylib(xmlrole.lo) definition of _XmlPrologStateInit
ld: warning multiple definitions of symbol _crypt
/usr/lib/libcrypto.dylib(fcrypt.o) definition of _crypt
/usr/lib/libm.dylib(crypt.So) definition of _crypt
make: *** [libs/libphp4.bundle] Error 1
And then i'm back to the command line