Hello. Thanks for your answer. I had Problems reaching you the second time now, so I write to the list instead.
Mailer-Daemon message for <[EMAIL PROTECTED]>: Sorry, I wasn't able to establish an SMTP connection. (#4.4.1) I'm not going to try again; this message has been in the queue too long. As suggested, I tried the following: #make configure --with-gd=/usr/local/ and I chose NOT to install GD2 by checking the box because I have given the parameter on command-line. (If I would check the box, the readline error occurs) [ ] GD2 [x] zlib [x] MySQL [x] XML [x] XSLT [x] DOMXML #make --with-gd=/usr/local/ #make install --with-gd=/usr/local But unfortunately, there is no gd-Library then: #php <?php imagecreate(100,100); ?> X-Powered-By: PHP/4.2.3 Content-type: text/html <br /> <b>Fatal error</b>: Call to undefined function: imagecreate() in <b>-</b> on line <b>2</b><br /> # Do you have any other suggestion I could try? Thanks, Thomas -----Ursprüngliche Nachricht----- Betreff: Re: [PHP-INST] readline Error lang/php4 with GD2 Lib Why don't you just use the bundled GD2 library by using --with-gd as opposed to --with-gd=whatever ? On Sun, 29 Dec 2002, Thomas Weller wrote: > 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. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php