[Oisf-users] 12.04 install troubles
Eric Leblond
eric at regit.org
Mon Jul 16 06:22:07 UTC 2012
Hello,
Le dimanche 15 juillet 2012 à 17:46 -0700, Chris Sheats a écrit :
> 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:
No, it is not needed. Your directory must be owned by root (or the git
command has been started as root). By the way building in /opt/oisf may
not be the better choice try from a user home subdirectory.
> /opt/oisf$ ./autogen.sh
> Found libtoolize
> libtoolize: putting auxiliary files in `.'.
> libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `./'
...
> 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:
Same reason as first point.
>
> 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
It was the way to go.
>
> ## 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
Basically, coccinelle is only needed if you want to check the code. It
is mainly attended for developers.
>
> ## 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?
Do you have a libhtp installed from package ? Try to run:
dpkg -l '*libhtp*'
to check this.
If this is the case, you better removed it. HTP version in suricata's
git should be more recent.
BR,
--
Eric Leblond
Blog: http://home.regit.org/ - Portfolio: http://regit.500px.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20120716/a88e44d4/attachment.sig>
More information about the Oisf-users
mailing list