Snort/Barnyard2 Wont compile on Raspberry Pi with Ubuntu

0

I've been following this Guide to install snort and barnyard. When I try to configure barnyard I get this error.

/usr/local/include/dnet.h:22:23: fatal error: dnet/sctp.h: No such file or directory
 #include <dnet/sctp.h>

compilation terminated.

When reviewing the document I have all the dependencies. What am I missing?

Pumphouse

Posted 2016-01-06T07:12:29.000

Reputation: 101

Answers

1

I got around this by copying the dnet folder from libdnet-master/include source I previously compiled to the root of the barnyard2 folder and make completed successfully.

All the dependencies I had to download for barnyard were extracted to the barnyard source folder.

~/snort_src/barnyard2/libdnet-master/include# cp -R dnet ../../
~/snort_src/barnyard2/libdnet-master/include# cd ../../
~/snort_src/barnyard2# make

triki

Posted 2016-01-06T07:12:29.000

Reputation: 11

Wow. I spent a ton of time trying to figure this out. I really appreciate it. – Pumphouse – 2016-01-10T05:59:44.853