Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: problems with libdnet module

by tirwhan (Abbot)
on May 31, 2008 at 13:38 UTC ( #689429=note: print w/ replies, xml ) Need Help??

in reply to Re^2: problems with libdnet module
in thread problems with libdnet module

Look at the error you get, specifically Libdnet.xs:35:18: error: dnet.h: No such file or directory. Looking at the contents of libdumbnet-dev (via "dpkg -L libdumbnet-dev") one can see that it does indeed not include dnet.h, but it _does_ include dumbnet.h. Replacing dnet.h with dumbnet.h in Libdnet.xs, and -ldnet with -ldumbnet in Makefile.PL makes the module successfully compile and pass tests on my machine (Kubuntu Gutsy Gibbon). Incidentally, there is a bug report on which shows someone else had the same issue. If these changes fix the compile for you then you could add this to the bug report to help others who may have the same problem

All dogma is stupid.

Comment on Re^3: problems with libdnet module
Select or Download Code
Replies are listed 'Best First'.
Re^4: problems with libdnet module
by WalkingZero (Sexton) on May 31, 2008 at 17:15 UTC
    You, sir, are the kind of person that makes the Monastery a wonderful place. Not only did you assist me, but you also educated me a little bit, something I ALWAYS appreciate. Thank you very much

    Update: I sent off an email to rt-cpan about the issue/fix, and have of course given you full credit. Cheers mait ;)
Re^4: problems with libdnet module
by Anonymous Monk on Oct 03, 2012 at 08:37 UTC
    Installation under Ubuntu/Debian is documented here:

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689429]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2015-10-13 17:55 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (311 votes), past polls