I'm having problems installing polymake with an intel chip mac running macOS12 Monterey (I had a previous installation that seemed to be working, but some commands that called perl/c++ were not functional). I tried following the installation instructions here
https://polymake.org/doku.php/install/macos
(with the latest release 4.6) and have run into some snags. After some initial setbacks (where I couldn't install Net::SSLeay), I uninstalled and reinstalled xcode, and tried to begin anew. The next problem arose in trying to install ZEFRAM/Module-Runtime-0.013.tar.gz. Here's the log file output from that:
cpanm (App::cpanminus) 1.7045 on perl 5.034000 built for darwin-thread-multi-2level
Work directory is /Users/****/.cpanm/work/1644610830.3920
You have make /usr/bin/make
You have /usr/bin/curl
You have /usr/bin/tar: bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8
You have /usr/bin/unzip
--> Working on ZEFRAM/Module-Runtime-0.013.tar.gz
Fetching http://www.cpan.org/authors/id/Z/ZE/ZEF ... 013.tar.gz
-> OK
Unpacking Module-Runtime-0.013.tar.gz
Entering Module-Runtime-0.013
Checking configure dependencies from META.json
Checking if you have warnings 0 ... Yes (1.51)
Checking if you have Module::Build 0.38 ... Yes (0.4231)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.20)
Checking if you have strict 0 ... Yes (1.12)
Configuring Module-Runtime-0.013
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Runtime' version '0.013'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (1.302183)
Checking if you have strict 0 ... Yes (1.12)
Checking if you have warnings 0 ... Yes (1.51)
Checking if you have Module::Build 0 ... Yes (0.4231)
Building and testing Module-Runtime-0.013
Building Module-Runtime
t/cmn.t ........... ok
t/dependency.t .... ok
t/import_error.t .. ok
t/ivmn.t .......... ok
t/ivms.t .......... ok
t/mnf.t ........... ok
t/pod_cvg.t ....... skipped: Test::Pod::Coverage not available
t/pod_syn.t ....... skipped: Test::Pod not available
t/rm.t ............ ok
# Failed test at t/taint.t line 16.
# ''
# doesn't match '(?^:\AInsecure dependency )'
# Failed test at t/taint.t line 18.
# ''
# doesn't match '(?^:\AInsecure dependency )'
# Failed test at t/taint.t line 20.
# ''
# doesn't match '(?^:\AInsecure dependency )'
# Looks like you failed 3 tests of 5.
t/taint.t .........
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/5 subtests
t/um.t ............ ok
t/upo.t ........... ok
Test Summary Report
-------------------
t/taint.t (Wstat: 768 Tests: 5 Failed: 3)
Failed tests: 2-4
Non-zero exit status: 3
Files=12, Tests=303, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.50 cusr 0.10 csys = 0.65 CPU)
Result: FAIL
Failed 1/12 test programs. 3/303 subtests failed.
-> FAIL Installing ZEFRAM/Module-Runtime-0.013.tar.gz failed. See /Users/***/.cpanm/work/1644610830.3920/build.log for details. Retry with --force to force install it.
after which I dutifully forced it to install anyway. When I got to the ./configure step, it looked like some more problems as well that are perl related, and here's the output
checking C++ compiler ... ok (g++ is Apple CLANG (roughly 10.0) from Xcode 13.0.0)
checking C++ library ... ok (libc++ 12000, C++ 201402)
checking for package manager ... no package manager specified
determining architecture ... ok (darwin.x86_64)
determining compiler flags ... ok
CFLAGS=
CXXFLAGS= -std=c++14 -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-mismatched-tags -Wno-unused-local-typedef -Wno-error=unneeded-internal-declaration -Wshadow -Wconversion -Wno-sign-conversion -Wzero-as-null-pointer-constant
LDFLAGS=
checking gmp installation ... ok
checking mpfr installation ... ok
checking boost installation ... ok
checking perl module XML::SAX ... failed
WARNING: perl module XML::SAX required for polymake not found on your machine.
Please be sure to install it prior to starting to use polymake.
If you have installed them in a non-standard location
please add the path to the environment variable PERL5LIB.
checking perl module Term::ReadKey ... failed
WARNING: perl module Term::ReadKey required for polymake not found on your machine.
Please be sure to install it prior to starting to use polymake.
If you have installed them in a non-standard location
please add the path to the environment variable PERL5LIB.
checking perl module Term::ReadLine ... ok
checking perl module JSON ... ok
checking shared perl library ... ok
Configuring bundled extensions:
bundled extension java ... disabled by command-line
bundled extension bliss ... failed
bundled extension cdd ... ok (bundled)
bundled extension flint ... ok (ok (2.8.0 @ system))
bundled extension javaview ... disabled because of unsatisfied prerequisite: java
bundled extension jreality ... disabled because of unsatisfied prerequisite: java
bundled extension libnormaliz ... ok (bundled [OpenMP support disabled])
bundled extension lrs ... ok (bundled)
bundled extension nauty ... ok (source: bundled)
bundled extension ppl ... ok (1.2.0 @ /usr/local)
bundled extension scip ... failed
bundled extension singular ... ok (4.2.1 @ /usr/local/Cellar/singular/4.2.1_1)
bundled extension soplex ... failed
bundled extension sympol ... ok (bundled)
bundled extension atint ... ok
* If you want to change the configuration of bundled extensions please see build/bundled.log and try configure --help.
* Configuration successful.
* You can run 'ninja -C build/Opt install' now to build and install polymake.
WARNING: Please install/check the following perl modules prior to starting polymake:
XML::SAX, Term::ReadKey
and then ninja -C build/Opt -j2 took forever to finish and the end result doesn't work at all. Help?