Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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 rt.cpan.org 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
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: http://cpansearch.perl.org/src/GOMOR/Net-Libdnet-0.96/README

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-09-21 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (166 votes), past polls