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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Mon Oct 26 13:01:24 2020 UTC