ID:               17319
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 8
 PHP Version:      4.2.1
 New Comment:

see: http://bugs.php.net/bug.php?id=17362

I ran into this problem myself. I was using gcc version 3.0.3 on
solaris 8 (php4.2.1). I got it to compile by installing the following
packages (available from sunfreeware.com) ... milage may vary!

    m4-1.4-sol8-sparc-local.gz 
    automake-1.6-sol8-sparc-local.gz
    autoconf-2.53-sol8-sparc-local.gz
    binutils-2.11.2-sol8-sparc-local.gz

I rebuilt the configure file and ran it again (see bug id 17362).
Seemed to compile after that.


Previous Comments:
------------------------------------------------------------------------

[2002-05-20 16:17:45] [EMAIL PROTECTED]

Have you tried CC=/path/to/gcc ./configure ... ?

------------------------------------------------------------------------

[2002-05-20 16:13:12] [EMAIL PROTECTED]

Using GCC download from www.sunfreeware.com

# ./configure --with-mysql --with-apache=../apache_1.3.24/
# make 
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main    -D_POSIX_PTHREAD_SEMANTICS -I../TSRM  -g -O2
-prefer-non-pic -static -c -o zend_language_parser.lo `test -f
zend_language_parser.c || echo './'`zend_language_parser.c
In file included from zend_compile.h:24,
                 from zend_language_parser.c:147:
zend.h:55:19: unix.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `zend_language_parser.lo'
Current working directory /scratch/src/php-4.2.1/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'


I try some solutions that was report but don't work. Can some one help
me?

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17319&edit=1

Reply via email to