Re: [PHP] PHP Compile with sun 5.7

2002-06-08 Thread Moussa Dahadha

Any News ??


Moussa Dahadha wrote:




Hi, i know that this question was asked many times but i still
can't find any solution :-(

When i try to compile php


I alweys recive this error:

 Making all in .
 make[1]: Entering directory `/root/php-4.2.1'
 /bin/sh /root/php-4.2.1/libtool --silent --mode=link gcc  -I. 
 -I/root/php-4.2.1/ -I/root/php-4.2.1/main -I/root/php-4.2.1 
 -I/www/include -I/root/php-4.2.1/Zend 
 -I/root/php-4.2.1/ext/mysql/libmysql -I/root/php-4.2.1/ext/xml/expat  
 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT 
 -I/root/php-4.2.1/TSRM -g -O2 -prefer-pic   -o libphp4.la -rpath 
 /root/php-4.2.1/libs -avoid-version -L/usr/ucblib  -R /usr/ucblib 
 stub.lo  Zend/libZend.la sapi/apache/libsapi.la main/libmain.la 
 regex/libregex.la /root/php-4.2.1/ext/ctype/libctype.la 
 /root/php-4.2.1/ext/mysql/libmysql.la 
 /root/php-4.2.1/ext/pcre/libpcre.la 
 /root/php-4.2.1/ext/posix/libposix.la 
 /root/php-4.2.1/ext/session/libsession.la 
 /root/php-4.2.1/ext/standard/libstandard.la 
 /root/php-4.2.1/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypt 
 -lresolv -lresolv -lm -ldl -lsocket -lsocket -lcrypt -ldl
 /usr/local/sparc-sun-solaris2.7/bin/ld: 
 /root/php-4.2.1/ext/mysql/.libs/libmysql.al(libmysql.lo): Relocations 
 in generic ELF (EM: 3)
 /root/php-4.2.1/ext/mysql/.libs/libmysql.al(libmysql.lo): could not 
 read symbols: File in wrong format
 make[1]: *** [libphp4.la] Error 1
 make[1]: Leaving directory `/root/php-4.2.1'
 make: *** [all-recursive] Error 1


So maybe anyone know how can i fix it?



-- 





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




[PHP] PHP Compile with sun 5.7

2002-06-05 Thread Moussa Dahadha




Hi, i know that this question was asked many times but i still
can't find any solution :-(

When i try to compile php


I alweys recive this error:

Making all in .
make[1]: Entering directory `/root/php-4.2.1'
/bin/sh /root/php-4.2.1/libtool --silent --mode=link gcc  -I. 
-I/root/php-4.2.1/ -I/root/php-4.2.1/main -I/root/php-4.2.1 
-I/www/include -I/root/php-4.2.1/Zend 
-I/root/php-4.2.1/ext/mysql/libmysql -I/root/php-4.2.1/ext/xml/expat  
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT 
-I/root/php-4.2.1/TSRM -g -O2 -prefer-pic   -o libphp4.la -rpath 
/root/php-4.2.1/libs -avoid-version -L/usr/ucblib  -R /usr/ucblib 
stub.lo  Zend/libZend.la sapi/apache/libsapi.la main/libmain.la 
regex/libregex.la /root/php-4.2.1/ext/ctype/libctype.la 
/root/php-4.2.1/ext/mysql/libmysql.la 
/root/php-4.2.1/ext/pcre/libpcre.la 
/root/php-4.2.1/ext/posix/libposix.la 
/root/php-4.2.1/ext/session/libsession.la 
/root/php-4.2.1/ext/standard/libstandard.la 
/root/php-4.2.1/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypt -lresolv 
-lresolv -lm -ldl -lsocket -lsocket -lcrypt -ldl
/usr/local/sparc-sun-solaris2.7/bin/ld: 
/root/php-4.2.1/ext/mysql/.libs/libmysql.al(libmysql.lo): Relocations in 
generic ELF (EM: 3)
/root/php-4.2.1/ext/mysql/.libs/libmysql.al(libmysql.lo): could not read 
symbols: File in wrong format
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/root/php-4.2.1'
make: *** [all-recursive] Error 1


So maybe anyone know how can i fix it?


-- 
 ¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾
 Moussa Dahadha
 System Administrator
 Palnet Communications Ltd
 www.palnet.com
 [EMAIL PROTECTED] 
 Tel.+972-2-240-3434   
 Fax.+972-2-240-3430
 CCNA,MCP,MCSE,MCSA,MCDBA. 
 ¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾




[PHP] problem with compiling php-4.2.1 on solaris 2.7

2002-06-03 Thread Moussa Dahadha

Hi All ,

 I am having some problems with compiling the latest version of the 
source code on a solaris box
The initial configure runs fine but when I go for the make this is what 
happens.


make
Making all in Zend
make[1]: Entering directory `/root/php-4.2.1/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/php-4.2.1/Zend'
Making all in main
make[1]: Entering directory `/root/php-4.2.1/main'
make[2]: Entering directory `/root/php-4.2.1/main'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/root/php-4.2.1/main'
make[1]: Leaving directory `/root/php-4.2.1/main'
Making all in ext
make[1]: Entering directory `/root/php-4.2.1/ext'
Making all in ctype
make[2]: Entering directory `/root/php-4.2.1/ext/ctype'
make[3]: Entering directory `/root/php-4.2.1/ext/ctype'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.2.1/ext/ctype'
make[2]: Leaving directory `/root/php-4.2.1/ext/ctype'
Making all in mysql
make[2]: Entering directory `/root/php-4.2.1/ext/mysql'
Making all in libmysql
make[3]: Entering directory `/root/php-4.2.1/ext/mysql/libmysql'
make[4]: Entering directory `/root/php-4.2.1/ext/mysql/libmysql'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/root/php-4.2.1/ext/mysql/libmysql'
make[3]: Leaving directory `/root/php-4.2.1/ext/mysql/libmysql'
make[3]: Entering directory `/root/php-4.2.1/ext/mysql'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.2.1/ext/mysql'
make[2]: Leaving directory `/root/php-4.2.1/ext/mysql'
Making all in pcre
make[2]: Entering directory `/root/php-4.2.1/ext/pcre'
Making all in pcrelib
make[3]: Entering directory `/root/php-4.2.1/ext/pcre/pcrelib'
make[4]: Entering directory `/root/php-4.2.1/ext/pcre/pcrelib'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/root/php-4.2.1/ext/pcre/pcrelib'
make[3]: Leaving directory `/root/php-4.2.1/ext/pcre/pcrelib'
make[3]: Entering directory `/root/php-4.2.1/ext/pcre'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.2.1/ext/pcre'
make[2]: Leaving directory `/root/php-4.2.1/ext/pcre'
Making all in posix
make[2]: Entering directory `/root/php-4.2.1/ext/posix'
make[3]: Entering directory `/root/php-4.2.1/ext/posix'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.2.1/ext/posix'
make[2]: Leaving directory `/root/php-4.2.1/ext/posix'
Making all in session
make[2]: Entering directory `/root/php-4.2.1/ext/session'
make[3]: Entering directory `/root/php-4.2.1/ext/session'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.2.1/ext/session'
make[2]: Leaving directory `/root/php-4.2.1/ext/session'
Making all in standard
make[2]: Entering directory `/root/php-4.2.1/ext/standard'
make[3]: Entering directory `/root/php-4.2.1/ext/standard'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.2.1/ext/standard'
make[2]: Leaving directory `/root/php-4.2.1/ext/standard'
Making all in xml
make[2]: Entering directory `/root/php-4.2.1/ext/xml'
Making all in expat
make[3]: Entering directory `/root/php-4.2.1/ext/xml/expat'
make[4]: Entering directory `/root/php-4.2.1/ext/xml/expat'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/root/php-4.2.1/ext/xml/expat'
make[3]: Leaving directory `/root/php-4.2.1/ext/xml/expat'
make[3]: Entering directory `/root/php-4.2.1/ext/xml'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.2.1/ext/xml'
make[2]: Leaving directory `/root/php-4.2.1/ext/xml'
make[1]: Leaving directory `/root/php-4.2.1/ext'
Making all in sapi
make[1]: Entering directory `/root/php-4.2.1/sapi'
Making all in apache
make[2]: Entering directory `/root/php-4.2.1/sapi/apache'
make[3]: Entering directory `/root/php-4.2.1/sapi/apache'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.2.1/sapi/apache'
make[2]: Leaving directory `/root/php-4.2.1/sapi/apache'
make[1]: Leaving directory `/root/php-4.2.1/sapi'
Making all in TSRM
make[1]: Entering directory `/root/php-4.2.1/TSRM'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/php-4.2.1/TSRM'
Making all in regex
make[1]: Entering directory `/root/php-4.2.1/regex'
make[2]: Entering directory `/root/php-4.2.1/regex'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/root/php-4.2.1/regex'
make[1]: Leaving directory `/root/php-4.2.1/regex'
Making all in .
make[1]: Entering directory `/root/php-4.2.1'
/bin/sh /root/php-4.2.1/libtool --silent --mode=link gcc  -I. 
-I/root/php-4.2.1/ -I/root/php-4.2.1/main -I/root/php-4.2.1 
-I/www/include -I/root/php-4.2.1/Zend 
-I/root/php-4.2.1/ext/mysql/libmysql -I/root/php-4.2.1/ext/xml/expat  
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT 
-I/root/php-4.2.1/TSRM -g -O2 -prefer-pic   -o libphp4.la -rpath 
/root/php-4.2.1/libs -avoid-version -L/usr/ucblib  -R /usr/ucblib 
stub.lo