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. 
 ¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾