Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I tried to do installation for a module locally (home directory). I have passed through several steps How can I overcome this problem?

Replies are listed 'Best First'.
Re: Problem with make test in manual module installation
by bowei_99 (Friar) on Mar 28, 2006 at 06:53 UTC
    By default, perl modules install in the directory that's associated with your version of perl, usually /usr/bin/perl. Since you haven't specified a location in your home directory, the system thinks you want to install it in /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi.

    So, to install correctly, you need to run

    mkdir ~/lib perl Makefile.PL PREFIX=~/lib LIB=~/lib
    then make, make test, and make install.

    That's it in a nutshell. For more info, this tutorial section addresses how to install, and what to do when you get a permissions error.

    -- Burvil

Re: Problem with make test in manual module installation
by xdg (Monsignor) on Mar 28, 2006 at 12:21 UTC

    Also, the test itself is failing. While you can choose to install it anyway, it may or may not work for you. (The failing test could mean the module has a bug or the test has a bug.) You should report the failure to the author.

    Try running your tests with this:

    make test TEST_VERBOSE=1 TEST_FILES=t/06_remove.t

    That may give you more information about the failure.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.