#perl - Tue 27 Mar 2007 between 22:24 and 22:33



Randalmodules for which you don't have the source
peshaltoRandal: what's the significance of snapshot?
RandalI download the latest perl every few weeks and make sure it still works
"snapshot"
peshaltoConfigure wants to put it in /usr/local/bin by default
ah
Randaltell Configure "no, sir"
peshaltowell the built-in perl is in /usr/bin
ya think I should still put it in /opt ? probably just /opt/perl in my case
Randal./Configure -Dprefix=/opt/perl/snap -des
Teratogen[slashsnot.org::root::bash] /usr/pkg/share/httpd/htdocs (Tue Mar 27 18:24:07)
=> which perl
Randalyea, leave snap off
Teratogenerr /usr/pkg/bin/perl
!
Randalyou'll have to add /opt/perl/bin to your PATH
peshaltoright
when i'm in a cpan shell (say, sudo cpan) which path is it seeing then?
Caelumwhat's the difference between -des and -de?
RandalI don't know
peshaltowhich $PATH
Randalancient choices. :)
the PATH of your shell
peshaltoso would that be root's shell (because of the sudo) or the shell of the user who invoked sudo cpan?
Randalanybody who will be typing "perl" and expect the upgraded perl
Oh, and I don't say "sudo cpan"
I own /opt/perl
so I install as non-root
that's smart anyway
peshaltoah, so you do all the PERL5LIB and INSTALLMAN1DIR INSTALLMAN3DIR stuff?
actionpeshalto finds the umpteen ways to set these things confusing still
peshaltofinds the umpteen ways to set these things confusing still
Randalyou don't need to set PERL5LIB
just -Dprefix=/opt/perl when you build
your cpan shell will install below /opt/perl
and your perl already knows to look there
it Just Works
peshaltoso if my /opt/perl/bin/cpan is found in the path, it (cpan) will know to install its stuff (subsequently installed modules) in /opt/perl/lib ?
actionCPAN upload: Encode-First-0.01 by MIYAGAWA
CPANupload: Encode-First-0.01 by MIYAGAWA
peshaltofound in the path before /usr/bin/cpan, that is
CherebrumHow can I rename the keys in a hash? I can't seem to figure it out

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 107 114 

IrcArchive