php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26561 glob.h is missing on my system
Submitted: 2003-12-09 09:50 UTC Modified: 2003-12-09 12:32 UTC
From: mmokrejs at natur dot cuni dot cz Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4CVS-2003-12-09 (stable) OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mmokrejs at natur dot cuni dot cz
New email:
PHP Version: OS:

 

 [2003-12-09 09:50 UTC] 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 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-09 12:32 UTC] sniper@php.net
There's something really wrong with your solaris if glob.h is not found:

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


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Apr 02 05:00:02 2026 UTC