Hello,

I wanted to install PHP on a FreeBSD 4.7 system.

In /usr/ports/lang/php4 I chose the following
options (those I need and the pre-checked ones)

[x] GD2
[x] zlib
[x] MySQL
[x] XML
[x] XSLT
[x] DOMXML

Unfortunately, I got an Error
  checking for readline in -lreadline... no
  configure: error: readline library not found
  ===>  Script "configure" failed unexpectedly.

Then, I installed readline-4.2.tar.gz from
http://cnswww.cns.cwru.edu/~chet/readline/rltop.html
with tar -zxvf readline-4.2.tar.gz, ./configure, 
make and make install. No Errors occured during that
installation.

Again, I tried the FreeBSD port with
  make clean
  make distclean
  make
The readline error is still there. 

It does not occur if I don't want to install GD2.
It uses gd-2.0.1_3, so I think I don't need the patch 
for GD version 2.0.8. (And GD 2.0.1 already works fine 
as an Apache module)

Google helped me to find a hint to use --without-readline
to get around the problem. But a make --without-readline
does not help much. Or where else should I use this option?

Some more information:
uname -v
  FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002     
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
I can send the config.log or a 'ls /var/db/pkg'-dump if 
needed.

Thanks for your help.

Thomas


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to