Hi

I tried to compile php4.2.1 for apache 2.0.36 and mysql. I used the
following configure parameters:

./configure --prefix=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apx
s --with-config-file-path=/usr/local/php4 --with-mysql

configure seems to run well but I do not understand most of the show lines,
then I started make and that finnished to fast with the following errors:

/bin/sh /usr/src/php-4.2.1/libtool --silent --mode=link
gcc  -I. -I/usr/src/php-4.2.1/ -I/usr/src/php-4.2.1/main -I/usr/src/php-4.2.
1 -I/usr/local/apache2/include -I/usr/src/php-4.2.1/Zend -I/usr/src/php-4.2.
1/ext/mysql/libmysql -I/usr/src/php-4.2.1/ext/xml/expat  -D_REENTRANT -I/usr
/src/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic   -o
libphp4.la -rpath /usr/src/php-4.2.1/libs -avoid-version   stub.lo
Zend/libZend.la sapi/apache2filter/libsapi.la main/libmain.la
regex/libregex.la /usr/src/php-4.2.1/ext/ctype/libctype.la
/usr/src/php-4.2.1/ext/mysql/libmysql.la
/usr/src/php-4.2.1/ext/pcre/libpcre.la
/usr/src/php-4.2.1/ext/posix/libposix.la
/usr/src/php-4.2.1/ext/session/libsession.la
/usr/src/php-4.2.1/ext/standard/libstandard.la
/usr/src/php-4.2.1/ext/xml/libxml.la
TSRM/libtsrm.la -lpam -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
make[1]: Leaving directory `/usr/src/php-4.2.1'


/usr/i486-suse-linux/bin/ld:stub.lo: file format not recognized; treating as
linker script
/usr/i486-suse-linux/bin/ld:stub.lo:2: parse error
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1


sorry for this long message, does anyone know what is wrong on my linux box
(linux suse 7.2)

Michael




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

Reply via email to