#22795 [Com]: C compiler failed:cannot create executable
ID: 22795
Comment by: michael dot mauch at gmx dot de
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:
"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.
Previous Comments:
------------------------------------------------------------------------
[2003-03-19 18:36:02] 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-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
Thread (4 messages)