[PHP] compiling PHP error, please help (configure: error: libjpeg.(a|so) not found.)

2005-01-02 Thread Aaron Paulley
The error I'm getting when running ./configure is this:

configure: error: libjpeg.(a|so) not found.


I know libjpeg is installed, I just installed it. Here is my ./configure:

./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml
--enable-ftp --with-gd --enable-magic-quotes --with-jpeg-dir=/usr/lib
--with-mcrypt --with-png-dir=/usr --enable-sockets --enable-track-vars
--enable-versioning --with-zlib --enable-bcmath --enable-calendar
--with-xpm-dir=/usr/X11R6

Side question - if there's anything I'm missing in my ./configure that
I should have in it, please let me know. This is my first from-scratch
PHP install.

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



Re: [PHP] compiling PHP error, please help (configure: error: libjpeg.(a|so) not found.)

2005-01-02 Thread Rasmus Lerdorf
Aaron Paulley wrote:
The error I'm getting when running ./configure is this:
configure: error: libjpeg.(a|so) not found.
I know libjpeg is installed, I just installed it. Here is my ./configure:
./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml
--enable-ftp --with-gd --enable-magic-quotes --with-jpeg-dir=/usr/lib
--with-mcrypt --with-png-dir=/usr --enable-sockets --enable-track-vars
--enable-versioning --with-zlib --enable-bcmath --enable-calendar
--with-xpm-dir=/usr/X11R6
Why did you use /usr/lib for jpeg but /usr for png?  /usr is correct.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] compiling PHP error, please help (configure: error: libjpeg.(a|so) not found.)

2005-01-02 Thread Jason Wong
On Monday 03 January 2005 08:18, Aaron Paulley wrote:
 The error I'm getting when running ./configure is this:

 configure: error: libjpeg.(a|so) not found.


 I know libjpeg is installed, I just installed it. Here is my ./configure:

Assuming that you have installed it in a fairly standard location then ...

 --with-jpeg-dir=/usr/lib

... that should be

  --with-jpeg-dir=/usr

 Side question - if there's anything I'm missing in my ./configure that
 I should have in it, please let me know.

That would depend entirely on what extensions you require. If this is for a 
production machine then it would be useful to have:

 --enable-memory-limit

and enforce it in php.ini.

-- 
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 Seattle, Washington, it is illegal to carry a concealed weapon that
is over six feet in length.
*/

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