Problem compiling RC2
| From: | Graeme dot Merrall at i7 dot com dot au | Date: | Thu, 13 Sep 2001 07:28:29 +0000 |
| Subject: | Problem compiling RC2 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3596@lists.php.net to get a copy of this message | ||
Platform: Solaris 2.6 and gcc-2.95.3
PHP-4.0.6 compiled fine
Configure:
'./configure' \
'--enable-discard-path' \
'--without-mysql' \
'--enable-magic-quotes' \
'--enable-track-vars' \
'--enable-memory-limit' \
'--with-expat=shared,/usr/local' \
'--with-sablot=shared,/usr/local' \
'--with-oci8=shared,/oracle/product/817' \
'--with-curl=shared' \
'--with-zlib-dir=local' \
'--with-dom=shared' \
'--with-openssl=shared,/usr/local/ssl' \
'--enable-libgcc' \
'--enable-shmop'
/bin/sh /export/home/graeme/php-4.0.7RC2/libtool --silent --mode=link gcc
-I. -I/export/home/graeme/php-4.0.7RC2/
-I/export/home/graeme/php-4.0.7RC2/main -I/export/home/graeme/php-4.0.7RC2
-I/export/home/graeme/php-4.0.7RC2/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/oracle/product/817/rdbms/public
-I/oracle/product/817/rdbms/demo
-I/export/home/graeme/php-4.0.7RC2/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -I/export/home/graeme/php-4.0.7RC2/TSRM -g -O2
-o libphp4.la -rpath /export/home/graeme/php-4.0.7RC2/libs -L/usr/ucblib
-L/usr/local/ssl/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3
-L/usr/local/lib -R /usr/ucblib -R /usr/local/ssl/lib -R
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -R /usr/local/lib
stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la
regex/libregex.la ext/zlib/libzlib.la ext/pcre/libpcre.la
ext/posix/libposix.la ext/sablot/libsablot.la ext/session/libsession.la
ext/shmop/libshmop.la ext/standard/libstandard.la ext/xml/libxml.la
TSRM/libtsrm.la -ldl -liconv -lsablot -lxmltok -lxmlparse -lz -lcrypt -lssl
-lcrypto -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt
ld: elf error: file stub.lo: unknown type, unable to process using elf(3E)
libraries
ld: fatal: file sapi/cgi/.libs/libsapi.al: unknown type, unable to process
using elf(3E) libraries
ld: fatal: file main/.libs/libmain.al: unknown type, unable to process
using elf(3E) libraries
ld: fatal: file regex/.libs/libregex.al: unknown type, unable to process
using elf(3E) libraries
ld: fatal: file sapi/cgi/.libs/libsapi.al: unknown type, unable to process
using elf(3E) libraries
ld: fatal: file main/.libs/libmain.al: unknown type, unable to process
using elf(3E) libraries
ld: fatal: file regex/.libs/libregex.al: unknown type, unable to process
using elf(3E) libraries
ld: fatal: library -lxmltok: not found
ld: fatal: library -lxmlparse: not found
ld: fatal: File processing errors. No output written to
.libs/libphp4.so.0.0.0
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/export/home/graeme/php-4.0.7RC2'
make: *** [all-recursive] Error 1
First off - any clues on the ld errors which are new
Also had some errors relating to --with-sablot which related to not being
able to find libxmltok and linxmlparse. The configure scripts makes
references to libxmltok in the sablot checking section. Can anyone shed
some light on this. I can't seem to find where one obtains libxmltok from
believe it or not. Doesn't seem to be in expat or Sablot sources
Cheers,
Graeme