From:             pnocq at yahoo dot com
Operating system: Solaris 7(sparc)
PHP version:      4.3.0
PHP Bug Type:     Compile Failure
Bug description:  C compiler failed:cannot create executable

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 bug report at http://bugs.php.net/?id=22795&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22795&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22795&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22795&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22795&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22795&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22795&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22795&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22795&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22795&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22795&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22795&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22795&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22795&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22795&r=gnused

Reply via email to