On Tue, Dec 2, 2014 at 5:17 PM,  <z...@psoftulsa.com> wrote:
> Hi,

Hello,

> 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
*snip*
> 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)
*snip*

It has been a while since I invoked cpan(1) directly. I recommend you
upgrade to cpanm if you can. Regardless, there should be a build log
somewhere (try searching ~/.cpan) that will contain the errors
encountered while trying to `make'. Worst case, download the module
yourself (I think cpan(1) can help with this if you ask it politely),
extract its contents, and attempt to build yourself. One you know what
errors you are getting that will help to hint to the ultimate problem.

If you still need help post up the build output (or wait for somebody
that knows here to find it for cpan(1)).

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

That's not a very good idea. Of course, having global sudo access
isn't ideal either (Ubuntu is silly in that regard). Look into
perlbrew to install a localized perl installation that you can manage
yourself without root privileges. Running always as root (or sudo'ing
without due care) is asking for trouble. Typically the system perl
(e.g., /usr) is asking for trouble or at least pains too simply
because you either need root (see above) or need to do magic to not
need to, and typically it is out-of-date (though Ubuntu may keep it
more up-to-date than other distros, I believe that is still several
releases back).

> Any help would be greatly appreciated!

Regards,


-- 
Brandon McCaig <bamcc...@gmail.com> <bamcc...@castopulence.org>
Castopulence Software <https://www.castopulence.org/>
Blog <http://www.bambams.ca/>
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to