Re: GD lib not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not top post.

On Monday 06 December 2004 00:22, Dade Register wrote:
> It's a new installation. I did restart Apache after re-compiling PHP.
> phpinfo() shows my config command I used is:
> ./configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
> '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/local/lib'
> '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib'
> '--with-png-dir=/usr/local/lib' '--with-libxml-dir=/usr/local/lib'
> '--with-iconv-dir=/usr/local/lib' '--with-gd-dir=/usr/local/lib'
> '--without-xpm' '--enable-gd-native-ttf' '--enable-exif' '--enable-ftp'

'--with-gd-dir=/usr/local/lib'

  should be

'--with-gd=/usr/local/lib'

An annoyance (or gotcha) with PHP's ./configure command is that it does not 
warn you if you use totally bogus options, eg:

  ./configure --with-super-thingamajit

will happily make and install with no errors or warnings.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
In my end is my beginning.
  -- Mary Stuart, Queen of Scots
*/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux