[Snort-devel] Building Snort on AIX 6.1

Todd Wease twease at ...402...
Sat Oct 24 17:45:02 EDT 2009


Snort on AIX 6.1

Contents of aix-stuff.tar.bz2
================================================================================
$ tar tjf aix-stuff.tar.bz2 

aix-stuff/
aix-stuff/snort-files.tar.gz
aix-stuff/aix.sh

Download, build and install GNU make
================================================================================
$ wget http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.bz2
$ mkdir /tmp/gnu-make
$ bunzip2 make-3.81.tar.bz2
$ tar xf make-3.81.tar
$ cd make-3.81
$ ./configure --prefix=/tmp/gnu-make
$ make
$ make install
$ export PATH=/tmp/gnu-make/bin:$PATH

Download and unpack Snort, uncompress files, apply patch and build
================================================================================
$ wget http://dl.snort.org/snort-current/snort-2.8.5.1.tar.gz
$ gunzip snort-2.8.5.1.tar.gz
$ tar xf snort-2.8.5.1.tar
$ cp snort-files.tar.gz snort-2.8.5.1
$ cd snort-2.5.8.1
$ gunzip snort-files.tar.gz
$ tar xf snort-files.tar
$ patch -p0 < aix.diff
$ LDFLAGS="-Wl,-brtl" ./configure <your configure switches>
$ make
$ make install

Using aix.sh - will automatically do all of the above (results may vary)
================================================================================
$ ./aix.sh "./configure <your configure switches>"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: aix-stuff.tar.bz2
Type: application/x-bzip
Size: 353710 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20091024/7d4900f5/attachment.bin>


More information about the Snort-devel mailing list