Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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...

Replies are listed 'Best First'.
Re: Net::Libnet Module Installation
by almut (Canon) on Jul 28, 2010 at 19:58 UTC
      Thanks a ton, it worked.
Re: Net::Libnet Module Installation
by morgon (Curate) 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, 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://851771]
Approved by planetscape
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-06-24 22:42 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (562 votes). Check out past polls.