Re: Texlive version in fink

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 6/15/21 5:06 PM, Lucier, Bradley J wrote:
>> On Jun 15, 2021, at 4:46 PM, Alexander Hansen <[email protected]> wrote:
>>
>>
>>
>>> On Jun 15, 2021, at 13:24, Lucier, Bradley J <[email protected]> wrote:
>>>
>>>> On Jun 9, 2021, at 9:03 PM, Hanspeter Niederstrasser <[email protected]> wrote:
>>>>
>>>> On 5/29/21 10:08 PM, Lucier, Bradley J wrote:
>>>>>> On May 29, 2021, at 23:02, Alexander Hansen <[email protected]> wrote:
>>>>>>
>>>>>> 
>>>>>>
>>>>>>> On May 29, 2021, at 14:56, Lucier, Bradley J <[email protected]> wrote:
>>>>>>>
>>>>>>> I’m not entirely sure how to read this page:
>>>>>>>
>>>>>>> https://pdb.finkproject.org/pdb/package.php/texlive-base?rel_id=10.14.5-x86_64-current-stable
>>>>>>>
>>>>>>> but if 0.20140523-6 means that this version is from 2014/05/23, then it’s about seven years old.  I do know that I can’t use this version of TeX to prepare the current documents I’m working on, so I install a parallel version of TeXlive 2021.
>>>>>>>
>>>>>>> I appreciate fink on MacOS, and I admit I don’t contribute much of anything except bug reports, so consider this a feature request.
>>>>>>>
>>>>>>> I don’t know how difficult it is to package current version of TeXlive 2021 for fink, but if that can’t be done, perhaps a way to “install” a virtual package to tell fink that a relatively current version of texlive is already in your path.
>>>>>>>
>>>>>>> Brad
>>>>>>
>>>>>> We used to do a virtual package for TeTeX a long time ago, but we stopped because the lead developer disliked Fink, and also liked to move the files that we used as indicators that the package was installed—possibly deliberately.  It got to be a hassle for the maintainer, so he dropped that.  We gradually dropped allowing for externally-installed versions of other packages for the same reason — an upstream developer would move something, and Fink would think that the package wasn’t installed when it actually was.
>>>>>>
>>>>>> The placeholder package isn’t hard in and of itself—it might just be a bunch of symbolic links from the Fink tree to the actual TeXlive binaries.  What is hard is making sure that our other packages can swap between the two options.
>>>>>>
>>>>>> —akh
>>>>> Ok, well, fink updating to the most recent version of texlive is my first choice.
>>>>> But I can get my work done by installing a more recent texlive myself and adding it early in my path.
>>>>
>>>> I've created an updated version of texlive-2021 for Fink: https://github.com/fink/fink-distributions/pull/798/files
>>>>
>>>> To test: download all the mentioned files in that PR and save them to `/opt/sw/fink/dists/local/main/finkinfo/text`  Then try installing texlive. I don't use texlive, but only verified that another package that depends on texlive built the docs as requested.
>>>>
>>>> Hanspeter
>>>
>>> Thank you for this.
>>>
>>> Short reply: After installation I tried to run texconfig-sys and texconfig and ran into the following problem:
>>>
>>> [Bradleys-Mac-mini:~] lucier% sudo texconfig-sys 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 /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.

What macOS version are you on?
For me on 10.14.5:

$ dpkg -S TeXLive/TLConfig.pm
texlive-base: /sw/share/tlpkg/TeXLive/TLConfig.pm
$ fink dumpinfo -fallversions texlive-base
Information about 14501 packages read in 2 seconds.
allversions:
  b 	0.20140523-6
  bi	20210325-1

If I try running texconfig-sys, I get a notice about running the 
interactive texconfig utility, then it asks to press return, and exits.

If I try to convert a DVI file w/ xdvi
$ xdvi el2e.dvi
Cannot open map file psfonts.map
- mktexpk --mfmode cx --bdpi 300 --mag 'magstep(0)' --dpi 300 cmbx7 '>&3'
mktexpk: Running mf-nowin -progname=mf \mode:=cx; mag:=magstep(0); 
nonstopmode; input cmbx7
This is METAFONT, Version 2.71828182 (TeX Live 2021/Fink 20210325-1) 
(preloaded base=mf)

(/sw/share/texmf-dist/fonts/source/public/cm/cmbx7.mf
(/sw/share/texmf-dist/fonts/source/public/cm/cmbase.mf)
(/sw/share/texmf-dist/fonts/source/public/cm/roman.mf
... lots of text ...
Font metrics written on cmr7.tfm.
Output written on cmr7.300gf (128 characters, 9756 bytes).
Transcript written on cmr7.log.
mktexpk: /sw/var/lib/texmf/fonts/pk/cx/public/cm/cmr7.300pk: 
successfully generated.
Segmentation fault: 11

The segfault happens with our xdvi regardless of which Fink-texlive is 
installed (0.2014 or 2021).

Texlive comes with it's own xdvi: xdvik, which has a symlink xdvi if you 
remove the xdvi package.

It might be time to retire the ancient stand-alone xdvi package.

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.