#15968 [Opn->Bgs]: make error when making apache
| From: | sniper@php.net | Date: | Mon, 30 Sep 2002 01:49:41 +0000 |
| Subject: | #15968 [Opn->Bgs]: make error when making apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20730@lists.php.net to get a copy of this message | ||
ID: 15968
Updated by: sniper@php.net
Reported By: larry.hansard@library.gatech.edu
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Solaris 8
PHP Version: 4.1.1
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-03-09 19:19:21] larry.hansard@library.gatech.edu
This is script that I am following:
cd /scratch/apache_1.3.22
make clean
# pre-configure Apache for PHP's configure step
./configure
# configure PHP and apply it to the Apache source tree
cd /scratch/php-4.1.1
make clean
./configure \
--with-apache=/scratch/apache_1.3.22 \
--with-oracle=/oracle/app/oracle/product/8.0.5 \
--with-oci8=/oracle/app/oracle/product/8.0.5
make
make install
# build/install Apache with and PHP
cd /scratch/apache_1.3.22
./configure \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4
make
------------------------------------------------------------------------
[2002-03-09 06:30:07] sander@php.net
Can you post your configure lines? (both of PHP and Apache)
------------------------------------------------------------------------
[2002-03-08 21:28:45] larry.hansard@library.gatech.edu
I keep getting an error when I try to do a make in the
apache_1.3.22 directory. Everything up to that was good.
I was able to make php and install it. Here is the error:
<=== src/modules
gcc -c -I./os/unix -I./include -DSOLARIS2=280 -I/scratch/php-4.1.1
-I/scr
atch/php-4.1.1/main -I/scratch/php-4.1.1/main -I/scratch/php-4.1.1/Zend
-I/s
cratch/php-4.1.1/Zend -I/scratch/php-4.1.1/TSRM
-I/scratch/php-4.1.1/TSRM -I
/scratch/php-4.1.1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci
modules.c
gcc -c -I./os/unix -I./include -DSOLARIS2=280 -I/scratch/php-4.1.1
-I/scr
atch/php-4.1.1/main -I/scratch/php-4.1.1/main -I/scratch/php-4.1.1/Zend
-I/s
cratch/php-4.1.1/Zend -I/scratch/php-4.1.1/TSRM
-I/scratch/php-4.1.1/TSRM -I
/scratch/php-4.1.1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci
buildmark.c
gcc -DSOLARIS2=280 -I/scratch/php-4.1.1 -I/scratch/php-4.1.1/main
-I/scratc
h/php-4.1.1/main -I/scratch/php-4.1.1/Zend -I/scratch/php-4.1.1/Zend
-I/scra
tch/php-4.1.1/TSRM -I/scratch/php-4.1.1/TSRM -I/scratch/php-4.1.1
-DUSE_EXPA
T -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \
-o httpd buildmark.o modules.o modules/php4/libphp4.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a
lib/expat-lite/libexpat.a -R/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-
solaris2.8/2.95.3 -R/oracle/app/oracle/product/8.0.5/lib -L/usr/ucblib
-L/u
sr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/oracle/app/oracle/produc
t/8.0.5/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4
-lmodphp4
-lpam -ldl -lclntsh -lpsa -lcore4 -lnlsrtl3 -ldl -lgen -lsocket -lnsl
-lcr
ypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt
-lso
cket -lnsl
Undefined first referenced
symbol in file
dn_skipname modules/php4/libphp4.a(dns.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/scratch/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/scratch/apache_1.3.22'
make: *** [build] Error 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15968&edit=1