On 1/9/07, Jesse Engel [EMAIL PROTECTED] wrote:
hmm, no, just the default /usr/bin/perl. i've thought about installing 5.8.8,
but haven't yet. i
changed my shell to bash (doesn't everyone?) in both xterm and apple_terminal
and i did make a
.bashrc in which i changed the default value of $PATH to this:
PATH=$PATH:/sw/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/bin:/sw/share/doc/man
i am getting different outputs for echo $PATH; xterm returns more search paths.
also, printenv
doesn't return a PERL5LIB under xterm. i guess a good way to modify $PERL5LIB
would be cool,
although i have read from several sources that it is better to use lib
/foo/bar; than to modify
$PERL5LIB.
You've installed fink at some point, and you've either used it to
install something Perl-related (maybe a utility that is written in
Perl? Psync? SpamAssassin?) and as part of that process, you or the
installer have updated your rc file to add directories under /sw to
$PERL5LIB (or to source a config file that does that). This probably
happened when you ran /sw/bin/pathsetup.sh as recommended by the Fink
install quide.
This has nothing to do with Terminal.app; the only thing that touches
/sw is Fink. /sw doesn't even exist on the system until Fink creates
it, and any reference to /sw that exists in any path or environment
variable was set by either you or Fink.
See if your .profile or .bash_profile or .login or other rc file (I'm
sure there are a few I've forgotten) doesn't have a line similar to
test -r sw/bin/init.sh . sw/bin/init.sh
It won't be in .bashrc, though, unless you added it yourself.
As I said before, you have two options here. Since reinstalling all
your Finked software manually probably isn't appealing, what you need
to do is use your .xinitrc file to setup the fink environment in X.
Either setup your PATH and PERL5LIB manually in .xinitrc (it works
just like any other rc file) or source /sw/bin/init.sh.
Google xinitrc for the gory details; the Fink X FAQ with detailed
directions is actually the first hit.
HTH,
-- jay
--
This email and attachment(s): [ ] blogable; [ x ] ask first; [ ]
private and confidential
daggerquill [at] gmail [dot] com
http://www.tuaw.com http://www.downloadsquad.com http://www.engatiki.org
values of β will give rise to dom!