php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67214 configure: PHP_READLINE used before setting value
Submitted: 2014-05-06 11:39 UTC Modified: 2014-05-06 23:38 UTC
From: dkasyanov at cloudlinux dot com Assigned: krakjoe (profile)
Status: Closed Package: phpdbg
PHP Version: 5.6.0beta2 OS: RHEL 6 / CloudLinux 6 / Centos 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: dkasyanov at cloudlinux dot com
New email:
PHP Version: OS:

 

 [2014-05-06 11:39 UTC] dkasyanov at cloudlinux dot com
Description:
------------
Due to this issue phpdbg always builds with readline.

# sed -n "13997,13999p;13999q" ./configure
  if test "$PHP_READLINE" != "no"; then
  	PHPDBG_EXTRA_LIBS="-lreadline"
  fi

But PHP_READLINE value is set only on 79349 line:

# sed -n "79348,79355p;79355q" ./configure
if test "${with_readline+set}" = set; then :
  withval=$with_readline; PHP_READLINE=$withval
else

  PHP_READLINE=no
  test "$PHP_ENABLE_ALL" && PHP_READLINE=$PHP_ENABLE_ALL

fi



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-06 23:38 UTC] tyrael@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2014-05-06 23:38 UTC] tyrael@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

should be fixed with http://git.php.net/?p=php-src.git;a=commitdiff;h=c8d8e851fa7b8993c935d0f978bfa7eac62f484d;hp=bcf85252e24e078bb0690fd0a99226449fe51c26
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC