|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39004 Configure Command './configure' 'dummy' 'grep' 'ggrep' !?
Submitted: 2006-09-30 14:50 UTC Modified: 2006-10-02 20:50 UTC
From: phpbugs at thequod dot de Assigned: iliaa (profile)
Status: Closed Package: *Compile Issues
PHP Version: 5CVS-2006-09-30 (CVS) OS: Ubuntu Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 - 4 = ?
Subscribe to this entry?

 [2006-09-30 14:50 UTC] phpbugs at thequod dot de
I've just configured PHP_5_2 through the following script 
(wrapper for configure) and now 
get "    './configure' 'dummy' 'grep' 'ggrep'" as 
the "Configure Command" in phpinfo().

Reproduce code:

./configure \
--enable-calendar \
--enable-exif \
--enable-force-cgi-redirect  \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-mbstring=all \
--enable-mbregex \
--enable-memcache \
--enable-memory-limit \
--enable-sockets \
--enable-track-vars \
--with-bz2 \
--with-dom \
--with-freetype-dir \
--with-gd \
--with-gettext \
--with-iconv \
--with-imap \
--with-imap-ssl \
--with-jpeg-6b \
--with-jpeg-dir \
--with-kerberos \
--with-ldap \
--with-ldap-sasl \
--with-mcrypt \
--with-mysql \
--with-openssl \
--with-png-dir \
--without-mm \
--with-sqlite \
--with-pcre-regex \
--with-ttf \
--with-zlib \
--with-zlib-dir=/bin \

make install
php -i | grep "Configure Command"

Expected result:
The configure line/options.

Actual result:
Configure Command =>  './configure' 'dummy' 'grep' 'ggrep'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-01 20:37 UTC]
What version of autoconf are you using?
 [2006-10-01 20:46 UTC] phpbugs at thequod dot de
2.60-1 (Debian/Ubuntu)
 [2006-10-01 21:51 UTC]
Try this patch and let me know if that fixes the problem
 [2006-10-01 22:44 UTC] phpbugs at thequod dot de
Better. But now all arguments are encapsulated in two 
single quotes, while they were given in one single quote 
before, e.g.:
Configure Command 
=>  ''--enable-calendar'' ''--enable-exif'' ...
 [2006-10-01 22:48 UTC] phpbugs at thequod dot de
Also the initial "./configure" command is missing in the 
output after applying the patch.
 [2006-10-02 15:35 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

 [2006-10-02 19:33 UTC] phpbugs at thequod dot de
Not quite. There are now single quotes again, but the 
leading "./configure" is missing.

If this is the desired behaviour (different to 5.1 at 
least), then ok.
 [2006-10-02 19:53 UTC]
Please try the next snapshot, I've applied one more fix.
 [2006-10-02 20:28 UTC] phpbugs at thequod dot de
I've noticed it in php.cvs, but this as before the patch.

config.nice looks ok:
#! /bin/sh
# Created by configure

'./configure' \
'--enable-calendar' \
'--enable-exif' \

But in phpinfo it does not:
Configure Command 
=>  '--enable-calendar' '--enable-exif' ...
(missing the "./configure" command itself)
 [2006-10-02 20:50 UTC]
Ok, that's now fixed too.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Apr 23 05:01:23 2021 UTC