[KLUG Members] Compiling PHP With Gd -> I just can't get it.

Adam Bultman members@kalamazoolinux.org
Mon, 8 Jul 2002 09:41:17 -0400 (EDT)


Okay, I've been doing this for some time, and I simply cannot get it
right.

Here's my php configure :

./configure --enable-bcmath --with-apache=../apache_1.3.26
--enable-magic-quotes  --with-mcrypt  --with-pgsql --enable-track-vars
--with-imap --with-zlib --with-pdflib=/usr/local
--with-ttf=/usr/local/include/freetype2 --with-xml --with-swf=/usr/src/swf
--with-gd=/usr/src/gd-1.8.4 --with-jpeg-dir=/usr
./configure --with-apache=../apache_1.3.26 --with-ssl=../openssl-0.9.6d
--enable-shared=ssl

Number 1 item is:  I need to make gifs. Or rather, a programmer needs to
make gifs.  It is required I make gifs. If I don't make gifs, I am
screwed. So perhaps this version of GD is bad.  Then I should find another
version. However, I still can't imagecreate().  Calls to it die a horrible
horrible death. However, the previous version magically compiled in is gd
1.3. However, I can't get that to even compile into PHP. Correction: GD,
php compile correctly, but apache compilation dies.

What gives?  If I compile in 1,8.4 or whatever, I can't run the simple
clock php deal they give you.  I can't get 1.3 to even compile. It appears
I'm screwed. What am I doing wrong? I'm following things correctly, as far
as I know, but things STILL don't work.




-- 
Adam Bultman
adam@glaven.org
[ http://www.glaven.org ]