Module Installation's trouble - Can't locate loadable object for module Text::CSV_XS
Posted on 2014-03-22
I'm having a trouble on installing the Text::CSV_XS perl module on AIX OS.
Actually, I'm not root and the server doesn't communicate with the ftp servers because of a proxy prohibiting them.
So I can't configure the cpan shell to install modules easierly.
I've downloaded modules from cpan website and figure out to install them with my own user which does'nt have root's rights. I follow the readme instructions : perl Makefile.pl, make, make test and make install. I sat the variable INSTALL_BASE and gave to the command my perl installation home like this :
perl Makefile.PL INSTALL_BASE=/apps/vali/exploit/script/bao/lib/Text-CSV_XS-1.05
I got this (with a warning) :
Welcome to Text::CSV (v.1.32)
You have Text::CSV_XS (v.1.05), so Text::CSV can work very fast!!
Checking if your kit is complete...
'INSTALL_BASE' is not a known MakeMaker parameter name.
Writing Makefile for Text::CSV
the make command looked to run well, the make test command too.
But the make install command failed wih permission denied while creationg a directory where I didn't asked him to create it. I got this :
Warning: You do not have permissions to install into /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi at /usr/opt/perl5/lib/5.8.2/ExtUtils/Install.pm line 114.
mkdir /usr/opt/perl5/lib/site_perl/5.8.2/Text: Permission denied at /usr/opt/perl5/lib/5.8.2/ExtUtils/Install.pm line 176
make: The error code from the last command is 255.
It seems like the installation process doesn't consider my variable INSTALL_BASE.
I need to install some lot of others modules, how can you help me to resolve this issue.
May be you have another way to get around this problem without being root and impossiblity to configure the cpan shell.
Thanks for your help.