[Snort-users] config PHP for Snort in RH9

mel mel at ...9698...
Thu Feb 19 19:05:07 EST 2004


David Alonso De La Vega Tapage wrote:

> ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs 
> --with-config-file-path=/www/php --enable-sockets 
> --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local --with-gd
> 
> get this at final ..
> 
> if configure fails try --with-jpeg-dir=<DIR>
> configure: error: libpng.(a|so) not found
> 
> but this lib stay in /usr/lib/libpng....

If you have all packages installed, you can configure PHP this way:
(this was taken from my config file)

./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-gd=/usr/local \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/local/ \
--with-zlib-dir=/usr \
--with-freetype-dir=/usr

libjpeg usually sits in /usr/lib, libpng usually sits in /usr/local/lib

--mel
------------------------------------------------------------------------
Mobile : 012-6109072                            http://mel.ini2.net/blog
ICQ    : 75804188                                http://www.my-snort.org
Yahoo! : sforkq                                http://forum.my-snort.org
========================================================================




More information about the Snort-users mailing list