Re: 13.6 does not match the expected value of 10.18

David Axler <[email protected]> Mon, 13 Nov 2023 22:54:01 -0500
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Hanspeter & Willy:

There was a fix for FinkCommander that was posted (by Alexander Hansen, I think) on the finkcommander-users mailing list many years ago. 
I’ve pasted in the details at the end of this email.

This fix worked for me for many versions of Mac OS X, but only partially works under Monterey.

With this patch in place under Monterey, FinkCommander is able to execute a fink self-update and build any updated modules in the core fink package.
However, it does not display the current package descriptions, so it can’t be used to manage packages that are not part of the core fink install. 

I am insufficiently knowledgable about rsync and FinkCommander to determine how to fix this issue.
But I strongly suspect that further tweaking to fpkg.list.pl is what will be needed.

Regards,
Dave Axler

1. Right-click on FinkCommander and select Show Package Contents.
 
2. Navigate to FinkCommander.app/Contents/Resources/fpkg.list.pl.
 
3. Edit the file in a text editor.
 
4. Find the two lines:

use lib "/sw/lib/perl5";
use lib "/sw/lib/perl5/darwin";

Comment these out by putting a # at the front:
 
#use lib "/sw/lib/perl5";
#use lib "/sw/lib/perl5/darwin";
 
5. Find the line "$configpath = "/sw/etc/fink.conf";  ". Comment this out, and insert instead:
 
#$configpath = "/sw/etc/fink.conf";
$configpath = `which fink`;
chop $configpath;
$configpath =~ s|bin/fink||;
$configpath .= "etc/fink.conf";

(The idea is that it will dynamically find where Fink is installed.)

6. Save the file and launch FinkCommander.

7. Set FinkCommander > Preferences > Paths > Path to fink files to Use this path: /opt/sw.  Leave Path to perl as /usr/bin/perl.
 
8. In the Environment pane, change or set environment key PERL5LIB to /opt/sw/lib/perl5, and add /opt to the two /sw folders in the PATH. My PATH is now /opt/sw/bin:/opt/sw/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin, yours may be different.




> On Nov 13, 2023, at 8:17 PM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 11/9/23 2:06 PM, [email protected] wrote:
>> Took some doing to get it installed. (Had to downgrade Xcode to 14.3.1 from 15.0.1)
>> pathsdtup.sh.in does't seem to work.  Disabled SIP so I can put stuff where it needs to be, but no help. 
> 
> pathsetup.sh.in inside the downloaded source won't work because it hasn't been processed for your install setup. You should run `/opt/sw/bin/pathsetup.sh` instead once the Fink install finishes.
> 
>> FinkCommander shows "Packages: 0 Displayed, 0 Installed "    have put  "source /opt/sw/bin/init.sh"
>> in .zlogin so fink works for me in the terminal. Would be nice if Fink Commander could see the install.  It does see /opt/sw/ and /usr/bin/perl. but seems to be missing something major. Thanks so much
> 
> Not surprised that Fink Commander doesn't work anymore. It was written by another group and they stopped working on it 14 years (and many perl versions) ago. We can't really provide any support on it because none of the Fink developers worked on it or know its code. I seem to recall that there was some sort of trick to give it Fink installed perl like perl5182 (as /opt/sw/bin/perl5.18.2) because newer /usr/bin/perls didn't like the old code it used. However, this is a very vague memory, so I'm not sure how accurate it is.
> 
> Hanspeter
> 
> -- 
> Organic chemistry is the study of carbon compounds.
> Biochemistry is the study of carbon compounds that crawl.
>  --Mike Adams
> 
> 
> 
> _______________________________________________
> Fink-beginners mailing list
> [email protected]
> List archive:
> https://sourceforge.net/p/fink/mailman/fink-users/
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-beginners

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners