"Can't locate LWP/Simple.pm in @INC"

fabersa
Posts: 11
Joined: Mon Aug 03, 2009 7:54 pm

"Can't locate LWP/Simple.pm in @INC"

Postby fabersa » Mon Aug 03, 2009 8:03 pm

I am trying to install Amahi on a fresh install of Fedora 10 (Live CD: F10-i686-Live.iso).

After installing Fedora 10 and running all the updates, I followed the instructions at:
http://wiki.amahi.org/index.php/Self-install-existing
However, after attempting the 4th step (hda-install -f YOURINSTALLCODE), I get the following error:
Can't locate LWP/Simple.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at /usr/bin/hda-install line 24.
BEGIN failed--compilation aborted at /usr/bin/hda-install line 24.
I haven't been able to find anything on the forum or in general on the web to help me out. Can anybody tell me what to do?

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: "Can't locate LWP/Simple.pm in @INC"

Postby bsk » Mon Aug 03, 2009 8:09 pm

Ahh, yes, -f is currently broken, try this:

Do:

Code: Select all

rm /etc/sysconfig/amahi-hda
If that is not located there, then just do:

Code: Select all

hda-install <CODE>
Where <CODE> is your install code from your Amahi CP.
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

fabersa
Posts: 11
Joined: Mon Aug 03, 2009 7:54 pm

Re: "Can't locate LWP/Simple.pm in @INC"

Postby fabersa » Mon Aug 03, 2009 8:19 pm

Ahh, yes, -f is currently broken, try this:

Do:

Code: Select all

rm /etc/sysconfig/amahi-hda
If that is not located there, then just do:

Code: Select all

hda-install <CODE>
Where <CODE> is your install code from your Amahi CP.
/etc/sysconfig/amahi-hda .... No such file or directory.

su -
hda-install <CODE>

came up with the same error :(

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: "Can't locate LWP/Simple.pm in @INC"

Postby bsk » Mon Aug 03, 2009 8:32 pm

Do the following commands for me and retry:

Code: Select all

yum clean metadata yum clean all yum update
Then do:

Code: Select all

hda-install <CODE>
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: "Can't locate LWP/Simple.pm in @INC"

Postby cpg » Mon Aug 03, 2009 10:54 pm

installing from live cd is not supported (it has a lot of packages missing). sorry. please use the full Fedora 10 DVD.

(thanks for capturing that, brandon.)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: "Can't locate LWP/Simple.pm in @INC"

Postby bsk » Tue Aug 04, 2009 6:12 am

Ahh yes, Live CDs are not supported, and if they were it would be EXTREMELY hard and time consuming to get it to work.

I didnt see the Live CD part until just now in his post.

Download the DVD ISO and burn it to a DVD R+- and then install.
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

fabersa
Posts: 11
Joined: Mon Aug 03, 2009 7:54 pm

Re: "Can't locate LWP/Simple.pm in @INC"

Postby fabersa » Tue Aug 04, 2009 11:12 am

Wish I could use the DVD, but I only have a CD drive and my mobo will not boot from a USB Stick either. Bummer.

I'll be looking into other ways of getting it installed with the F10 DVD iso. I have two hard drives in the computer... perhaps I can get F10 DVD on the hard drive in a similar way that I would put in on a USB Stick and then change the boot order of the hard drives in the mobo bios.

Unless anyone can think of another way to fix the problem.... Tried the yum clear metadata and all as recommended, but ... no go.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: "Can't locate LWP/Simple.pm in @INC"

Postby cpg » Tue Aug 04, 2009 11:21 am

the bootdisk image that let's you install from NFS, http or hard drive may help.

copy the f10 dvd to the hard disk and then point the installer to it (NOT the live cd).

the bootdisk image is in the f10 dvd under

Code: Select all

images/boot.iso
this can be quite technical, though.

borrow someone's DVD drive or buy one for $15.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: "Can't locate LWP/Simple.pm in @INC"

Postby cpg » Wed Sep 09, 2009 7:21 pm

the solution to this is to not use the Live DVD, however, this is a workaround:

Code: Select all

yum -y install perl-libwww-perl
this is the other thread with the solution to the LWP/Simple.pm issue.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

fabersa
Posts: 11
Joined: Mon Aug 03, 2009 7:54 pm

Re: "Can't locate LWP/Simple.pm in @INC"

Postby fabersa » Sun Oct 18, 2009 7:57 pm

the solution to this is to not use the Live DVD, however, this is a workaround:

Code: Select all

yum -y install perl-libwww-perl
this is the other thread with the solution to the LWP/Simple.pm issue.
Of course one could also download the set of 6 CDs which is the equivalent of the F10 DVD. This is what I eventually did. I now have Amahi running on a machine I built in 2001 (no DVD drive, thus the need for the 6 CDs). Runs beautifully for what I need... simple music / file server with a couple fun extras (Wiki, Address Book, Recipe Book, etc.) :D

Who is online

Users browsing this forum: No registered users and 70 guests