Re: Texlive version in fink

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 6/18/21 2:32 PM, Lucier, Bradley J wrote:
> [Bradleys-Mac-mini:~/programs/gambit] lucier% texconfig paper letter
> Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the TeXLive::TLConfig module) (@INC contains: /opt/texmf-dist/scripts/texlive /opt/tlpkg /opt/sw/lib/perl5/5.18.4/darwin-thread-multi-2level /opt/sw/lib/perl5/5.18.4 /opt/sw/lib/perl5/darwin-thread-multi-2level /opt/sw/lib/perl5 /opt/sw/lib/perl5/darwin /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /opt/sw/bin/tlmgr line 89.

Now that I know what to test, I also get this error. But I've got progress:

tlmgr is currently broken upstream:
https://wiki.archlinux.org/title/TeX_Live#tlmgr

Archlinux's proposed patch doesn't help, but Debian's [1] gave me a plan 
to hardcode the TEXMFDIST path (FINKPREFIX/share) instead of using a 
relative path.

[1] 
https://github.com/debian-tex/texlive-nonbin/blob/abb2dd1e96620b8799808e5ed822072d71159be2/texlive-base/debian/patches/debian-tlmgr-usermode

Patching /sw/share/texmf-dist/scripts/texlive/tlmgr.pl (which is what 
texconfig runs) leads to this new error:

$ texconfig paper letter
Can't locate TeXLive/TLPDB.pm in @INC (you may need to install the 
TeXLive::TLPDB module) (@INC contains: 
/sw/share/texmf-dist/scripts/texlive /sw/share/tlpkg 
/sw/lib/perl5/5.18.4/darwin-thread-multi-2level /sw/lib/perl5/5.18.4 
/sw/lib/perl5/darwin-thread-multi-2level /sw/lib/perl5 
/sw/lib/perl5/darwin /Library/Perl/5.18/darwin-thread-multi-2level 
/Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level 
/Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4 
/System/Library/Perl/5.18/darwin-thread-multi-2level 
/System/Library/Perl/5.18 
/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level 
/System/Library/Perl/Extras/5.18 .) at /sw/bin/tlmgr line 60.

The problem is that the published texlive tarball only contains 
TeXLive/TLConfig.pm and TeXLive/TLUtils.pm and no other perl files. So 
now the question is where to find TeXLive/TLPDB.pm and a couple other 
.pm files that tlmgr is looking for.

Hanspeter



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.