From:
Operating system: HP-UX 11i
PHP version: 5.3.2
Package: *Compile Issues
Bug Type: Bug
Bug description:Config: l_pending_input from readline not a function!
Description:
------------
Trying to compile PHP 5.3.2 on HP-UX 11i (B11.11) for command-line usage
with :
./configure --prefix=$HOME/bin/php-5.3.2 -with-zlib=$HOME/bin/zlib-1.2.3
--enable-zip --with-pcre-regex --enable-exif --with-gd --enable-mbstring
--with-readline=$HOME/bin/readline-6.1 --with-snmp --enable-soap
--with-pear --with-zend-vm --enable-zend-multibyte
--with-libxml-dir=$HOME/bin/libxml2-2.7.6
--with-png-dir=$HOME/bin/libpng-1.4.1
I get :
checking for readline in -lreadline... yes
checking for rl_pending_input in -lreadline... no
configure: error: invalid readline installation detected. Try
--with-libedit instead.
Looking at config.log, configure script is trying to compile this against
libreadline :
#line 78181 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char rl_pending_input();
int main() {
rl_pending_input()
; return 0; }
I checked in readline.c from versions 6.1 and 5.1, l_pending_input is
declared as an int, not as a function.
--
Edit bug report at http://bugs.php.net/bug.php?id=51360&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=51360&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=51360&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=51360&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=51360&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=51360&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=51360&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=51360&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=51360&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=51360&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=51360&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=51360&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=51360&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=51360&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=51360&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51360&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51360&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=51360&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=51360&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=51360&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=51360&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=51360&r=mysqlcfg