Re: Bug #10760 Updated: Failure during make process
| From: | jorge_faria at yahoo dot com | Date: | Fri, 11 May 2001 10:34:36 +0000 |
| Subject: | Re: Bug #10760 Updated: Failure during make process | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-54863@lists.php.net to get a copy of this message | ||
Hello Derick , thank you for your support. Actually i downloaded last version 4.0.5 and compile
goes just fine.
J.Faria
Bug Database wrote:
> ID: 10760
> Updated by: derick
> Reported By: jorge_faria@yahoo.com
> Status: Feedback
> Bug Type: Compile Failure
> Operating system:
> PHP Version: 4.0.4pl1
> Assigned To:
> Comments:
>
> 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
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2001-05-09 14:30:49] 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 13:59:59] jorge_faria@yahoo.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
>
> ---------------------------------------------------------------------------
>
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at
> http://bugs.php.net/?id=10760&edit=2