Hello everybody,
Thank you very much John for your insight on this.
It turns out, I didn't know that make was not installed on my server; it came right back to life when after I ran sudo apt-get install make.
Issue resolved!
Thanks again everybody!
Zac Ortiz
Power Switch of Tulsa, LLC
-- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/-------- Original Message --------
Subject: Re: Unable to install Net::IP
From: John SJ Anderson <geneh...@genehack.org>
Date: Tue, December 02, 2014 3:54 pm
To: z...@psoftulsa.com, Perl Beginners <beginners@perl.org>
Whenever you have a module installation fail, your first step should
be to ask: is it failing for other people?
Results of CPAN Testers (which is basically a distributed testing
network) are available on the dist's MetaCPAN page. For Net::IP,
that's here: https://metacpan.org/pod/Net::IP
(Spoiler: it has a tiny number of fails but a _huge_ number of passes.
It works for almost everybody.)
Based on those results, the good news is, it seems like the module
itself (probably) isn't broken, but instead, there's something about
your machine that isn't working for it.
Based on the output you have shown, my first question would be: do you
actually have make installed?
If you do have make installed, the next step would be to download the
dist tarball yourself (there's a download link on that MetaCPAN page),
expand it, cd into it, and run 'perl Makefile.PL && make', and see
what the output of that is. I suspect make is giving an error that's
getting eaten by the cpan client, for whatever reason.
(Aside: doing the make as root is not the best idea. (Least privilege)++)
chrs,
john.
On Tue, Dec 2, 2014 at 2:17 PM, <z...@psoftulsa.com> wrote:
> Hi,
>
> I'm unable to find information on this issue. Whenever I try to install
> Net::IP (to do a simple DHCP configuration file that will make IP address
> reservations DNS files that will do forward and reverse lookups) it gives me
> the following results:
>
> root@SERVER:~# cpan -i Net::IP
> Reading '/root/.cpan/Metadata'
> Database was generated on Tue, 02 Dec 2014 10:53:28 GMT
> Running install for module 'Net::IP'
> Running make for M/MA/MANU/Net-IP-1.26.tar.gz
> Checksum for /root/.cpan/sources/authors/id/M/MA/MANU/Net-IP-1.26.tar.gz ok
>
> CPAN.pm: Building M/MA/MANU/Net-IP-1.26.tar.gz
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Net::IP
> Writing MYMETA.yml and MYMETA.json
> MANU/Net-IP-1.26.tar.gz
> make -- NOT OK
> Running make test
> Can't test without successful make
> Running make install
> Make had returned bad status, install seems impossible
>
>
> I'm running Ubuntu server:
> root@SERVER:~# cat /etc/os-release
> NAME="Ubuntu"
> VERSION="14.04.1 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.1 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/"
> SUPPORT_URL="http://help.ubuntu.com/"
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
>
> Perl 5.18:
> root@SERVER:~# perl -v
>
> This is perl 5, version 18, subversion 2 (v5.18.2) built for
> x86_64-linux-gnu-thread-multi
> (with 41 registered patches, see perl -V for more detail)
>
> Copyright 1987-2013, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic License or
> the
> GNU General Public License, which may be found in the Perl 5 source kit.
>
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl". If you have access to the
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
>
> I'm running always as root for everything. It makes my server management
> much easier by saving me from typing "sudo" for everything I do.
>
> Any help would be greatly appreciated!
>
> Zac
> Power Switch of Tulsa, LLC
>
> -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional
> commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/