php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10773 C Compiler cannot create executables
Submitted: 2001-05-09 19:23 UTC Modified: 2001-05-09 19:53 UTC
From: keller_matthew at yahoo dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.5 OS: Sun Solaris 8
Private report: No CVE-ID: None
 [2001-05-09 19:23 UTC] keller_matthew at yahoo dot com
I am entering the following script for configure
./configure --with-nsapi=/opt/server/netscape/server --with-oci8 --enable-track-vars --enable-libgcc

and I receive the following error
checking for c++... c++
checking whether the C++ compiler (c++   -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95 -R/OraHome1/lib -L/OraHome1/lib) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

if I configure without
--with-nsapi=/opt/server/netscape/server 
I do not have any problems, I saw this problem listed in the bug reports but a solution was never posted. is there a fix or a work around.

Matt 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-09 19:53 UTC] sniper@php.net
Are you using GCC ? If not, get it.

As this problem is with your compiler, not in PHP.
And it's problem with your C++ compiler..

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC