Snort mailing list archives

Re: config PHP for Snort in RH9


From: mel <mel () my-snort org>
Date: Fri, 20 Feb 2004 10:58:03 +0800

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
========================================================================


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: