note 43428 added to ref.image

From: Date: Mon, 21 Jun 2004 13:00:03 +0000
Subject: note 43428 added to ref.image
Groups: php.notes 
Request: Send a blank email to php-notes+get-71432@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/ref.image.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43428 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43428&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43428&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#71432) next »