php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10760 Failure during make process
Submitted: 2001-05-09 13:59 UTC Modified: 2001-05-11 07:51 UTC
From: jorge_faria at yahoo dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Solaris 2.8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jorge_faria at yahoo dot com
New email:
PHP Version: OS:

 

 [2001-05-09 13:59 UTC] jorge_faria at yahoo dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-09 14:30 UTC] derick@php.net
Hello,

did you build PHP from a fresh checkout?
Please try the following:

./cvsclean
./buildconf
./configure ... (rest of your configure line)
./make

and see if  this works. If you get the same error, please mail
me your main/internal_functions.c file
 [2001-05-09 14:35 UTC] derick@php.net
Hello,

I just saw you are not using CVS, please try this instead:

rm config.cache
./configure ... (your configure line)
make clean
make

regards,
Derick
 [2001-05-11 07:51 UTC] derick@php.net
The user reported that this was not a problem with php 4.0.5 anymore.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 11:01:29 2025 UTC