Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: PERL5LIB resets in a new terminal window

by derby (Abbot)
on Apr 27, 2012 at 19:57 UTC ( #967712=note: print w/ replies, xml ) Need Help??


in reply to PERL5LIB resets in a new terminal window

Unless you've changed it, the default shell in Lion is bash. So to set PERL5LIB, just fireup Terminal.app and vi .bashrc and add this line to it

PERL5LIB=/src/ensembl/modules:/src/ensembl-compara/modules:/src/ensemb +l-variation/modules:/src/ensembl-functgenomics/modules

Now everytime you open a terminal (or tab) your environment should have PERL5LIB set.

-derby


Comment on Re: PERL5LIB resets in a new terminal window
Download Code
Re^2: PERL5LIB resets in a new terminal window
by colicab (Initiate) on Apr 29, 2012 at 15:23 UTC
    Hi. Thanks a lot for all the feedback. I did as derby proposed is it works now. It's seems its the .profile instead of the .bashrc file I had to edit.

    Thanks Monks :-)

      Unless you've changed your shell in the Terminal.app preferences, either would have been fine. OS X is mostly BSD Unix underneath. Something like 90% of the tutorials and solutions online for Linux will apply and you can get that even higher by learning how to use MacPorts to install non-standard/missing tools.

      hii dear... I am facing the similar problem and getting the same error like cannot locate at @INC. Please help me.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967712]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-08-21 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (128 votes), past polls