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

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????

Replies are listed 'Best First'.
Re^7: PDL installation problem
by Corion (Patriarch) on Jun 24, 2011 at 09:55 UTC

    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 ????
Re^7: PDL installation problem
by Anonymous Monk on Jun 24, 2011 at 10:18 UTC

    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.
        What do you think I mean?
        which path should i add? usr/local/lib? where the original perl is installed? I dont understand why its not possible to kill this compiling process to avoid that each time, if someone opens a shell, there is an error message...and how can i find/change the bshrnc ??? i think i am lost at the moment...