php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22795 C compiler failed:cannot create executable
Submitted: 2003-03-19 18:27 UTC Modified: 2003-03-20 18:27 UTC
From: pnocq at yahoo dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0 OS: Solaris 7(sparc)
Private report: No CVE-ID: None
 [2003-03-19 18:27 UTC] pnocq at yahoo dot com
trying to install PHP4.3.0 get the error below

# ./configure --with-mysql=/usr/slocal/mysql --with-nsapi=/web/netscape/suitespot/ --enable-track-vars --enable-libgcc
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for working sed... sed
checking host system type... sparc-sun-solaris2.7
Updated php_version.h
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

When I do :
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2.2/specs
Configured with: ../configure --disable-nls --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
Thread model: posix
gcc version 3.2.2
 So I think that gcc could work...I looked at config.log and see : configure:1944: gcc -o conftest    conftest.c  1>&5
ld: fatal: file values-Xa.o: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to conftest
I don't find conftest.c or values-Xa.o
I dont understand..if someone could help me



Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-19 18:36 UTC] pnocq at yahoo dot com
I try also the last release from CVS and this is the same error and the same config.log
 [2003-03-20 03:21 UTC] michael dot mauch at gmx dot de
"values-Xa.o" should come with your Solaris, see e.g.
<http://www.netsys.com/sunmgr/1996-07/msg00034.html> and
<http://www.science.uva.nl/pub/solaris/solaris2/Q6.2.html>.

Also see <http://www.php.net/manual/en/install.solaris.php> for further install prerequisites.
 [2003-03-20 18:27 UTC] sniper@php.net
This is not PHP bug..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 20:01:29 2024 UTC