gnuplot and emacs in latest fink on MacOS 10.15.4
Duncan <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am reporting issues in (re)nstalling fink on MacOS 10.15.4
and trying to install gnuplot and emacs
Initially used Xcode 14.1
1.) I first ran into the problem with term-readkey-pm5184
which I fixed with the solution given in these lists to edit
/opt/sw/lib/perl5/Fink/PkgVersion.pm
near line 1060
> change
>
> "$archflags $perlcmd Makefile.PL \%c\n".
> "/usr/bin/make CC=gcc CXX=g++\n";
> to
>
> "$archflags $perlcmd Makefile.PL \%c\n".
> "perl -pi -e 's, blib/, %b/blib/,g' Makefile\n".
> "/usr/bin/make CC=gcc CXX=g++\n";
Then I could succeed with “fink install term-readkey-pm5184"
next, the dependence of gnuplot (and emacs2x) on python27 lead to failure
when installation of python27 failed with
> > ld: library not found for -lcc_dynamic
This was fixed by downgrading Xcode to 11.3.1, and suggested on these
lists. (the installed command-line tools were initially left at 11.4.1, this doesn't seem to
cause problems)
This allowed python27 to build and install.
Next I attempted to install gnuplot, one of my main reasons for fink.
"fink install gnuplot" failed because it has a hidden (undocumented) requirement for emacs to produced texinfo
information, and command-line emacs was removed by apple in 10.15: (one more reason for fink)
> make[2]: Nothing to be done for `install-info-am'.
> Making install-info in docs
> if test "no" != no; then \
> test ".." = ".." || cp ./gnuplot.doc . ; \
> no -batch -q --no-site-file -l doc2texi.el -f d2t-doc-to-texi ; \
> test ".." = ".." || rm -f ./gnuplot.doc ; \
> else \
> echo "No emacs found - cannot create texinfo file" ; \
> fi
> No emacs found - cannot create texinfo file
> makeinfo -I. gnuplot.texi --no-split --output=gnuplot.info
> could not open gnuplot.texi: No such file or directory
> make[1]: *** [gnuplot.info] Error 1
> make: *** [install-info-recursive] Error 1
> ### execution of /tmp/fink.od6c3 failed, exit code 2
> ### execution of /tmp/fink.__iJU failed, exit code 2
I would be better if the gnuplot package checked for emacs, and skipped making texinfo
documentation if it was absent, rather than failing.
I next tried to install emacs26. All the requirements build and install,
except emacs26 itself.
> make[2]: Entering directory `/opt/sw/src/fink.build/emacs26-26.3-1/emacs-26.3/lisp'
> EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' \
> -l bytecomp -f byte-compile-refresh-preloaded \
> -f batch-byte-compile ../lisp/startup.el
> make[2]: *** [../lisp/startup.elc] Killed: 9
> make[2]: Leaving directory `/opt/sw/src/fink.build/emacs26-26.3-1/emacs-26.3/lisp'
> make[1]: *** [../lisp/startup.elc] Error 2
> make[1]: Leaving directory `/opt/sw/src/fink.build/emacs26-26.3-1/emacs-26.3/src'
> make: *** [src] Error 2
> make: Leaving directory `/opt/sw/src/fink.build/emacs26-26.3-1/emacs-26.3'
> ### execution of make failed, exit code 2
Next tried emacs25. same error:
> make[2]: Entering directory `/opt/sw/src/fink.build/emacs25-25.3-1/emacs-25.3/lisp'
> ELC ../lisp/startup.elc
> /bin/sh: line 1: 2181 Killed: 9 EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval "(setq max-lisp-eval-depth 2200)" --eval '(setq load-prefer-newer t)' -l bytecomp -f byte-compile-refresh-preloaded -f batch-byte-compile ../lisp/startup.el
> make[2]: *** [../lisp/startup.elc] Error 137
> make[2]: Leaving directory `/opt/sw/src/fink.build/emacs25-25.3-1/emacs-25.3/lisp'
> make[1]: *** [../lisp/startup.elc] Error 2
> make[1]: Leaving directory `/opt/sw/src/fink.build/emacs25-25.3-1/emacs-25.3/src'
> make: *** [src] Error 2
> make: Leaving directory `/opt/sw/src/fink.build/emacs25-25.3-1/emacs-25.3'
> ### execution of make failed, exit code 2
Any suggestions? (for building emacs, or for removing the texinfo build for gnuplot)
ps. Downgrading the xcode command-line tools to 11.3.1
didnt change anything.
_______________________________________________
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