× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Installing Perl Based Package

hoyt1
Aspirant

Installing Perl Based Package

I'm having a heck of a time installing a perl based package (etree-scripts: https://launchpad.net/~ketilwaa/+archive/etree-scripts/+packages). I've made my way through a few problems so far. At first I was getting this:


perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC


Based on some Google'ing I did the following:


wget http://files.directadmin.com/services/9.0/ExtUtils-MakeMaker-6.31.tar.gz
tar xvzf ExtUtils-MakeMaker-6.31.tar.gz
cd ExtUtils-MakeMaker-6.31
perl Makefile.PL


Which then led to this:
Can't locate DirHandle.pm in @INC


I found a discussion here that pointed to the following package, so I did this:

wget http://www.readynas.com/packages/readynas/perl-modules_5.8.8-7.infrant2_all.deb
dpkg-deb -x perl-modules_5.8.8-7.infrant2_all.deb /


Then I could at least run Makefile.PL on ExtUtils, but when I got to the Make step, I get this:

make: *** No rule to make target `/usr/lib/perl/5.8/CORE/config.h', needed by `Makefile'.  Stop.


I get the same message if I try to Make on the etree-scripts package. I Google'd this for awhile and all of the suggestions seemed to be dead ends to me. Any suggestions? I use Linux quite a bit, but when it comes to this type of manipulation, I consider myself a novice. I looked in /usr/lib/perl/5.8/CORE, and there are no contents to that directory.

I found this thread: http://www.readynas.com/forum/viewtopic.php?f=35&t=58321, but when I do CPAN -v, I just get cpan: command not found.

Thanks for any advice!
Message 1 of 3
golderm
Aspirant

Re: Installing Perl Based Package

I found your post via Google, and evntually found the last post on this thread to sort CPAN:
http://www.readynas.com/forum/viewtopic.php?f=35&t=58321

Hope it helps 🙂
Message 2 of 3
WhoCares_
Mentor

Re: Installing Perl Based Package

Instead of manually installing all the missing packages one could probably just do an "apt-get install perl-modules" (provided the needed APT add-on is already installed). This should also install the CPAN module.

-Stefan
Message 3 of 3
Top Contributors
Discussion stats
  • 2 replies
  • 3602 views
  • 0 kudos
  • 3 in conversation
Announcements