![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: module installationby mattr (Curate) |
on Jun 15, 2001 at 16:51 UTC ( [id://88774]=note: print w/replies, xml ) | Need Help?? |
Hrmm, yep, lib looks nice. I remember seeing it a few times but for some reason never used it in this case, just said #!/usr/bin/perl -I./mylibs -I./some/other/libs and so on.
Some providers give you your own apache config file especially if mod_perl is supported, maybe someone has more info about that. If you have telnet (or ssh) and gnu tools like gcc and make then you can compile in your local directory. Read the man page for make and you should see where to add the PREFIX directive when building. configure --help might do it too. But don't try to compile on a different machine first that probably won't work. The easiest thing is to use CPAN (I haven't used it for installation in a different directory myself) to install modules. You might want to check the CPAN nonstandard directory installation docs. This is how to build a Perl Module on the command line, not inside the cpan utility (which is started with perl -MCPAN -e shell). Incidentally, you can build but just not install a module in your local directory, just do make but not make install. It may work fine.
In Section
Seekers of Perl Wisdom
|
|