ID:               15968
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache related
 Operating System: Solaris 8
 PHP Version:      4.1.1
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2002-03-09 06:30:07] [EMAIL PROTECTED]

Can you post your configure lines? (both of PHP and Apache)

------------------------------------------------------------------------

[2002-03-08 21:28:45] [EMAIL PROTECTED]

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

Reply via email to