Metasploit mailing list archives
One More Problem in regards to installing Metasploit on Ubuntu
From: todb at planb-security.net (Tod Beardsley)
Date: Wed, 8 Apr 2009 08:00:34 -0500
I managed to install and run Metasploit on Ubuntu 3.10
Is this really required? 3.10 is hella old... there are myriad other reasons to upgrade your OS to something more recent. base64's suggestion of installing libpcap-dev should work fine on Ubuntu 8.10 (which is what I use ATM), since that will install libpcap 0.8, and that will include headers and junk. However, libpcap is available at 1.0, so you might consider just installing from source directly. http://www.tcpdump.org/#latest On Tue, Apr 7, 2009 at 8:22 PM, base64 <basehat at gmail.com> wrote:
Try installing the following package: libpcap-dev On Tue, Apr 7, 2009 at 5:23 PM, Professor 0110 <professor0110 at gmail.com> wrote:What command should I use? I tried sudo apt-get install libpcap but that didn't work. On Wed, Apr 8, 2009 at 10:17 AM, Carlos Perez <carlos_perez at darkoperator.com> wrote:you will need to install libpcap On Tue, Apr 7, 2009 at 7:41 PM, Professor 0110 <professor0110 at gmail.com> wrote:I managed to install and run Metasploit on Ubuntu 3.10, thanks to the helpful instruction from you guys. However, even though I've managed to get Metasploit to run, I have a problem with this instruction: cd external/pcaprub; ruby extconf.rb; make When I attempt this command at the command line, I receive the following errors: checking for pcap_open_live() in -lpcap... no checking for pcap_setnonblock() in -lpcap... no creating Makefile cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -D_FILE_OFFSET_BITS=64 -fPIC -fno-strict-aliasing -g -g -O2? -fPIC?? -c pcaprub.c pcaprub.c:4:18: error: pcap.h: No such file or directory pcaprub.c:21: error: expected specifier-qualifier-list before ?pcap_t? pcaprub.c:29: error: field ?hdr? has incomplete type pcaprub.c: In function ?rbpcap_s_lookupdev?: pcaprub.c:45: error: ?PCAP_ERRBUF_SIZE? undeclared (first use in this function) pcaprub.c:45: error: (Each undeclared identifier is reported only once pcaprub.c:45: error: for each function it appears in.) pcaprub.c:71: warning: assignment makes pointer from integer without a cast pcaprub.c: In function ?rbpcap_s_lookupnet?: pcaprub.c:83: error: ?bpf_u_int32? undeclared (first use in this function) pcaprub.c:83: error: expected ?;? before ?net? pcaprub.c:85: error: ?PCAP_ERRBUF_SIZE? undeclared (first use in this function) pcaprub.c:89: error: ?net? undeclared (first use in this function) pcaprub.c:89: error: ?mask? undeclared (first use in this function) pcaprub.c:94: error: ?m? undeclared (first use in this function) pcaprub.c: In function ?rbpcap_ready?: pcaprub.c:103: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_close?: pcaprub.c:111: error: ?rbpcap_t? has no member named ?pd? pcaprub.c:112: error: ?rbpcap_t? has no member named ?pd? pcaprub.c:114: error: ?rbpcap_t? has no member named ?pdt? pcaprub.c:115: error: ?rbpcap_t? has no member named ?pdt? pcaprub.c:117: error: ?rbpcap_t? has no member named ?pd? pcaprub.c:118: error: ?rbpcap_t? has no member named ?pdt? pcaprub.c: In function ?rbpcap_setfilter?: pcaprub.c:141: error: ?PCAP_ERRBUF_SIZE? undeclared (first use in this function) pcaprub.c:144: error: storage size of ?bpf? isn?t known pcaprub.c:153: error: ?rbpcap_t? has no member named ?type? pcaprub.c:154: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:157: error: ?rbpcap_t? has no member named ?pd? pcaprub.c:160: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_open_live?: pcaprub.c:170: error: ?PCAP_ERRBUF_SIZE? undeclared (first use in this function) pcaprub.c:194: error: ?rbpcap_t? has no member named ?type? pcaprub.c:195: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:195: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:196: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:196: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:198: error: ?rbpcap_t? has no member named ?pd? pcaprub.c:206: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_open_offline?: pcaprub.c:222: error: ?PCAP_ERRBUF_SIZE? undeclared (first use in this function) pcaprub.c:230: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:230: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:231: error: ?rbpcap_t? has no member named ?type? pcaprub.c:233: error: ?rbpcap_t? has no member named ?pd? pcaprub.c:238: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_open_dead?: pcaprub.c:266: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:266: error: ?rbpcap_t? has no member named ?iface? pcaprub.c:267: error: ?rbpcap_t? has no member named ?type? pcaprub.c:269: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_dump_open?: pcaprub.c:295: error: ?rbpcap_t? has no member named ?pdt? pcaprub.c:296: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_dump?: pcaprub.c:308: error: storage size of ?pcap_hdr? isn?t known pcaprub.c:324: error: ?rbpcap_t? has no member named ?pdt? pcaprub.c: In function ?rbpcap_inject?: pcaprub.c:352: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_handler?: pcaprub.c:359: error: dereferencing pointer to incomplete type pcaprub.c: In function ?rbpcap_next?: pcaprub.c:367: error: ?PCAP_ERRBUF_SIZE? undeclared (first use in this function) pcaprub.c:372: error: ?rbpcap_t? has no member named ?pd? pcaprub.c:376: error: ?rbpcap_t? has no member named ?pd? pcaprub.c:376: error: ?pcap_handler? undeclared (first use in this function) pcaprub.c:376: error: expected ?)? before ?rbpcap_handler? pcaprub.c:380: error: ?rbpcap_t? has no member named ?type? pcaprub.c: In function ?rbpcap_capture?: pcaprub.c:401: error: ?rbpcap_t? has no member named ?type? pcaprub.c: In function ?rbpcap_datalink?: pcaprub.c:421: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_snapshot?: pcaprub.c:433: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?rbpcap_stats?: pcaprub.c:440: error: storage size of ?stat? isn?t known pcaprub.c:447: error: ?rbpcap_t? has no member named ?pd? pcaprub.c: In function ?Init_pcaprub?: pcaprub.c:466: error: ?DLT_NULL? undeclared (first use in this function) pcaprub.c:467: error: ?DLT_EN10MB? undeclared (first use in this function) pcaprub.c:468: error: ?DLT_EN3MB? undeclared (first use in this function) pcaprub.c:469: error: ?DLT_AX25? undeclared (first use in this function) pcaprub.c:470: error: ?DLT_PRONET? undeclared (first use in this function) pcaprub.c:471: error: ?DLT_CHAOS? undeclared (first use in this function) pcaprub.c:472: error: ?DLT_IEEE802? undeclared (first use in this function) pcaprub.c:473: error: ?DLT_ARCNET? undeclared (first use in this function) pcaprub.c:474: error: ?DLT_SLIP? undeclared (first use in this function) pcaprub.c:475: error: ?DLT_PPP? undeclared (first use in this function) pcaprub.c:476: error: ?DLT_FDDI? undeclared (first use in this function) pcaprub.c:477: error: ?DLT_ATM_RFC1483? undeclared (first use in this function) pcaprub.c:478: error: ?DLT_RAW? undeclared (first use in this function) pcaprub.c:479: error: ?DLT_SLIP_BSDOS? undeclared (first use in this function) pcaprub.c:480: error: ?DLT_PPP_BSDOS? undeclared (first use in this function) pcaprub.c:481: error: ?DLT_IEEE802_11? undeclared (first use in this function) pcaprub.c:482: error: ?DLT_IEEE802_11_RADIO? undeclared (first use in this function) pcaprub.c:483: error: ?DLT_IEEE802_11_RADIO_AVS? undeclared (first use in this function) pcaprub.c:484: error: ?DLT_LINUX_SLL? undeclared (first use in this function) pcaprub.c:485: error: ?DLT_PRISM_HEADER? undeclared (first use in this function) pcaprub.c:486: error: ?DLT_AIRONET_HEADER? undeclared (first use in this function) make: *** [pcaprub.o] Error 1 Any help on rectifying this problem will be immensely appreciated on my end. Thanks for the help that everyone has given here. I'm extremely grateful! Finally, what does the command: cd external/pcaprub; ruby extconf.rb; make do and how will it affect Metasploit if it doesn't work properly? Cheers,_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework-- Best Regards, Adrian Castro Senior Software Engineer (310)765-0627 _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- One More Problem in regards to installing Metasploit on Ubuntu Professor 0110 (Apr 07)
- Message not available
- One More Problem in regards to installing Metasploit on Ubuntu Professor 0110 (Apr 07)
- Message not available
- Message not available
- One More Problem in regards to installing Metasploit on Ubuntu Professor 0110 (Apr 07)
- One More Problem in regards to installing Metasploit on Ubuntu base64 (Apr 07)
- One More Problem in regards to installing Metasploit on Ubuntu Tod Beardsley (Apr 08)
- One More Problem in regards to installing Metasploit on Ubuntu Professor 0110 (Apr 08)
- One More Problem in regards to installing Metasploit on Ubuntu Professor 0110 (Apr 07)