ID: 14311
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Readline related
Operating System: FreeBSD 4.4-STABLE
PHP Version: 4.0.6
New Comment:

Seems to be fixed in CVS.

Previous Comments:
------------------------------------------------------------------------

[2001-12-01 17:06:05] [EMAIL PROTECTED]

PHP 4.0.6 compiled as CGI
./configure '--with-config-file-path=/usr/local/etc/php.standalone' '--disable-pear' 
'--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-track-vars' 
'--without-gd' '--without-mysql' '--with-gd=/usr/local' 
'--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' 
'--with-png-dir=/usr/local' '--with-zlib' '--with-mcrypt=/usr/local' 
'--with-mhash=/usr/local' '--with-imap=/usr/local' '--with-mysql=/usr/local' 
'--with-sybase=/usr/local' '--with-ldap=/usr/local' '--with-xml' 
'--with-expat-dir=/usr/local' '--with-sablot=/usr/local' '--with-expat-dir=/usr/local' 
'--enable-ftp' '--with-curl=/usr/local' '--with-gettext=/usr/local' 
'--with-iconv=/usr/local' '--with-pspell=/usr/local' '--with-ming=/usr/local' 
'--enable-sockets' '--enable-trans-sid' '--with-readline=/usr' '--prefix=/usr/local' 
'i386--freebsd4.4'

executing: readline_list_history() produces warnin_not_available error

in file php-4.0.6/ext/readline/readline.c we read:

#ifdef HAVE_READLINE
PHP_FE(readline_list_history,NULL)#else                                                
       PHP_FALIAS(readline_list_history, warn_not_available, NULL)
#endif                                                                                 
                                 probably it should read:

#ifdef HAVE_LIBREADLINE
PHP_FE(readline_list_history,NULL)#else                                                
       PHP_FALIAS(readline_list_history, warn_not_available, NULL)
#endif                                                                 

at least it worked for me.

I think the other HAVE_READLINE should be changed to HAVE_LIBREADLINE.



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14311&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to