On 09.06.2011 05:38, Sherm Pendley wrote:
I'm probably over-cautious, but I never migrate - I always format and make a clean install, then do a clean install of all my apps. I back up my home directory, and copy it over, which preserves all my personal preferences and such. sherm--
Sherm, I would like to keep now my installation, as it is. If possible. Or I would compile perl-5.14.0 under /usr/local
But perhaps this list could help me, to get @INC and $PERL5LIB clean of /sw ... How is it possible, that I have $PERL5LIB set to
%ENV: PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" I only see two files: ~/.profile and ~/.tcshrc in the first file I only have one line: test -r /sw/bin/init.sh && . /sw/bin/init.sh in .tcshrc is longer: *** setenv LC_ALL C setenv LANG en_GB.UTF-8 # export LC_MESSAGES="C" How to set this var? # export ARCHFLAGS="-arch i386 -arch x86_64" set complete=enhance set addsuffix set autoexpand set histdup=erase set autolist set autocorrect set backslash_quote set correct=cmd set dspmbyte=utf8 unset histlit set symlinks=ignore unset recexact bindkey -k up history-search-backward bindkey -k down history-search-forward alias ls ls -sGF alias rm rm -i alias srm srm -i alias mv mv -i alias twics "cd ~/Documents/tschessfeils_new/twics_new" alias mysql /usr/local/mysql/bin/mysql alias mysqladmin /usr/local/mysql/bin/mysqladmin set path = (/usr/local/mysql/bin $path) set path = (/usr/local/bin $path) set path = (/sw/include $path) set path = (/usr/local/sbin $path) alias files ls -lF \*/..namedfork/data \*/..namedfork/rsrc test -r /sw/bin/init.csh && source /sw/bin/init.csh *** To export the right PERL5LIB, can I add the following line to ~/.tcshrc set PERL5LIB = (/System/Library/Perl/5.10.0:/Library/Perl/5.10.0) ? Syntax seems alright, but I have still the /sw path at the beginning: %ENV: PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin:/System/Library/Perl/5.10.0:/Library/Perl/5.10.0" And in @INC too: @INC: /sw/lib/perl5/5.10.0/darwin-thread-multi-2level /sw/lib/perl5/5.10.0 /sw/lib/perl5/darwin-thread-multi-2level /sw/lib/perl5 /sw/lib/perl5/darwin /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 Sorry for this long email. marek