[PHP] Hello, q about ./configure (php) on linux

2001-12-19 Thread Joelmon2001

Hello, I have a question, I just want to confirm something

When I use the -- with 
in 
./configure such as:
--with-png-dir=/usr/local
for LIBPNG

My libpng is actually located (The top level directory) at:
/home/sites/home/users/admin/libpng-1.2.1
however, libpng.so is at 
/usr/local/lib

which path do I use in the --with 

It might sound like silly q, but I want to make sure I do this right, I am 
just confused if I point to the top level or the .so. Why would I ask this? 
All examples show pointing to usr/local/lib for my type of linux, but I found 
the top level elsewhere and that concerned me. now I am confused if 
libjpeg/png/gd all have /usr/local/lib or the path to the top level 
directory...

Thanks for your time

Joel



Re: [PHP] Hello, q about ./configure (php) on linux

2001-12-19 Thread Rasmus Lerdorf

If you library is in /usr/local/lib, then chances are the corresponding   
header files are in /usr/local/include, the common directory is /usr/local
and thus you must use --with-png-dir=/usr/local

-Rasmus

On Thu, 20 Dec 2001 [EMAIL PROTECTED] wrote:

 Hello, I have a question, I just want to confirm something
 
 When I use the -- with 
 in 
 ./configure such as:
 --with-png-dir=/usr/local
 for LIBPNG
 
 My libpng is actually located (The top level directory) at:
 /home/sites/home/users/admin/libpng-1.2.1
 however, libpng.so is at 
 /usr/local/lib
 
 which path do I use in the --with 
 
 It might sound like silly q, but I want to make sure I do this right, I am 
 just confused if I point to the top level or the .so. Why would I ask this? 
 All examples show pointing to usr/local/lib for my type of linux, but I found 
 the top level elsewhere and that concerned me. now I am confused if 
 libjpeg/png/gd all have /usr/local/lib or the path to the top level 
 directory...
 
 Thanks for your time
 
 Joel
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]