ID:               35372
 Updated by:       [EMAIL PROTECTED]
 Reported By:      remi at FamilleCollet dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: HP-UX 11.11
 PHP Version:      5.1.0
 New Comment:

It works without broken third-party software -> not PHP problem.


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

[2005-11-25 17:43:36] remi at FamilleCollet dot com

Yes, you're right.

this glob.h is provide by "heimdal" (Free implementation of Kerberos 5)
and is need by others packages of "The Porting and Archiving Center for
HP-UX" as it provide "libroken".
http://hpux.connect.org.uk/hppd/hpux/Development/Tools/heimdal-0.7/

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

[2005-11-25 15:17:37] [EMAIL PROTECTED]

Is that glob.h really HPUX stock header file?
(usually such are under /usr/include, not /usr/local/include)


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

[2005-11-24 18:49:13] remi at FamilleCollet dot com

Description:
------------
when compiling php5.1.0 (snapshot 200511230730) function zif_glob is
unresolved.

On HP-UX file /usr/local/include/glob.h contains
#define glob_t rk_glob_t
#define glob rk_glob
#define globfree rk_globfree

So, in file ext/standard/dir.c (line 361)
PHP_FUNCTION(glob)
is expand to "zif_rk_glob" instead of "zif_glob".

A workaround is to use
PHP_NAMED_FUNCTION(zif_glob)

Cordialy



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


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

Reply via email to