Hello.
I made a clean install of Fink on Mountain Lion last summer and found this
problem, which I reported to ”Todai Fink Team” without any answer. A few weeks
ago I updated to Mavericks and made a clean install (by moving /sw to /sw-old)
and I still get this error; tlmgr from TeXLive cannot find itself in @INC.
~/> tlmgr
Can't locate TeXLive/TLConfig.pm in @INC (@INC contains:
//texmf/scripts/texlive //tlpkg /sw/lib/perl5/5.16.2/darwin-thread-multi-2level
/sw/lib/perl5/5.16.2 /sw/lib/perl5/darwin-thread-multi-2level /sw/lib/perl5
/sw/lib/perl5/darwin /Users/js/Library/Perl /System/Library/Perl/Extras/5.8.6
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16
/Network/Library/Perl/5.16/darwin-thread-multi-2level
/Network/Library/Perl/5.16
/Library/Perl/Updates/5.16.2/darwin-thread-multi-2level
/Library/Perl/Updates/5.16.2
/System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.16 .) at /sw/bin/tlmgr line 79.
BEGIN failed--compilation aborted at /sw/bin/tlmgr line 79.
~/> /sw/bin/kpsewhich --expand-var=\$SELFAUTODIR
/sw
~/> /sw/bin/kpsewhich --expand-var=\$SELFAUTOPARENT
/
~/> /sw/bin/kpsewhich --expand-var=\$SELFAUTOLOC
/sw/bin
~/> which kpsewhich
kpsewhich is /sw/bin/kpsewhich
~/> which tlmgr
tlmgr is /sw/bin/tlmgr
When I look in /sw/bin/tlmgr and read the Perl code I see this on line 61-70:
if (-r "$bindir/$kpsewhichname") {
# if not in bootstrapping mode => kpsewhich exists, so use it to get $Master
chomp($Master = `kpsewhich -var-value=SELFAUTOPARENT`);
}
$::installerdir = $Master;
#
# make Perl find our packages first:
unshift (@INC, "$Master/tlpkg");
unshift (@INC, "$Master/texmf/scripts/texlive");
Since SELFAUTOPARENT is / the @INC entries will be set to /tlpkg etc. (as seen
in the error message as well, apart from an extra slash), which is hardly
correct. The correct path is /sw/share/tlpkg/
I think, but am not convinced, that this is a bug in the fink packaging of
TeXLive and I have no (good) suggestions on how to correct it, as I do not know
of what other things might break.
Any suggestions to fix this? Does it work for anyone else? Is tlmgr deprecated
in Fink? I prefer to use package managers before installing things by hand…
Thank you.
/Jonas
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users