Re: Fink not installing imagemagick on macOS 10.15.4

Thomas Schneider <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Maybe I got no response to this because I wasn’t signed up on this account yet?  See below for additional notes.


> On 2020Apr7,, at 12:05 AM, Thomas Schneider <[email protected]> wrote:
> 
> I am running macOS Catalina version 10.15.4.
> 
> My previous version of fink was in /sw and that is gone.  So I did an
> install using the script
> 
> https://github.com/fink/scripts/releases/tag/setup/0.45.1
> 
> That seemed to go well and fink is running now.
> 
> Next I want to install imagemagick and it's failed.
> 
> toot 3% fink list imagemagick
> Information about 10199 packages read in 1 seconds.
>     graphicsmagick-  1:1.3.29-1   ImageMagick compatible wrapper commands
>     imagemagick      7.0.8.68-1   Image manipulation tools (q16)
>     imagemagick-nox               [virtual package]
>     imagemagick6.9.  6.9.6.6-6    Infrastructure for ImageMagick (q16)
>     imagemagick6.q1  6.9.6.6-6    ImageMagick documentation
>     imagemagick7.q1  7.0.8.68-1   Infrastructure for ImageMagick (q16)
>     imagemagick7.q1  7.0.8.68-1   ImageMagick documentation
> toot 4% fink install imagemagick
> ....
> Writing termio/termios section of cchars.h... Done.
> Checking for sgtty...
> 	Sgtty found.
> Checking sgtty...
> 	tchars structure found.
> 	ltchars structure found.
> Checking symbols
> 	t_brkc (EOL) found in tchars
> 	t_dsuspc (DSUSPEND) found in ltchars
> 	t_eofc (EOF) found in tchars
> 	t_flushc (DISCARD) found in ltchars
> 	t_intrc (INTERRUPT) found in tchars
> 	t_lnextc (QUOTENEXT) found in ltchars
> 	t_quitc (QUIT) found in tchars
> 	t_rprntc (REPRINT) found in ltchars
> 	t_startc (START) found in tchars
> 	t_stopc (STOP) found in tchars
> 	t_suspc (SUSPEND) found in ltchars
> 	t_werasc (ERASEWORD) found in ltchars
> Writing sgtty section of cchars.h... Done.
> /usr/bin/arch -x86_64 perl5.18 /opt/sw/lib/perl5/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.18/ExtUtils/typemap  ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
> gcc -c   -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os   -DVERSION=\"2.37\" -DXS_VERSION=\"2.37\"  -iwithsysroot "/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"  -MD ReadKey.c
> Running Mkbootstrap for Term::ReadKey ()
> chmod 644 ReadKey.bs
> rm -f blib/arch/auto/Term/ReadKey/ReadKey.bundle
> cc  -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -bundle -undefined dynamic_lookup -fstack-protector ReadKey.o  -o blib/arch/auto/Term/ReadKey/ReadKey.bundle 	\
> 	     	\
> 	  
> chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.bundle
> cp ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs
> chmod 644 blib/arch/auto/Term/ReadKey/ReadKey.bs
> /usr/bin/arch -x86_64 perl5.18 "-Iblib/arch" "-Iblib/lib" ReadKey_pm.PL ReadKey.pm
> Creating ReadKey.pm
> Can't load 'blib/arch/auto/Term/ReadKey/ReadKey.bundle' for module Term::ReadKey: dlopen(blib/arch/auto/Term/ReadKey/ReadKey.bundle, 1): no suitable image found.  Did find:
> 	file system relative paths not allowed in hardened programs at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194.
> at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 98.
> 	DynaLoader::croak('Can\'t load \'blib/arch/auto/Term/ReadKey/ReadKey.bundle\' fo...') called at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194
> 	DynaLoader::bootstrap('Term::ReadKey') called at ReadKey_pm.PL line 515
> Bootstrapping the XS for blockoptions: make: *** [ReadKey.pm] Error 255
> ### execution of /usr/bin/make failed, exit code 2
> ### execution of /tmp/fink.zTZ6g failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-term-readkey-pm5184-2.37-1
> (Reading database ... 12597 files and directories currently installed.)
> Removing fink-buildlock-term-readkey-pm5184-2.37-1 ...
> Updating the list of locally available binary packages.
> Scanning dists/stable/main/binary-darwin-x86_64
> New package: dists/stable/main/binary-darwin-x86_64/devel/cmake_3.16.2-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxslt-bin_1.1.29-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxml2-bin_2.9.4-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxslt_1.1.29-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxml2_2.9.4-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxslt-shlibs_1.1.29-1_darwin-x86_64.deb
> New package: dists/stable/main/binary-darwin-x86_64/libs/libxml2-shlibs_2.9.4-1_darwin-x86_64.deb
> Failed: phase compiling: term-readkey-pm5184-2.37-1 failed
> 
> Before reporting any errors, please run "fink selfupdate" and try again.
> 
> If you continue to have issues, please check to see if the FAQ on Fink's 
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
> 
> 	The Fink Users List <[email protected]>
> 	The Fink Beginners List <[email protected]>,
> 
> with a carbon copy to the maintainer:
> 
> 	Christian Schaffner <[email protected]>
> 
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
> 
> Also include the following system information:
> Package manager version: 0.45.1
> Distribution version: selfupdate-rsync Mon Apr  6 23:20:31 2020, 10.15, x86_64
> Trees: local/main stable/main
> Xcode.app: 11.4
> Xcode command-line tools: 11.4.0.0.1.1583798712
> Max. Fink build jobs:  1
> 
> toot 3% 
> 
> --------------------------------------------------------------------------------
> 
> I did the things recommended including setting the processors to 1 and
> selfupdate.
> 
> Now what?
> 
> Tom

After a system upgrade I get a differen error:

fink selfupdate
fink update-all

> WARNING: Xcode.app version (11.4) and Xcode Command Line Tools version (0.0)
> may not be compatible.
> You may experience build errors.

toot 5% fink list imagemagick
Information about 10211 packages read in 3 seconds.
     graphicsmagick-  1:1.3.29-1   ImageMagick compatible wrapper commands
     imagemagick      7.0.8.68-1   Image manipulation tools (q16)
     imagemagick-nox               [virtual package]
     imagemagick6.9.  6.9.6.6-6    Infrastructure for ImageMagick (q16)
     imagemagick6.q1  6.9.6.6-6    ImageMagick documentation
     imagemagick7.q1  7.0.8.68-1   Infrastructure for ImageMagick (q16)
     imagemagick7.q1  7.0.8.68-1   ImageMagick documentation
toot 6% 

toot 6% fink install imagemagick
Information about 10211 packages read in 1 seconds.

fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)     ghostscript: Interpreter for PostScript and PDF
(2)     ghostscript-esp: Ghostscript with better CJK and cups support

Pick one: [1]
Can't resolve dependency "xcode (>= 6.2)" for package "gcc9-9.3.0-1" (no matching
packages/versions found)
Exiting with failure.
toot 7%

google:
fink xcode
http://www.finkproject.org/doc/install/install-first.php?phpLang=en

toot 8% xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

I'm up to date.

sudo xcodebuild -license

That did not help the install.



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