From:             mmokrejs at natur dot cuni dot cz
Operating system: Solaris 2.6
PHP version:      4CVS-2003-12-09 (stable)
PHP Bug Type:     Compile Failure
Bug description:  glob.h is missing on my system

Description:
------------
Ihave downloaded php4-latest.tar.gz and also tried php-4.3.4 on this host.
I get:

/bin/sh /scratch/php4-200312091230/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/standard/
-I/scratch/php4-200312091230/ext/standard/ -DPHP_ATOM_INC
-I/scratch/php4-200312091230/include -I/scratch/php4-200312091230/main
-I/scratch/php4-200312091230 -I/usr/local/apache2/include
-I/scratch/php4-200312091230/Zend -I/usr/local/openssl-0.9.6l/include
-I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/mysql/include/mysql
-I/scratch/php4-200312091230/ext/xml/expat  -I/software/@sys/usr/include
-I/software/@sys/usr/include/ncurses -I/software/@sys/usr/openssl/include
-I/software/@sys/usr/include/freetype2 -D_POSIX_PTHREAD_SEMANTICS
-I/scratch/php4-200312091230/TSRM  -O3 -mcpu=v8 -Wa,-xarch=v8plusa
-felide-constructors -fno-exceptions -fno-rtti  -prefer-pic -c
/scratch/php4-200312091230/ext/standard/dir.c -o ext/standard/dir.lo 
/scratch/php4-200312091230/ext/standard/dir.c:44: glob.h: No such file or
directory
make: *** [ext/standard/dir.lo] Error 1


The problem is that config.status says I have glob.h on my system, but
that's not true.

Reproduce code:
---------------
Check on any solaris box if glob.h is present and what configure says.

This is the problematic piece of code from dir.c:

#ifdef HAVE_GLOB
#ifndef PHP_WIN32
#include <glob.h>
#else
#include "win32/glob.h"
#endif
#endif 



-- 
Edit bug report at http://bugs.php.net/?id=26561&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26561&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26561&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26561&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26561&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26561&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26561&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26561&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26561&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26561&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26561&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26561&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26561&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26561&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26561&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26561&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26561&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26561&r=float

Reply via email to