#22795 [Opn]: C compiler failed:cannot create executable
| From: | pnocq at yahoo dot com | Date: | Thu, 20 Mar 2003 00:36:03 +0000 |
| Subject: | #22795 [Opn]: C compiler failed:cannot create executable | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35999@lists.php.net to get a copy of this message | ||
ID: 22795
User updated by: pnocq at yahoo dot com
Reported By: pnocq at yahoo dot com
Status: Open
Bug Type: Compile Failure
Operating System: Solaris 7(sparc)
PHP Version: 4.3.0
New Comment:
I try also the last release from CVS and this is the same error and the
same config.log
Previous Comments:
------------------------------------------------------------------------
[2003-03-19 18:27:54] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22795&edit=1