Hi Christophe,
I think the linker has problems finding your gd libraries. Are you sure the path
given in --with-gd=/tmp/orange/gd-1.8.4 is valid?

Christophe wrote:

> Hi,
>
> I have a Sun box (UltraSparc-IIi, 512 MB RAM,...) running Solaris 8.
>
> I have a PHP 4.1.1 source, which I want to compile CGI-mode (for testing
> only)
> with java support, essentially...
>
> the following is the contents of the debug.log file found by the PHP dir...
>
> I'm totally stuck with this...
>
> thanx alot for helping...
>
> --Christophe
>
> ------------------------------DEBUG.LOG-----------------------------------
> sparc-osm-3# cat debug.log
> CONFIGURE:   './configure' '--with-oci8=/opt/Poracle/product/8.1.6/'
> '--with-gd=/tmp/orange/gd-1.8.4' '--with-jpeg=/usr/local/lib'
> '--enable-bcmath' '--with-java=/usr/java' '--with-zlib' '--with-mysql=no'
> CC:         gcc
> CFLAGS:     -g -O2
> CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS
> CXX:
> CXXFLAGS:
> INCLUDES:      -I$(top_builddir)/Zend -I/usr/local/include -I/tmp/orange/gd-
> 1.8.4/ -I/opt/Poracle/product/8.1.6//rdbms/public -I/opt/Poracle/product/8.1
> .6//rdbms/demo -I/opt/Poracle/product/8.1.6//network/public
> LDFLAGS:     -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-
> solaris2.8/3.0 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0 -R/usr/loca
> l/lib -L/usr/local/lib -R/tmp/orange/gd-1.8.4/ -L/tmp/orange/gd-1.8.4/ -R/op
> t/Poracle/product/8.1.6//lib -L/opt/Poracle/product/8.1.6//lib
> LIBS:       -lsched -ldl -lgen -lsocket -lnsl -l -lgd -lz -lcrypt -lresolv -
> lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket -lgcc -lcrypt -lclntsh
> DLIBS:
> SAPI:       cgi
> PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0
> /usr/local/lib /tmp/orange/gd-1.8.4/ /opt/Poracle/product/8.1.6//lib
> uname -a:   SunOS sparc-osm-3 5.8 Generic_108528-10 sun4u sparc
> SUNW,UltraSPARC-IIi-Engine
>
> gcc -o
> conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -R/usr/ucblib -L/usr/ucblib -R/
> usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0 -L/usr/local/lib/gcc-lib/spar
> c-sun-solaris2.8/3.0 -R/usr/local/lib -L/usr/local/lib -R/tmp/orange/gd-1.8.
> 4/ -L/tmp/orange/gd-1.8.4/ -R/opt/Poracle/product/8.1.6//lib -L/opt/Poracle/
> product/8.1.6//lib
> conftest.c -lsched -ldl -lgen -lsocket -lnsl -l -lgd -lz -lcrypt -lresolv -l
> resolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket -lgcc -lcrypt -lclntsh
> 1>&5
> ld: fatal: library -l-lgd: not found
> ld: fatal: File processing errors. No output written to conftest
> collect2: ld returned 1 exit status
> sparc-osm-3#
> ----------------------------------------------------------------------------
> ---------------------


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to