[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-install
Subject:    [PHP-INSTALL] Configuring PHP 5.2.3 on Fedora Core 5, 64-bit for compilation
From:       "Rob Egan" <robert.g.egan () gmail ! com>
Date:       2007-09-20 22:52:59
Message-ID: 521a46d30709201552r742c0116s3d5fb2f44a95997c () mail ! gmail ! com
[Download RAW message or body]

How do you configure PHP 5.2.3 to look under /usr/lib64 for the libjpeg.soand
libpng.so files, and under /usr/include for gd.h and png.h? I have tried
setting the --prefix, --exec-prefix, --includedir, --libdir, and
--with-libdir flags to the right values, but it seems to always want to look
for them in /usr/local/lib regardless of what I set. Can someone explain how
to do this? I'd rather not make a bunch of unnecessary symbolic links to
that directory to make it all work. Thanks!

Here is the configure string I use (yes, I know the --prefix, --exec-prefix,
--libdir values, etc don;t work. that's why I am asking for help):

# ./configure --prefix=/usr/local --exec-prefix=/usr/lib64
--includedir=/usr/include --with-libdir=/usr/lib64 --sysconfdir=/etc/php
--with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
--with-gd=/usr/lib64 --with-jpeg-dir=/usr/lib64 --with-zlib=/usr
--enable-gd-native-ttf --with-png-dir --with-ttf-dir --with-freetype-dir
--with-xpm --enable-mbstring --with-pear
--with-mysqli=/usr/local/mysql/bin/mysql_config --with-mm
--enable-track-vars

[Attachment #3 (text/html)]

<br>How do you configure PHP 5.2.3 to look under /usr/lib64 for the libjpeg.so and \
libpng.so files, and under /usr/include for gd.h and png.h? I have tried setting the \
--prefix, --exec-prefix, --includedir, --libdir, and --with-libdir flags to the right \
values, but it seems to always want to look for them in /usr/local/lib regardless of \
what I set. Can someone explain how to do this? I&#39;d rather not make a bunch of \
unnecessary symbolic links to that directory to make it all work. Thanks! \
<br><br>Here is the configure string I use (yes, I know the --prefix, --exec-prefix, \
--libdir values, etc don;t work. that&#39;s why I am asking for help):<br><br># \
./configure --prefix=/usr/local --exec-prefix=/usr/lib64 --includedir=/usr/include \
--with-libdir=/usr/lib64 --sysconfdir=/etc/php --with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr/lib64 \
--with-jpeg-dir=/usr/lib64 --with-zlib=/usr --enable-gd-native-ttf --with-png-dir \
--with-ttf-dir --with-freetype-dir --with-xpm --enable-mbstring --with-pear \
--with-mysqli=/usr/local/mysql/bin/mysql_config --with-mm --enable-track-vars <br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic