Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Net::Libnet Module Installation

by sagarkha (Acolyte)
on Jul 28, 2010 at 19:24 UTC ( #851771=perlquestion: print w/ replies, xml ) Need Help??
sagarkha has asked for the wisdom of the Perl Monks concerning the following question:

I am a newbie in Perl, and i wanted to use Net::Packet module from CPAN, i downloaded it from CPAN and found there are some prerequisite module for this. So i have download and installed all of them at my RHEL 4 machine except Net-Libnet-0.01_04, i am getting this error while installing this module
[root@innovation Net-Libnet-0.01_04]# perl Makefile.PL Note (probably harmless): No library found for -lnet Writing Makefile for Net::Libnet
can somebody please help...

Comment on Net::Libnet Module Installation
Download Code
Re: Net::Libnet Module Installation
by morgon (Deacon) on Jul 28, 2010 at 19:47 UTC
    You may be missing a C-library on your system.

    And installing modules by hand can be a lot of tedious work.

    Try the CPAN-shell for that:

    perl -MCPAN -e shell and then at the prompt: cpan[1]> install Net::Packet
      Morgon, my machine is behind a proxy so it is not fetching Modules from CPAN.org, can you tell how to configure cpan to go through a proxy, its for my future use. I belive i need to configure the following details Proxy IP & Port, Domain name, username and password.
        You can check the documentation of the CPAN-module with "perldoc CPAN".

        It uses some configuration variables that you can set (at the shell-prompt) with "o conf <variable> <value>".

        After you've made changes you need to commit them with "o conf commit".

        To use a proxy (I think) you need to set the variables "http_proxy" (maybe also "ftp_proxy") and possibly (if you have to authenticate at the proxy) "proxy_user" and "poxy_pass".

        So try (at the prompt you get with "perl -MCPAN -e shell"

        o conf http_proxy <your proxy> o conf http_user <your proxy-user> o conf http_pass <your proxy-password> o conf commit

        and it should work.

Re: Net::Libnet Module Installation
by almut (Canon) on Jul 28, 2010 at 19:58 UTC
      Thanks a ton, it worked.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2015-07-03 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (55 votes), past polls