ID:               26561
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mmokrejs at natur dot cuni dot cz
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Solaris 2.6
 PHP Version:      4CVS-2003-12-09 (stable)
 New Comment:

There's something really wrong with your solaris if glob.h is not
found:

  http://bama.ua.edu/cgi-bin/man-cgi?glob+3C




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

[2003-12-09 09:50:49] mmokrejs at natur dot cuni dot cz

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 this bug report at http://bugs.php.net/?id=26561&edit=1

Reply via email to