From:             shahar dot e at zend dot com
Operating system: Mac OS X 10.5
PHP version:      5.3CVS-2009-06-19 (snap)
PHP Bug Type:     Compile Failure
Bug description:  Too-old version of libreadline is not detected during 
./configure

Description:
------------
The default libreadline version that comes with OS X is too old and seems
to be missing symbols like rl_mark, rl_pending_input, rl_history_list,
rl_on_new_line. This is not detected by ./configure

I am not sure what the minimum requirement is, but adding a check for
rl_pending_input in the config.m4 file fixed the problem for me (or more
correctly, I got proper detection by ./configure).

Reproduce code:
---------------
./configure --with-readline on a default Mac OS X setup (I think it's 4.2)

Expected result:
----------------
Configure to report a too old version of libreadline

Actual result:
--------------
Configure works, linking ext/readline fails due to missing symbols.

-- 
Edit bug report at http://bugs.php.net/?id=48608&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48608&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48608&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48608&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48608&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48608&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48608&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48608&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48608&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48608&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48608&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48608&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48608&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48608&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48608&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48608&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48608&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48608&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48608&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48608&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48608&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48608&r=mysqlcfg

Reply via email to