Re: Problem compiling RC2
| From: | Graeme dot Merrall at i7 dot com dot au | Date: | Fri, 14 Sep 2001 05:21:50 +0000 |
| Subject: | Re: Problem compiling RC2 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3599@lists.php.net to get a copy of this message | ||
Hmm, well spotted. Interesting that DOMXML doesn't complain about zlib even
though it probably should. Maybe configure is smart enough to try a / as
well.
Anyway, after repairing this problem, the problem with libxmltok and
libxmlparse still occurs.
I realised I didn't include the output from debug.log to my last email.
CONFIGURE: './configure' '--prefix=/usr/local/php_test'
'--enable-debug'
'--enable-libgcc' '--enable-discard-path' '--without-mysql' '
--enable-magic-quotes' '--enable-track-vars' '--enable-memory-limit' '
--with-expat-dir=/usr/local' '--with-sablot=shared,/usr/local' '
--with-oci8=shared,/oracle/product/817' '--with-curl=shared' '
--with-zlib-dir=/local' '--with-dom=shared' '--enable-shmop' '
--disable-pear '
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/include
-I/oracle/product/817/rdbms/public -I/oracle/product/817/rdbms/demo
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -R/usr/local/lib
-L/usr/local/lib
LIBS: -liconv -lsablot -lxmltok -lxmlparse -lz -lcrypt -lresolv
-lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt
DLIBS:
SAPI: cgi
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3
/usr/local/lib
uname -a: SunOS borg.i7.com.au 5.6 Generic_105181-23 sun4u sparc sun4u
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib
-L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -R/usr/local/lib
-L/usr/local/lib conftest.c -liconv -lsablot -lxmltok -lxmlparse -lz
-lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt
1>&5
ld: fatal: library -lxmltok: not found
ld: fatal: library -lxmlparse: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
I wonder if I should be taking this to php-dev at this point... :)
Cheers,
Graeme
BTW: Apologies for msg quoting. Damn Lotus Notes...
Jani Taskinen
<sniper@iki.fi> To: <Graeme.Merrall@i7.com.au>
Sent by: cc: <php-qa@lists.php.net>
<jani@zoidberg.p Subject: Re: [PHP-QA] Problem compiling RC2
entap.net>
13/09/2001 11:39
PM
On Thu, 13 Sep 2001 Graeme.Merrall@i7.com.au wrote:
>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' \
There isn't any configure options like this..
(--with-expat-dir is..but it only takes a path as value)
>'--with-sablot=shared,/usr/local' \
>'--with-oci8=shared,/oracle/product/817' \
>'--with-curl=shared' \
>'--with-zlib-dir=local' \
Are you sure this ^^^^^ is correct path?
--Jani