Re: TexInfo requires perl 5282 on Big Sur

Scott Hannahs via Fink-users <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On Oct 29, 2021, at 10:44 PM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 9/27/21 11:30 AM, Scott Hannahs via Fink-users wrote:
>>> On Sep 27, 2021, at 08:02, Hanspeter Niederstrasser <[email protected]> wrote:
>>> 
>>> On 9/24/21 4:28 PM, Scott Hannahs via Fink-users wrote:
>>>>> Well the rest of the builds seem to be happy with using 5302.  I will do a re-install, but it may be a problem of my moving from 11.5.2 to 11.6 which is breaking fink?
>>> 
>>> Maybe. If your Fink install still thinks it wants to use 5.28.2 as system-perl and `fink reinstall fink` is still not switching to 5.30.2, a brute force approach might be to edit the file /opt/sw/etc/fink.conf and change the Distribution field to "11.3" (assuming it's currentl reading "11.0"). But I don't know how this will react to the other issues with 11.6.
>>> 
>>> Hanspeter
>> That edit of fink.conf seems to work.  However I also need to make a symbolic link from /opt/sw/fink/10.9-libcxx to "11.3”  and one has to keep the link to 11.0??  Deleting that 11.0 symbolic link makes all sorts of things not function.
>> fink reinstall fink does not update the fink.conf file for the distribution.  Not sure how to update a fink installation smoothly from 11.2 to 11.3 (or greater).  What stage of the installation sets the Distribution in fink.conf?
> 
> With Justin's help, I've been able to track some things down.
> 
> The Distribution field in fink.conf is set by running /opt/sw/lib/fink/postinstall.pl This is normally run in PostInstScript when reinstalling the fink package. So `fink reinstall fink` should trigger it but sometimes it's apparently not happening.
> 
> Try these:
> 
> sudo /opt/sw/lib/fink/postinstall.pl x86_64
> 
> or
> 
> sudo /usr/bin/perl /opt/sw/lib/fink/postinstall.pl x86_64
> 
> If successful, it should show bits about changing the Distribution field and a symlink.
> 
> Hanspeter

That does work.  I reset the fink.conf file back to 11.0 and ran the above command.
% sudo /opt/sw/lib/fink/postinstall.pl x86_64
Checking system... i386-apple-darwin20.6.0
11.6 does not match the expected value of 11.5. Please run `fink selfupdate` to download a newer version of fink
Use of uninitialized value $gcc in regexp compilation at /opt/sw/lib/perl5/Fink/Services.pm line 1346.
Use of uninitialized value $gcc in concatenation (.) or string at /opt/sw/lib/perl5/Fink/Bootstrap.pm line 164.
This system is supported and tested.
ln -s 10.9-libcxx /opt/sw/fink/11.3
ln -s 11.3 /opt/sw/fink/dists
/bin/mkdir -p /opt/sw/fink/dists/local/injected/finkinfo/update-packages
cp -f /opt/sw/lib/fink/update-packages/* /opt/sw/fink/dists/local/injected/finkinfo/update-packages

This seems to have worked but there are a couple of errors listed about $gcc not being set??  But fink.conf is updated and now lists the system as 11.3.

-Scott

_______________________________________________
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.