Thread: [Netdude-help] Installation on Ubuntu - compilation error - "libnd.h: No such file or directory"
Status: Alpha
Brought to you by:
cpk
From: Glenn W. <gle...@gm...> - 2009-07-14 15:50:07
|
Dear net dudes, I'm doing some statistical analysis of pcap files, and have come across netdude- it looks to be just what I need. I initially installed netdude via the package manager on my Ubuntu system. After playing with it for a while I realised I needed the libnetdude-plugin-essentials bits and pieces, and noticed at the same time that the Ubuntu repo version was out of date compared to the official website version. So I uninstalled the package and downloaded the files from the Sourceforge site. I did the following: i) Installed necessary Ubuntu libraries: $sudo apt-get install build-essential $sudo apt-get install libgtk1.2-dev $sudo apt-get install libpcap-dev ii) Unpacked, configured, make, make install the following (in this order): libpcapnav, libnetdude, netdude. On running the "make" for netdude I get the following error: [...] ./nd.h:32:19: error: libnd.h: No such file or directory make[2]: *** [nd_debug.o] Error 1 make[2]: Leaving directory `/home/narcos/Documents/DataExtrProject/Netdude/netdude-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/narcos/Documents/DataExtrProject/Netdude/netdude-0.5.0' make: *** [all] Error 2 [...] >From what I can find online this error is caused by not having libnetdude installed, but I installed that before trying to do netdude. Detailed output from the commands "./configure", "make" and "make install" can be found from the pastebin links below: a) libpcapnav-0.8 ./configure - http://pastebin.com/m21d408e6 make - http://pastebin.com/m1a56831f make install - http://pastebin.com/m1172b05f b) libnetdude-0.11 ./configure - http://pastebin.com/m65fcb648 make - http://pastebin.com/m3ba87ef2 make install - http://pastebin.com/m2ccdc67f c) netdude-0.5 ./configure - http://pastebin.com/m5977ab09 make - http://pastebin.com/m3cd5befd <-- Error happens here For some extra info about my system: $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.2" $ uname -a Linux redtape 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux Any assistance would be greatly appreciated. Thanks, Glenn |
Re: [Netdude-help] Installation on Ubuntu - compilation error -
"libnd.h: No such file or directory"
From: James <jam...@ya...> - 2009-07-14 17:21:18
|
http://geek00l.blogspot.com/2009/02/ubuntu-netdude-installation-revisit.html That tut worked for my ubuntu 9.04 install. ________________________________ From: Glenn Wilkinson <gle...@gm...> To: net...@li... Sent: Tuesday, July 14, 2009 10:49:58 AM Subject: [Netdude-help] Installation on Ubuntu - compilation error - "libnd.h: No such file or directory" Dear net dudes, I'm doing some statistical analysis of pcap files, and have come across netdude- it looks to be just what I need. I initially installed netdude via the package manager on my Ubuntu system. After playing with it for a while I realised I needed the libnetdude-plugin-essentials bits and pieces, and noticed at the same time that the Ubuntu repo version was out of date compared to the official website version. So I uninstalled the package and downloaded the files from the Sourceforge site. I did the following: i) Installed necessary Ubuntu libraries: $sudo apt-get install build-essential $sudo apt-get install libgtk1.2-dev $sudo apt-get install libpcap-dev ii) Unpacked, configured, make, make install the following (in this order): libpcapnav, libnetdude, netdude. On running the "make" for netdude I get the following error: [...] ./nd.h:32:19: error: libnd.h: No such file or directory make[2]: *** [nd_debug.o] Error 1 make[2]: Leaving directory `/home/narcos/Documents/DataExtrProject/Netdude/netdude-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/narcos/Documents/DataExtrProject/Netdude/netdude-0.5.0' make: *** [all] Error 2 [...] >From what I can find online this error is caused by not having libnetdude installed, but I installed that before trying to do netdude. Detailed output from the commands "./configure", "make" and "make install" can be found from the pastebin links below: a) libpcapnav-0.8 ./configure - http://pastebin.com/m21d408e6 make - http://pastebin.com/m1a56831f make install - http://pastebin.com/m1172b05f b) libnetdude-0.11 ./configure - http://pastebin.com/m65fcb648 make - http://pastebin.com/m3ba87ef2 make install - http://pastebin.com/m2ccdc67f c) netdude-0.5 ./configure - http://pastebin.com/m5977ab09 make - http://pastebin.com/m3cd5befd <-- Error happens here For some extra info about my system: $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.2" $ uname -a Linux redtape 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux Any assistance would be greatly appreciated. Thanks, Glenn ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Netdude-help mailing list Net...@li... https://lists.sourceforge.net/lists/listinfo/netdude-help |
Re: [Netdude-help] Installation on Ubuntu - compilation error -
"libnd.h: No such file or directory"
From: Christian K. <chr...@wh...> - 2009-07-15 18:10:22
|
Hi Glenn, Sorry to hear of your installation troubles. If libnd.h isn't found, that's usually an indication of something pretty basic going wrong. Are you in a position where you could try building from CVS sources? I fixed a directory naming issue a while back that may be causing this. If you find it works for you from CVS, it's really time for me to roll some new releases... -- Cheers, Christian |
Re: [Netdude-help] Installation on Ubuntu - compilation error -
"libnd.h: No such file or directory"
From: Glenn W. <gle...@gm...> - 2009-07-17 23:49:46
|
Hi James and Christian (and anyone else out there on the list), Thanks for the feedback too Christian. I think there was a problem with some conflicts from the Ubuntu package I had installed/reinstalled. I undid everything and followed James' guide and it worked out. In case anyone else out there wants to use Ubuntu + netdude I found another little problem with installing the "Essentials Pack" of plugins from http://netdude.sourceforge.net/plugins-libnetdude.html. You'll need to copy the file ltdl.h from "/netdude-0.5.0/libltdl/ltdl.h" to "/usr/local/stow/libnetdude-0.11/include/libnetdude/0.11". Maybe it was just my system, but FYI just in case :-) Glenn On Wed, Jul 15, 2009 at 6:05 PM, Christian Kreibich<chr...@wh...> wrote: > Hi Glenn, > > Sorry to hear of your installation troubles. If libnd.h isn't found, > that's usually an indication of something pretty basic going wrong. Are > you in a position where you could try building from CVS sources? I fixed > a directory naming issue a while back that may be causing this. If you > find it works for you from CVS, it's really time for me to roll some new > releases... > > -- > Cheers, > Christian > > |