Re: Texlive version in fink

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 8/10/21 8:55 PM, Lucier, Bradley J wrote:
>> On Jul 31, 2021, at 10:56 PM, Hanspeter Niederstrasser <[email protected]> wrote:
>>
>> On 6/18/21 7:52 PM, Lucier, Bradley J wrote:
>>>> On Jun 18, 2021, at 8:32 PM, Hanspeter Niederstrasser <[email protected]> wrote:
>>>>
>>>> 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:
>>> Ah, I don’t use the builtin TeXLive on Debian (or more precisely, Ubuntu) precisely because the configuration of paper size in TeX is woven into other system paper sizes, and I found it quite inconvenient.  I’m not sure that following Debian’s example in this regard is helpful, but I obviously don’t know.
>>> It seems that the “out of the box” default paper size for Fink’s proposed texlive is US letter, and that works for me, so I don’t have to call “texconfig paper letter” explicitly.
>>> I understand that the rest of the world that uses A4 paper is out of luck, but I’m happy with the current defaults.
>>
>> I've created a new pull request that does an incremental version bump of texlive from our ancient 2014 to a not quite as old 2017. While obviously not as good as getting 2021 working, it seems to run fine on my end with the texconfig issues mentioned seemingly fixed. I was able to run `texconfig paper letter` (or a4) with no errors, and both texconfig-sys and texconfig-user seemed to put the conf files in the proper space. I was also able to convert a simple .tex file to .dvi as well as to .pdf.
>>
>> https://github.com/fink/fink-distributions/pull/843
>>
>> Hanspeter
> 
> I made some progress, but it failed with
> 
> ln -s pdftex /opt/sw/src/fink.build/root-texlive-20170524-1/opt/sw/bin/pdfxmltex
> 
> echo "Creating a local texmf tree, and symlinking it into place ..."
> Creating a local texmf tree, and symlinking it into place ...
>   mkdir -p /opt/sw/src/fink.build/root-texlive-20170524-1/opt/sw/etc/texmf.local
>   /opt/sw/bin/mktexlsr /opt/sw/src/fink.build/root-texlive-20170524-1/opt/sw/etc/texmf.local
> /tmp/fink.to3Mr: line 19: /opt/sw/bin/mktexlsr: No such file or directory

mktexlsr got moved from kpathsea to texlive at some point between 2017 
and 2021. You probably still have kpathsea-6.3.3 installed that belongs 
to 2021 installed, and so are missing it. You'll need to run the 
following to force downgrading kpathsea to the 2017 version (one line 
for the command):

fink install kpathsea-6.2.3-1 libkpathsea6-shlibs-6.2.3-1 
libkpathsea6-6.2.3-1 ptexenc1-1.3.5-1 ptexenc1-shlibs-1.3.5-1

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.