php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21233 cgi/cli binary compile failure
Submitted: 2002-12-27 22:48 UTC Modified: 2002-12-28 01:19 UTC
From: darkobject at yahoo dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0 OS: linux debian testing/unstable
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: darkobject at yahoo dot com
New email:
PHP Version: OS:

 

 [2002-12-27 22:48 UTC] darkobject at yahoo dot com
I'm trying to compile php 4.3.0 as a cgi binary for use as a cli on x86 with Debian testing/unstable kernel 2.4.18 vanilla(I compiled it myself). it configures just fine, but fails on compile with the following error:

In file included from /mnt/storage/php-4.3.0/ext/standard/file.c:115:
/usr/local/include/fnmatch.h:38: ap_config.h: No such file or directory
make: *** [ext/standard/file.lo] Error 1

I find this same problem with 4.3.0RC3 and RC4, but with 4.2.3 it compiles just fine. here is my ./configure line:

./configure  --with-config-file-path=/etc/php --without-pear --with-openssl --with-zlib --enable-bc --enable-calender --with-jpeg-dir --with-tiff-dir --enable-ftp --with-mysql --with-ncurses --with-regex=system --enable-tokenizer --prefix=/usr/local/php-cli

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-28 01:19 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

It appears that on your system, the LIBC's fnmatch.h got over written by Apache 1x's fnmatch.h, which requires ap_config.h header.
This is NOT a PHP bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 13:01:27 2024 UTC