Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: MAC Perl EXTERN.H Make Issues

by tangent (Vicar)
on Oct 26, 2018 at 14:30 UTC ( #1224731=note: print w/replies, xml ) Need Help??


in reply to MAC Perl EXTERN.H Make Issues

I use perlbrew for Perl, and I use Homebrew to install external libraries. The key thing I learnt when setting this up was to modify my .profile file - it currently looks like this:
source ~/perl5/perlbrew/etc/bashrc export PATH="/usr/local/opt/libxml2/bin:$PATH" export PATH=/usr/local/bin:/usr/local/sbin:~/bin:$PATH
The first line means that when I fire up perl in the terminal it will use the current perlbrew version of Perl, which also means that cpan will install modules in the correct location for that Perl.

The second line I think is a hangover from MacPorts and you probably don't need it.

The third line ensures that Perl can find external libraries installed by Homebrew - I have seen different configurations posted but this one has always worked for me.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-01-16 10:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (49 votes). Check out past polls.

    Notices?