in reply to Re^4: PDL installation problem
in thread PDL installation problem

In addition to Anonymous Monk's reply, I notice there's also a typo in what you've tried. In the PERL5LIB setting you specified "fodler" instead of "folder".
Also, if you run
perl Makefile.PL INSTALL_BASE=/home/my_folder/lib
I think you'll find that PERL5LIB would need to be set to
/home/my_folder/lib/lib/perl5
and it's probably the same with Build.PL and --install_base.
Anyway, see how you go - you can always amend your PERL5LIB setting as necessary.

Cheers,
Rob

Replies are listed 'Best First'.
Re^6: PDL installation problem
by halligalli (Novice) on Jun 24, 2011 at 09:43 UTC
    Now I think i destroyed something....I tried to install local:lib with that instruction: http://perl.jonallen.info/writing/articles/install-perl-modules-without-root after setting: echo 'eval $(perl -I$HOME/local-lib-1.008004/lib -Mlocal::lib)' >>~/.bashrc something is wrong. Each time if I open a new terminal i got this message inside the terminal (and also all colleagues who are working under that username)
    Can't locate local/lib.pm in @INC (@INC contains: /home/XXX compilation aborted
    how can i desinstall or cancel this local::lib stuff????

      Edit your (resp. the target users) ~/.bashrc and remove the local::lib line again.

      Also, consider learning a bit about the shell(s) you are working under, especially if you are modifying the environment of a user account that is shared among several people.

        thanks for the answer how can I edit / find the ~/.bashrc ????

      how can i desinstall or cancel this local::lib stuff????

      Undo what you did.

      What did you do? Do you know? You edited .bashrc, you appended stuff to it

      Append this instead

      export PERL5LIB=/home/user/stuff/lib/perl5

      export PERL_MB_OPT=--install_base /home/user/stuff

      export PERL_MM_OPT=INSTALL_BASE=/home/user/stuff

        Sorry, I dont understand what you mean with
        export PERL5LIB=/home/user/stuff/lib/perl5 export PERL_MB_OPT=--install_base /home/user/stuff export PERL_MM_OPT=INSTALL_BASE=/home/user/stuff
        regards J.