|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48873 Using both --with-libedit and --with-readline cause unknown option warning
Submitted: 2009-07-09 15:58 UTC Modified: 2010-12-20 12:45 UTC
From: simon at stienen dot name Assigned: jani (profile)
Status: Closed Package: Compile Warning
PHP Version: 5.*, 6CVS (2009-07-09) OS: *
Private report: No CVE-ID: None
 [2009-07-09 15:58 UTC] simon at stienen dot name
./configure lists:

-- snip --
  --with-libedit[=DIR]    Include libedit readline replacement (CLI/CGI only)
  --with-readline[=DIR]   Include readline support (CLI/CGI only)
  --with-recode[=DIR]     Include recode support
-- snip --

Reproduce code:
./configure --prefix=/usr/local --exec-prefix=/usr/local --localstatedir=/var --with-apxs2filter --with-pcre-regex --with-zlib --enable-bcmath --with-bz2 --with-curl --with-curlwrappers --enable-exif --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --with-freetype-dir --with-t1lib --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext --with-gmp --with-mhash --with-imap --with-kerberos --with-imap-ssl --enable-intl --with-ldap --enable-mbstring --with-onig --with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pcntl --with-pdo-mysql=mysqlnd --with-zlib-dir --with-readline --with-libedit --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-tidy --enable-wddx --with-xmlrpc --with-xsl --enable-zip --enable-mysqlnd-threading

Expected result:
Expecting no error message.

Actual result:
Notice: Following unknown configure options were used:


Check './configure --help' for available options


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-09 19:50 UTC]
It's because you used both --with-libedit and --with-readline. You 
should use either or. I'll try see if there's some easy way to fix it.
 [2009-08-03 11:21 UTC]
Automatic comment from SVN on behalf of jani
Log: - Fixed bBug #48873 (Using both --with-libedit and --with-readline cause unknown option warning)

# This isn't worth of NEWS entry, it's just cosmetic
 [2009-08-03 11:21 UTC]
This bug has been fixed in SVN.

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.

 [2010-12-20 12:45 UTC]
-Package: Tidy +Package: Compile Warning
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 15:01:30 2024 UTC