[Oisf-users] 12.04 install troubles

Chris Sheats chris at sagawa.io
Sun Jul 15 20:46:46 EDT 2012


Hi,

Following these instructions, I ran into some issues:
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Installation_from_GIT_with_PF_RING_on_Ubuntu_server_1204

## Distro: Ubuntu 12.04 LTS (GNU/Linux 3.2.0-26-generic x86_64)
## Pre-installation, compile and install was fine. Then for Suricata...
## ./autogen.sh needed sudo:

/opt/oisf$ ./autogen.sh
Found libtoolize
libtoolize: putting auxiliary files in `.'.
libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `./'
libtoolize: putting macros in `m4'.
libtoolize: can not copy `/usr/share/aclocal/libtool.m4' to `m4/'
libtoolize: can not copy `/usr/share/aclocal/ltoptions.m4' to `m4/'
libtoolize: can not copy `/usr/share/aclocal/ltsugar.m4' to `m4/'
libtoolize: can not copy `/usr/share/aclocal/ltversion.m4' to `m4/'
libtoolize: can not copy `/usr/share/aclocal/lt~obsolete.m4' to `m4/'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I m4
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
You can now run "./configure" and then "make".

## With sudo it ran fine.
## Configure needed sudo:

/opt/oisf$ ./configure --enable-pfring
--with-libpfring-includes=/usr/local/pfring/include
--with-libpfring-libraries=/usr/local/pfring/lib
--with-libpcap-includes=/usr/local/pfring/include
--with-libpcap-libraries=/usr/local/pfring/lib
./configure: line 2063: config.log: Permission denied
./configure: line 2073: config.log: Permission denied

## With sudo I was making progress, until:

checking for pkg-config... no

   ERROR! pkg-config not found, go get it
   http://pkg-config.freedesktop.org/wiki/
   or install from your distribution

## So I installed that:

/opt/oisf$ sudo apt-get install pkg-config

## and tried again.

checking for spatch... no

   Warning! spatch not found, you will not be
   able to run code checking with coccinelle
   get it from http://coccinelle.lip6.fr
   or install from your distribution

## So I installed that:

/opt/oisf$ sudo apt-get install coccinelle

## But now when running sudo ./configure...

./configure: line 15920: syntax error near unexpected token `LIBHTPMINVERSION,'
./configure: line 15920: `        PKG_CHECK_MODULES(LIBHTPMINVERSION,
htp >= 0.2.3,libhtp_minver_found="yes",libhtp_minver_found="no")'

## What am I doing wrong?

Cheers :)

-- 
Chris Sheats


More information about the Oisf-users mailing list