firnsy / barnyard2

Barnyard2 is a dedicated spooler for Snort's unified2 binary output format.
GNU General Public License v2.0
343 stars 189 forks source link

Install Issue on Centos7 #168

Open bimandika opened 8 years ago

bimandika commented 8 years ago

Hi Guys,

I need some help, ive been try to install barnyard2 on centos &, previously i had install DAQ and snort using yum install, but when i try to install barnyard2 its always error.

Here is my prerequiste before install barnyard.

vim wget man make gcc flex bison zlib zlib-devel libpcap libpcap-devel pcre pcre-devel tcpdump gcc-c++ mysql-server mysql mysql-devel libtool perl-libwww-perl perl-Archive-Tar perl-Crypt-SSLeay git gcc libxml2 libxml2-devel libxslt libxslt-devel httpd curl-devel httpd-devel apr-devel apr-util-devel libXrender fontconfig libXext ruby-devel unzip xz mariadb mariadb-server

and also snort and daq

then i try to using this configuration before install barnyard

./configure --with-mysql -with-mysql-libraries=/usr/lib64/mysql

but when i use make , here is the error

make all-recursive make[1]: Entering directory /usr/local/src/barnyard2' Making all in src make[2]: Entering directory/usr/local/src/barnyard2/src' Making all in sfutil make[3]: Entering directory /usr/local/src/barnyard2/src/sfutil' make[3]: Nothing to be done forall'. make[3]: Leaving directory /usr/local/src/barnyard2/src/sfutil' Making all in output-plugins make[3]: Entering directory/usr/local/src/barnyard2/src/output-plugins' make[3]: Nothing to be done for all'. make[3]: Leaving directory/usr/local/src/barnyard2/src/output-plugins' Making all in input-plugins make[3]: Entering directory /usr/local/src/barnyard2/src/input-plugins' make[3]: Nothing to be done forall'. make[3]: Leaving directory /usr/local/src/barnyard2/src/input-plugins' make[3]: Entering directory/usr/local/src/barnyard2/src' make[3]: Nothing to be done for all-am'. make[3]: Leaving directory/usr/local/src/barnyard2/src' make[2]: Leaving directory /usr/local/src/barnyard2/src' Making all in etc make[2]: Entering directory/usr/local/src/barnyard2/etc' make[2]: Nothing to be done for all'. make[2]: Leaving directory/usr/local/src/barnyard2/etc' Making all in doc make[2]: Entering directory /usr/local/src/barnyard2/doc' make[2]: Nothing to be done forall'. make[2]: Leaving directory /usr/local/src/barnyard2/doc' Making all in rpm make[2]: Entering directory/usr/local/src/barnyard2/rpm' make[2]: Nothing to be done for all'. make[2]: Leaving directory/usr/local/src/barnyard2/rpm' Making all in schemas make[2]: Entering directory /usr/local/src/barnyard2/schemas' make[2]: Nothing to be done forall'. make[2]: Leaving directory /usr/local/src/barnyard2/schemas' Making all in m4 make[2]: Entering directory/usr/local/src/barnyard2/m4' make[2]: Nothing to be done for all'. make[2]: Leaving directory/usr/local/src/barnyard2/m4' make[2]: Entering directory /usr/local/src/barnyard2' make[2]: Leaving directory/usr/local/src/barnyard2' make[1]: Leaving directory `/usr/local/src/barnyard2'

please advice

Thanks in advance

superhobbit commented 8 years ago

I have the same problem,did you solve it?Is it possible to share it with me?Thanks!

nan008 commented 7 years ago

I had the same issue with barnyard I fixed it with ./configure --with-mysql -with-mysql-libraries=/usr/lib64/

Grimish-ng commented 7 years ago

Interesting - Having to Define the general /usr/lib64 folder. This may be caused by compiling barnyard2, having native x86_64 architecture and perhaps a previous i386 C code. Your original statement should have worked.

PF_RING vs AF_PACKET - Anyone with any statistics please post.

catalin87 commented 5 years ago

./configure working for me like this:

sudo ./configure --with-mysql -with-mysql-libraries=/usr/lib/x86_64-linux-gnu

but make dont do anything, just the message specified by @bimandika : ...Nothing to be done forall'. make[3]: Leaving directory`