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

hi, I'm totally new to this so bear with me. I have downloaded and installed various modules in my perl 5.8 installation. I can do a perl Makefile.PL, then make, then make install problem free. Everything seems to be fine. However when I try to list the newly installed module, its not found. I have installed perl5.8 in a non default location (my home dir as I don't have root permissions). Each time I try to view the installed modules, mine isn't there. The module in question is Checking for AppConfig (v1.52) not found Are there any variables/settings I need to change. I have changed the DESTDIR variable in the Makefile generated to; DESTDIR = /home/gwalsh/perl5/usr/local/lib and DESTDIR = /home/gwalsh/perl5 Neither helped the situation. I'm feeling I'm gonna get a rap on the knuckles here... I've done something very silly haven't i??? thanks much G

Replies are listed 'Best First'.
Re: modules not found
by gaal (Parson) on Oct 27, 2004 at 17:21 UTC
    When you have multiple perls installed, you must run perl Makefile.PL with the perl you want to later install the module on. Probably that wasn't the first one in your path, so you were installing your module on another instance.
Re: modules not found
by jacques (Priest) on Oct 27, 2004 at 21:23 UTC
    I have installed perl5.8 in a non default location (my home dir as I don't have root permissions).

    Is Perl not on the system? If Perl is there, as I suspect, you could install the modules in your home directory since you do not have root. Then in your Perl program, you would specify their location with: use lib "/home/gwalsh/module-name".