You are not logged in.

#1 2017-04-27 12:47:24

alogim
Member
Registered: 2015-08-25
Posts: 43

[Snort][libdnet] Snort can not find neither dnet.h nor dumbnet.h

I have installed libdnet through this repository, and I noticed it installs, among others, the following files:

/bin/sh ../config/mkinstalldirs /usr/local/include
 /usr/bin/install -c -m 644 dnet.h /usr/local/include/dnet.h
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

However, when I try to install Snort (both by compiling it from sources and from the AUR), I receive the following message:

checking dnet.h usability... no
checking dnet.h presence... no
checking for dnet.h... no
checking dumbnet.h usability... no
checking dumbnet.h presence... no
checking for dumbnet.h... no

   ERROR!  dnet header not found, go get it from
   http://code.google.com/p/libdnet/ or use the --with-dnet-*
   options, if you have it installed in an unusual place

I also tried to install libdnet through pacman, but still I get the same error.
I tried to manually pass the directory like the following

 ./configure --with-dnet-includes=/usr/local/include

but to no avail.
Any idea?

Last edited by alogim (2017-04-27 12:49:47)

Offline

#2 2017-04-27 12:54:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [Snort][libdnet] Snort can not find neither dnet.h nor dumbnet.h

Mod note: Moving to AUR issues.

EDIT: for clarity, although you haven't installed via the AUR, this is still unsupported software.
Ideally you should write a PKGBUILD for it, or change this topic into a request for someone to do that for you.

EDIT EDIT: There is already a PKGBUILD: https://aur.archlinux.org/packages/snort/

Is there any reason why you installed libdnet via unsupported repository rather than using the package in [community]?

Last edited by WorMzy (2017-04-27 13:00:24)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-04-27 13:04:03

alogim
Member
Registered: 2015-08-25
Posts: 43

Re: [Snort][libdnet] Snort can not find neither dnet.h nor dumbnet.h

It looks like uninstalling both the manually installed libdnet and the one installed via the community and then installing libdnet again via pacman solved the issue. It is a bit strange, though.

Offline

Board footer

Powered by FluxBB