hi i am trying to install and compile snort per the tutorial above. and when i went to compile snort i got errors.


and i think i did everything correctly and i compiled this application snort and received a error message i am at a loss of what to do now can you help out some of it compiled but thier was this error at the end

terminal code in tutorial:

cd /usr/src/snort-2.8.3
./configure -enable-dynamicplugin --with-mysql
make install


In function ‘open’,
inlined from ‘server_stats_save’ at server_stats.c:349:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[4]: *** [server_stats.o] Error 1
make[4]: Leaving directory `/usr/src/snort-'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/usr/src/snort-'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/src/snort-'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/snort-'
make: *** [install-recursive] Error 1

ive posted in upper big OP but with no luck thanks