From:             [EMAIL PROTECTED]
Operating system: Solaris8 and Solaris7
PHP version:      4.2.1
PHP Bug Type:     Compile Failure
Bug description:  can't open conftest.out

I've sucessfully gotten 4.2.1 to work on a couple of Linux boxes, and 4.2.0
to work on several Solaris boxes. But I can not get 4.2.1 to make or
compile on Solaris. I've tried with both gcc2.9.5.2 and gcc3.0.3. 

During the configure.... 

./configure --with-apache=../apache_1.3.24 --with-zlib-dir=/usr/local/lib
--with-bz2=/usr/local/bin --with-gd=/usr/local/lib 
--with-pgsql=/usr/local/pgsql --enable-track-vars --enable-ftp 

It makes it down to 

checking for fclose declaration... ok 
checking for alloc.h... grep: can't open conftest.out 
yes 
checking for arpa/init.h... grep: can't open conftest.out 
yes 

... more stuff.... 

checking for arpa/unix.h... grep: can't open conftest.out 
yes 

checking for arpa/utime.h... grep: can't open conftest.out 
yes 

It keeps doing this for about 20 lines, the warnings go away 
for the rest of the configure. 

Then when I try to do the make.... 

In file included from zend_compile.h:24, 
from zend_language_parser.c:147: 
zend.h55:19: unix.h No such file or directory 
make[1]: *** [zend_language_parser.lo] Error 1 
make[1]: Leaving directory '/usr/share/src/php-4.2.1/Zend' 
make: *** [all-recursive] Error 1 

If I go back to 4.2.0, everything works great. If I take the same 
tar'd source file and put it on Linux it works great. But I cannot 
get 4.2.1 to work on Solaris8. 

I did a search, and I do not have a unix.h file anywhere.
(But it's the same with 4.2.0 and it works anyway).
-- 
Edit bug report at http://bugs.php.net/?id=17362&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17362&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17362&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17362&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17362&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17362&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17362&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17362&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17362&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17362&r=globals

Reply via email to