Edit report at http://bugs.php.net/bug.php?id=51360&edit=1
ID: 51360 Updated by: johan...@php.net Reported by: psamman14 at gmail dot com Summary: Config: l_pending_input from readline not a function! -Status: Open +Status: Feedback Type: Bug -Package: *Compile Issues +Package: Readline related Operating System: HP-UX 11i PHP Version: 5.3.2 New Comment: Can you show the compiler error from the config test? What compiler are you using? Previous Comments: ------------------------------------------------------------------------ [2010-03-23 11:52:14] psamman14 at gmail dot com 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 this bug report at http://bugs.php.net/bug.php?id=51360&edit=1