From:             [EMAIL PROTECTED]
Operating system: Solaris 2.8
PHP version:      4.0.4pl1
PHP Bug Type:     Compile Failure
Bug description:  Failure during make process

here is a log of make 

gcc  -I. -I/users/packages/php-4.0.4pl1/main -I/users/packages/php-4.0.4pl1/main 
-I/users/packages/php-4.0.4pl1 -I/users/packages/apache_1.3.12/src/include 
-I/users/packages/apache_1.3.12/src/os/unix -I/users/packages/php-4.0.4pl1/Zend 
-I/usr/local/mysql/include/mysql -I/users/packages/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/users/packages/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/users/packages/php-4.0.4pl1/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g 
-O2  -c internal_functions.c && touch internal_functions.lo
internal_functions.c:49: `phpext_mysql_ptr' undeclared here (not in a function)
internal_functions.c:49: initializer element is not constant
internal_functions.c:49: (near initialization for `php_builtin_extensions[5]')
*** Error code 1
make: Fatal error: Command failed for target `internal_functions.lo'
Current working directory /users/packages/php-4.0.4pl1/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /users/packages/php-4.0.4pl1/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'


SO : Solaris 2.8 Sparc 
Hardware : Sun Ultra Sparc 5 

All packages recommended by php were installed (gawk , gcc and etc) . 
I am able to compile Apache 1.3.12-18 , Apache 2.0, any version of mysql  and postgres.


./configure --with-mysql=/usr/local/mysql \
       --with-xml \
       --with-apache=../apache_1.3.12 \
       --enable-track-vars

Jorge Faria



-- 
Edit Bug report at: http://bugs.php.net/?id=10760&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to