RE: PHP 4.0 Bug #6998 Updated: C Compiler cannot create executables
| From: | Faine, Mark | Date: | Tue, 10 Oct 2000 12:18:59 +0000 |
| Subject: | RE: PHP 4.0 Bug #6998 Updated: C Compiler cannot create executables | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34578@lists.php.net to get a copy of this message | ||
I don't know, when I finally got it to compile I used both, I believe it
will work with only one (provided you have the correct Oracle libraries),
here is the configure line I used:
We actually do have both Oracle 7.32 and Oracle 8.1.6 but we are only using
Oracle 8.
./configure
--with-nsapi=/raidb4/iPlanet/server
--with-oracle
--with-oci8
--enable-sigchild
--enable-libgcc
--enable-magic-quotes
--enable-track-vars
--enable-trans-sid
--enable-calendar
--enable-ftp
Thanks,
-Mark
-----Original Message-----
From: Bug Database [mailto:php-dev@lists.php.net]
Sent: Friday, October 06, 2000 7:04 PM
To: mark.faine@msfc.nasa.gov
Subject: PHP 4.0 Bug #6998 Updated: C Compiler cannot create executables
ID: 6998
Updated by: sniper
Reported By: mark.faine@msfc.nasa.gov
Status: Feedback
Bug Type: *Install and Config
Assigned To:
Comments:
Does it work without --with-oci8 and --with-oracle?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-03 22:10:08] mark.faine@msfc.nasa.gov
This server has recently had some major upgrades, we went from Oracle 7.32
to Oracle 8.1.6 we also upgraded from NES 3.6 to iPlanet 4.0 but still I am
having problems installing php.
Ok, here are my configure options: Webserver is Iplanet 4.0
./configure
--with-nsapi=/raidb4/iPlanet/server
--with-oracle (tried with and without)
--with-oci8
--enable-sigchild
--enable-libgcc
--enable-magic-quotes
--enable-track-vars
--enable-trans-sid
--enable-calendar
--enable-ftp
and here is the error message I am getting right around the Zend section of
the configure:
checking for c++... c++
checking whether the C++ compiler (c++ -R/usr/ucblib -L/usr/ucblib
-R/usr/loca
l/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-sol
aris2.6/2.95.2 -R/raidb4/oracle8/product/8.1.6/lib
-L/raidb4/oracle8/product/8.1
.6/lib) works... no
configure: error: installation or configuration problem: C++ compiler cannot
create executables.
This is the error messages in the output of the debug.log file:
/usr/local/bin/gcc -o conftest -O6 -pthreads -D_POSIX_PTHREAD_SEMANTICS
-D_POSI
X_PTHREAD_SEMANTICS -D_REENTRANT -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/g
cc-lib/sparc-sun-solaris2.6/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6
/2.95.2 -R/raidb4/oracle8/product/8.1.6/lib
-L/raidb4/oracle8/product/8.1.6/lib
conftest.c -lclntsh -lsched -ldl -lgen -lsocket -lnsl -lclntsh -lsched -ldl
-lge
n -lsocket -lnsl -lresolv -lresolv -lm -ldl -lcrypt -lsocket -lsocket -lgcc
1>&
5
/usr/ccs/bin/ld: cannot open -lclntsh: No such file or directory
collect2: ld returned 1 exit status
Please help if you can,
Thanks
-Mark
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6998