Page 1 of 1
"Can't locate LWP/Simple.pm in @INC"
Posted: Mon Aug 03, 2009 8:03 pm
by fabersa
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?
Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Mon Aug 03, 2009 8:09 pm
by bsk
Ahh, yes, -f is currently broken, try this:
Do:
If that is not located there, then just do:
Where <CODE> is your install code from your Amahi CP.
Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Mon Aug 03, 2009 8:19 pm
by fabersa
Ahh, yes, -f is currently broken, try this:
Do:
If that is not located there, then just do:
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

Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Mon Aug 03, 2009 8:32 pm
by bsk
Do the following commands for me and retry:
Code: Select all
yum clean metadata
yum clean all
yum update
Then do:
Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Mon Aug 03, 2009 10:54 pm
by cpg
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.)
Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Tue Aug 04, 2009 6:12 am
by bsk
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.
Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Tue Aug 04, 2009 11:12 am
by fabersa
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.
Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Tue Aug 04, 2009 11:21 am
by cpg
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
this can be quite technical, though.
borrow someone's DVD drive or buy one for $15.
Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Wed Sep 09, 2009 7:21 pm
by cpg
the solution to this is to not use the Live DVD, however, this is a workaround:
this is the other thread with the solution to the
LWP/Simple.pm issue.
Re: "Can't locate LWP/Simple.pm in @INC"
Posted: Sun Oct 18, 2009 7:57 pm
by fabersa
the solution to this is to not use the Live DVD, however, this is a workaround:
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.)
