note 43428 deleted from ref.image by tularis

From: Date: Sun, 29 Jun 2008 21:11:33 +0000
Subject: note 43428 deleted from ref.image by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140973@lists.php.net to get a copy of this message
Note Submitter: Bren ---- Sometimes getting GD to work may require that you look at the makefile after running ./configure. If you are attempting to configure php with --with-jpeg-dir=!location! or with-png-dir=!location! I've found that the configure script (under some unix builds) doesn't output the correct makefile as it doesn't place the actual location in and thus you get "libjpeg.h - no such file or directory" you can check that though by opening the makefile in your fav. editor and ensure lines like: GDLIB_CFLAGS = -I/<phpsourcedir>/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG read as GDLIB_CFLAGS = -I/<phpsourcedir>/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -I/<jpegsourcedir>/jpeg-6b where <jpegsourcedir> and <phpsourcedir> are your equivilent directories. running make will then find the libraries it needs and you should be running.

« previous php.notes (#140973) next »