Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readline history library problem on installing PHP 4.4.9 #13

Closed
dataich opened this issue Jun 12, 2012 · 1 comment
Closed

readline history library problem on installing PHP 4.4.9 #13

dataich opened this issue Jun 12, 2012 · 1 comment

Comments

@dataich
Copy link

dataich commented Jun 12, 2012

First I have to say thank you for development for phpbrew (and Onion!!).

I tried to install PHP 4.4.9 with phpbrew, then encounted the following problem.

$ phpbrew -d install php-4.4.9
===> Downloading http://www.php.net/distributions/php-4.4.9.tar.bz2
######################################################################## 100.0%
===> Extracting...
Build Dir: /Users/dataich/.phpbrew/build/php-4.4.9
Variants: pdo, bz2, cli, fpm, posix, calendar, sockets, readline
===> Configuring php-4.4.9...


Use tail command to see what's going on:
   $ tail -f /Users/dataich/.phpbrew/php/php-4.4.9/build.log


./configure '--prefix=/Users/dataich/.phpbrew/php/php-4.4.9' '--with-config-file-path=/Users/dataich/.phpbrew/php/php-4.4.9/etc' '--with-config-file-scan-dir=/Users/dataich/.phpbrew/php/php-4.4.9/var/db' '--with-pear=/Users/dataich/.phpbrew/php/php-4.4.9/lib/php' '--disable-all' '--enable-bcmath' '--enable-ctype' '--enable-dom' '--enable-exif' '--enable-fileinfo' '--enable-filter' '--enable-hash' '--enable-json' '--enable-libxml' '--enable-mbregex' '--enable-mbstring' '--enable-phar' '--enable-session' '--enable-short-tags' '--enable-simplexml' '--enable-sockets' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--enable-zip' '--with-xsl' '--with-tidy' '--with-xmlrpc' '--with-mhash' '--with-pcre-regex' '--with-zlib=/usr' '--with-curl=/usr' '--enable-pdo' '--with-bz2=/usr' '--enable-cli' '--enable-fpm' '--enable-posix' '--enable-calendar' '--enable-sockets' '--with-readline=/usr' '--with-libedit=/usr' > /Users/dataich/.phpbrew/php/php-4.4.9/build.log
configure: warning: You will need bison 1.28
configure: warning: Could not determine the type of SSL library used!
configure: warning: Building will fail in ZTS mode!
configure: error: history library required by readline not found

I suppose to that this problem caused by Mac OS X doen't have GNU readline library ( It is symlinks to editline)

$ ls -l /usr/include/readline/
total 16
lrwxr-xr-x  1 501  wheel  22  5  8 23:12 history.h -> ../editline/readline.h
lrwxr-xr-x  1 501  wheel  22  5  8 23:12 readline.h -> ../editline/readline.h

So I would like to give my own path to +readline option like

$ phpbrew -d install php-4.4.9 +readline=/usr/local/Celler/readline/6.2.2/readline
@dataich
Copy link
Author

dataich commented Jun 13, 2012

Sorry I solved the problem by other way.
I installed readline by homebrew and make symlinks by

brew link readline

@c9s c9s closed this as completed Aug 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants