Hi gawrilow,
Based on your suggestion, I did install the packages, but have run into a few further issues now.
./configure gives the following output with certain failed operations:
Code: Select all
checking C++ compiler ... ok (g++ is GCC 5.4.0)
checking C++ library ... ok (GNU libstdc++ 20160609, C++ 201402)
determining architecture ... ok (x86_64)
determining compiler flags ... ok
CFLAGS= -march=native
CXXFLAGS= -std=c++14 -march=native -ftemplate-depth-200 -fno-strict-aliasing -Wno-parentheses -fwrapv -fopenmp
checking gmp installation ... ok
checking mpfr installation ... ok
checking boost installation ... ok
checking libxml2 installation ... ok
checking perl module XML::Writer ... ok
checking perl module XML::LibXML ... ok
checking perl module XML::LibXSLT ... ok
checking perl module Term::ReadKey ... ok
checking perl module Term::ReadLine ... ok
checking shared perl library ... ok
Configuring bundled extensions:
bundled extension bliss ... ok
bundled extension cdd ... ok (bundled)
bundled extension java ... ok (JNI headers at /usr/lib/jvm/java-8-openjdk-amd64/include)
bundled extension javaview ... failed
bundled extension jreality ... ok (with bundled JOGL)
bundled extension libnormaliz ... ok (bundled)
bundled extension lrs ... ok (bundled)
bundled extension nauty ... disabled because of conflict with other extension: bliss
bundled extension ppl ... failed
bundled extension singular ... failed
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.
ppl and other algorithms seemed to have failed.
make proceeds as follows:
Code: Select all
ninja -C build/Opt all
ninja: Entering directory `build/Opt'
[1/1] GENERATE /home/user/Downloads/polymake-3.2/build/targets.ninja
[873/938] BUILD /home/user/Downloads/polymake-3.2/build/Opt/jars/polymake_java.jar
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[888/938] BUILD /home/user/Downloads/polymake-3.2/build/Opt/jars/polymake_jreality.jar
Using Java version 1.8.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /home/user/Downloads/polymake-3.2/bundled/jreality/external/jreality/src-tool/de/jreality/toolsystem/virtual/VirtualExtractPositive.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /home/user/Downloads/polymake-3.2/bundled/jreality/external/jreality/src-backends-share/de/jreality/backends/label/LabelUtility.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Note: /home/user/Downloads/polymake-3.2/bundled/jreality/external/jreality/src-proxies/de/jreality/scene/proxy/smrj/SMRJMirrorFactory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/user/Downloads/polymake-3.2/bundled/jreality/external/jreality/src-ui/de/jreality/geometry/AbstractGeometryFactoryCustomizer.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[938/938] touch /home/user/Downloads/polymake-3.2/build/Opt/.apps.built
sudo make install proceeds thus:
Code: Select all
[sudo] password for user:
ninja -C build/Opt install
ninja: Entering directory `build/Opt'
[6/6] INSTALL core system in mode Opt at /usr/local/share/polymake
Then, when I start polymake, I get the following:
Code: Select all
user@user-Inspiron-3268:~/Downloads/polymake-3.2$ polymake
Welcome to polymake version 3.2
Copyright (c) 1997-2018
Ewgenij Gawrilow, Michael Joswig (TU Berlin)
http://www.polymake.org
This is free software licensed under GPL; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Loading applications now...polymake: ERROR: "/usr/local/share/polymake/apps/common/perllib/PolyDB/DatabaseHelpers.pm", line 24: Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: Polymake::Core::Application=ARRAY(0x31b70b0) /usr/local/share/polymake/perllib /usr/local/lib/polymake/perlx/5.22.1/x86_64-linux-gnu-thread-multi /usr/local/lib/polymake/perlx/5.22.1 /usr/local/lib/polymake/perlx /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .)
Prior to this install, I had installed polymake under the "debian/ubuntu" distribution.
But that does not seem to have 3.2 yet and has 3.0 still. With the previous (3.0), with typing polymake, I did not encounter the errors I am obtaining now.
Thank you.