Re: Fink on Monterey 12.5.1

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 8/30/22 1:12 AM, Joe Borzellino via Fink-users wrote:
> Ok, I solved that problem by just deleting my fink installation and bootstrapping the-sin version.
> 
> Now I have the following problem which seems to be related to the fact that on Monterey 12.5.1 there is no python in /usr/bin, so I get the error below when trying to install glib2-shlibs. I tried to solve this myself by installing a version of python2 in /usr/local/bin but no luck so far. Not sure what to do.
> 
> Thanks for any help,
> Joe
> 
> fink install glib2-shlibs
> Scanning package description files..........
> Information about 13430 packages read in 1 seconds.
> The following package will be installed or updated:
>   glib2-shlibs
> Setting runtime build-lock...
> dpkg-deb -b /opt/sw/src/fink.build/root-fink-buildlock-glib2-shlibs-2.22.4-9 /opt/sw/src/fink.build
> dpkg-deb: building package 'fink-buildlock-glib2-shlibs-2.22.4-9' in '/opt/sw/src/fink.build/fink-buildlock-glib2-shlibs-2.22.4-9_2022.08.29-23.07.57_darwin-x86_64.deb'.
> Installing build-lock package...
> /opt/sw/bin/dpkg-lockwait -i /opt/sw/src/fink.build/fink-buildlock-glib2-shlibs-2.22.4-9_2022.08.29-23.07.57_darwin-x86_64.deb
> Selecting previously unselected package fink-buildlock-glib2-shlibs-2.22.4-9.
> (Reading database ... 11842 files and directories currently installed.)
> Preparing to unpack .../fink-buildlock-glib2-shlibs-2.22.4-9_2022.08.29-23.07.57_darwin-x86_64.deb ...
> Unpacking fink-buildlock-glib2-shlibs-2.22.4-9 (2022.08.29-23.07.57) ...
> Setting up fink-buildlock-glib2-shlibs-2.22.4-9 (2022.08.29-23.07.57) ...
> sudo -u fink-bld [ENV] sh -c /tmp/fink.pldWg
> env LANG=C LC_ALL=C /opt/sw/bin/tar  --no-same-owner --no-same-permissions -xf /opt/sw/src/glib-2.22.4.tar.bz2
> sudo -u fink-bld [ENV] sh -c /tmp/fink.Rj1g5
> [ -r /opt/sw/fink/dists/stable/main/finkinfo/gnome/glib2-shlibs.patch ]
> sudo -u fink-bld [ENV] sh -c /tmp/fink.6P4z5
> sed 's,@PREFIX@,/opt/sw,g' < /opt/sw/fink/dists/stable/main/finkinfo/gnome/glib2-shlibs.patch | patch -p1
> patching file configure
> patching file gio/Makefile.in
> patching file gio/gdesktopappinfo.c
> patching file gio/gdrive.h
> patching file gio/gfile.h
> patching file gio/gmount.h
> patching file gio/gunixmounts.c
> patching file gio/gvolume.h
> patching file gio/gvolumemonitor.h
> patching file gio/xdgmime/xdgmime.c
> patching file glib/gconvert.c
> patching file glib/gmacros.h
> patching file glib/gmessages.h
> patching file glib/gslice.c
> patching file glib/gutils.c
> patching file glib/gutils.h
> patching file glib/libcharset/Makefile.in
> patching file glib/libcharset/charset.alias
> patching file glib-gettextize.in
> patching file tests/child-test.c
> perl -pi -e 's,<a href="/usr/share/gtk-doc/html/camel/camel-camel-i18n.html#gettext">(<code class="function">gettext\(\)</code>)</a>,\1,g' docs/reference/*/html/*.html
> perl -pi -e 's,/usr/share/gtk-doc/html,/opt/sw/share/gtk-doc/html,g' docs/reference/*/html/*.html
> perl -pi -e 's/-version-info/-no-undefined -version-info/' */Makefile.in
> perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure
> sudo -u fink-bld [ENV] sh -c /tmp/fink.6iytJ
> PERL_PATH=/usr/bin/perl PERL=/usr/bin/perl ./configure --prefix=/opt/sw --mandir=/opt/sw/share/man --disable-gtk-doc ac_cv_path_GTKDOC_REBASE=true --disable-dependency-tracking --disable-fam --disable-visibility PKG_CONFIG=/opt/sw/bin/ppkg-config PYTHON=/usr/bin/python
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... x86_64-apple-darwin21.6.0
> checking host system type... x86_64-apple-darwin21.6.0
> checking for the BeOS... no
> checking for Win32... no
> checking for Mac OS X Carbon support... checking for style of include used by make... GNU
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... none
> checking how to run the C preprocessor... gcc -E
> yes
> checking whether to enable garbage collector friendliness... no
> checking whether to disable memory pools... no
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking dependency style of gcc... (cached) none
> checking how to run the C preprocessor... gcc -E
> checking for c++... c++
> checking whether we are using the GNU C++ compiler... yes
> checking whether c++ accepts -g... yes
> checking dependency style of c++... none
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking dependency style of gcc... (cached) none
> checking whether gcc and cc understand -c and -o together... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for pkg-config... /opt/sw/bin/ppkg-config
> checking for gawk... (cached) awk
> checking for perl5... /usr/bin/perl
> checking for indent... indent
> checking for /usr/bin/perl... /usr/bin/perl
> checking whether /usr/bin/python version >= 2.3... configure: error: too old
> ### execution of PERL_PATH=/usr/bin/perl failed, exit code 1
> ### execution of /tmp/fink.6iytJ failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...

glib2 would need to be fixed to use non-system python.
You can edit the file 
/opt/sw/fink/dists/stable/main/finkinfo/glib2-shlibs.info at line 48 to 
change the PYTHON path from "/usr/bin/python"
to either the location of your python in /usr/local or to 
/opt/sw/bin/python2.7 (if you have Fink's python27 installed).

You can also try /usr/bin/python3, but I have no idea if glib2's code is 
ready for python3. I also don't know if glib2 uses any python code when 
in use or if it's only needed during the build.

Hanspeter

-- 
More agile than a turtle, stronger than a mouse, nobler than lettuce



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