in reply to Re^6: (Never Ending) Module Installation Issues
in thread (Never Ending) Module Installation Issues

You did use PREFIX=~ LIB=~/lib/perl5, right? It's normal to be in a "random" directory. It's actually the "arch" directory. A module (e.g. Foo::Bar) may install itself into
$LIB/Foo/Bar.*
and/or
$LIB/$ARCH/Foo/Bar.*

where $LIB is the value passed to LIB=, and $ARCH is some system-specific string.

In DBD::mysql's case, most if not all the files will be installed in the arch dir.

As long as PERL5LIB include $LIB, Perl will look into both directories.

$ echo $PERL5LIB /home/ikegami/lib/perl5 $ perl -V ... @INC: /home/ikegami/lib/perl5/x86_64-linux-gnu-thread-multi /home/ikegami/lib/perl5 ...

Don't move files around, you're introducing problems!

Replies are listed 'Best First'.
Re^8: (Never Ending) Module Installation Issues
by listanand (Sexton) on Jun 10, 2010 at 16:40 UTC
    I did specify PREFIX=~ but not LIB. Probably that's why..

    Are there any places where I could read up about module installation in detail? I seem to step into a land mine at every step :)