Click here to get back home

lib/$archname not included automatically on RedHat box

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
lib/$archname not included automatically on RedHat box ypetinot 05-02-2006
Posted by ypetinot on May 2, 2006, 9:26 pm
Please log in for more thread options


Hi,

I am installing an architecture dependent module on a RedHat box. This
module has a Makefile.PL based on MakeMaker and the install sequence:

perl Makefile.PL LIB=/home/foo/lib/
make
make test
make install

completes without any complaint. Note that the make test is extensively
testing the module and everything looks ok.

Now when I run a final check:

perl -I/home/foo/lib -e "use MyModule;"

i get the following error message:

"Can't locate loadable object for module MyModule in @INC ...."

However if I run:

perl -I /home/foo/lib/i386-linux-thread-multi/ -e "use MyModule;"

everything works just fine

My understanding is that perl should automatically be looking into
"lib/$archname" if "lib" is in the @INC. The installation process
described above works just fine on the Fedora / Gentoo boxes I've been
using thus far ... so I'm wondering what is different with the RedHat
environment.

thanks for reading,


-y


Similar ThreadsPosted
newbie tryping to set up mod_perl on RedHat 9 (need help) July 15, 2005, 8:11 am
Trouble installing storable 2.13 with perl 5.8.0 on redhat 9 machine December 10, 2004, 12:06 am
Win32::Service Determining which are set to start automatically July 12, 2004, 10:14 am
Looking for a base module that can automatically load sub modules June 27, 2007, 6:16 am
how to read email automatically without POP3 and IMAP servers in perl? December 13, 2004, 1:06 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap