php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16321 make: Fatal error: Command failed for target `sapi_apache2.lo'
Submitted: 2002-03-27 16:50 UTC Modified: 2002-04-06 11:14 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:0 of 0 (0.0%)
From: Sonny2 at gmx dot de Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.1.2 OS: Solaris 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: Sonny2 at gmx dot de
New email:
PHP Version: OS:

 

 [2002-03-27 16:50 UTC] Sonny2 at gmx dot de
HelloPHP-Gurus,

Following Systemconfig:
    -    Solaris 8 (Sparc)
    -    php-4.1.2
    -    mysql-max-3.23.49-sun-solaris2.8-sparc
    -    httpd-2.0.32 (aka apache 2)

following configure was run:

srv088:/space/WWW-BETA/php>./configure --with-apxs2=/space/WWW-BETA/apache2/bin/apxs --with-config-file-path=/space/WWW-BETA/apache2/conf/ --enable-versioning --with-mysql=/space/WWW-BETA/mysql --enable-ftp --enable-bcmath --disable-debug --enable-memory-limit=yes --enable-track-vars --enable-calendar --enable-force-cgi-redirect --enable-libgcc --enable-trans-sid --with-java=/usr/java --enable-yp --with-gd=/usr/local/ --prefix=/space/WWW-BETA/ --enable-sysvsem --enable-sysvshm --enable-sockets

during make ---> ERROR:

[...] (other makes)
Making all in xml
Making all in expat
Making all in yp
Making all in sapi
Making all in apache
/bin/sh /space/WWW-BETA/php-4.1.2/libtool --silent --mode=compile
gcc  -I. -I/space/WWW-BETA/php-4.1.2/sapi/apache -I/space/WWW-BETA/php-4.1.2
/main -I/space/WWW-BETA/php-4.1.2 -I/space/WWW-BETA/apache2/include -I/space
/WWW-BETA/php-4.1.2/Zend -I/usr/local//include -I/space/WWW-BETA/mysql/inclu
de -I/space/WWW-BETA/php-4.1.2/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -I/
space/WWW-BETA/php-4.1.2/TSRM -g -O2 -prefer-pic  -c sapi_apache.c
sapi_apache.c: In function `apache_php_module_main':
sapi_apache.c:81: `NOT_FOUND' undeclared (first use in this function)
sapi_apache.c:81: (Each undeclared identifier is reported only once
sapi_apache.c:81: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `sapi_apache.lo'
Current working directory /space/WWW-BETA/php-4.1.2/sapi/apache
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /space/WWW-BETA/php-4.1.2/sapi/apache
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /space/WWW-BETA/php-4.1.2/sapi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-27 17:14 UTC] sniper@php.net
reclassified
 [2002-04-06 11:14 UTC] sniper@php.net
Get latest CVS versions of both Apache2 and PHP and it should work.

 [2002-04-17 03:37 UTC] Marco Voli <voli at cineca dot it>
Exactly the same problem with
Apache 2.0.35 and Solaris 7

> ./configure --with-mysql=/cineca/prod/mysql32349 \
?             --with-oci8=/oracle/app/oracle/product/8.1.6 \
?             --prefix=/cineca/prod/php412 \
?             --with-config-file-path=/cineca/prod/php412 \
?             --with-apxs2=/cineca/prod/apache2035/bin/apxs
 [2002-05-30 18:59 UTC] kstairley at copper dot net
I had the same problem on Solaris 7, Sun Ultra-250.
Apache 2.0.36, MySql 3.23.49, PHP 4.2.1 with
gcc 2.95.3.
But it worked for me with using the 
configure script from PHP 4.20
and I was able to configure, make, and make install.
./configure --prefix=/export/home/kent/php4 \
--with-mysql=/export/home/kent/mysql3 \
--with-apxs2=/export/home/kent/apache2/bin/apxs
Cheers,
Kent
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 12:01:30 2024 UTC