Bug #17862 Updated: make fails because unix.h was not found

From: Date: Thu, 20 Jun 2002 05:48:26 +0000
Subject: Bug #17862 Updated: make fails because unix.h was not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11505@lists.php.net to get a copy of this message
 ID:               17862
 Updated by:       unger@soziologie.uni-halle.de
 Reported By:      unger@soziologie.uni-halle.de
 Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Solaris 2.6
 PHP Version:      4.2.1
 New Comment:

Setting CC=gcc does not help, the failure occurs furthermore. There is
only a warning while configuring:

checking whether the linker (/usr/ccs/bin/ld) supports shared
libraries... 
*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
*** create self contained shared libraries on Solaris systems, without
*** introducing a dependency on libgcc.a.  Therefore, libtool is
disabling
*** -no-undefined support, which will at least allow you to build
shared
*** libraries.  However, you may find that when you link such
libraries
*** into an application without using GCC, you have to manually add
*** gcc --print-libgcc-file-name to the link command.  We urge you
to
*** upgrade to a newer version of GCC.  Another option is to rebuild
your
*** current GCC to use the GNU linker from GNU binutils 2.9.1 or
newer.

I used gcc 2.9.1 and binutils-2.11.2 packages


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

[2002-06-20 01:20:26] sniper@php.net

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.



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

[2002-06-20 01:01:53] unger@soziologie.uni-halle.de

It seems to be a duplicate of at least Bug #17532

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

[2002-06-20 00:55:03] unger@soziologie.uni-halle.de

Used software: autoconf-2.53, automake-1.6, flex-2.5.4a,gcc-2.95.3,
make-3.79.1.

make fails with the following error message:

# make
Making all in Zend
make[1]: Entering directory `/disk/progs/apache.src/php-4.2.1/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: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/disk/progs/apache.src/php-4.2.1/Zend'
make: *** [all-recursive] Error 1


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


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



Thread (4 messages)

« previous php.bugs (#11505) next »