Polymake doesn't start after compilation

Discussions on installation issues go here.
mws
Posts: 32
Joined: 16 Jan 2014, 22:57

Re: Polymake doesn't start after compilation

Postby mws » 30 Jun 2014, 10:32

Ah, my bad, sorry for that. Please find attached CPlusPlus.cc from the source subdirectory build.x86_64/perlx-5.14.2-x86_64-linux-gnu-thread-multi.

Another thing I noticed when I compiled Polymake again were the following errors (that didn't result in an abortion of the compilation process but were just reported during the run of make -j6):

Code: Select all

gcc -c -o SharedMemoryMatrix.o -fPIC -I/usr/lib/jvm/java-7-openjdk-amd64/include -I/usr/lib/jvm/java-7-openjdk-amd64/include/linux/ -march=native -Wall -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -include /home/mws/scratch/polymake-2.13-1/build.x86_64/bundled/java/jni/polymake_java.h /home/mws/scratch/polymake-2.13-1/bundled/java/java/native/SharedMemoryMatrix.c gcc -shared -L/usr/local/lib -fstack-protector -o /home/mws/scratch/polymake-2.13-1/build.x86_64/bundled/java/../../lib/jni/libpolymake_java.so SharedMemoryMatrix.o JAVA_HOME=/usr ant -q -f java/build.xml -Dpolymake.top=/home/mws/scratch/polymake-2.13-1 -Dbuild.dir=/home/mws/scratch/polymake-2.13-1/build.x86_64/bundled/jreality -Djar.dir=/home/mws/scratch/polymake-2.13-1/build.x86_64/bundled/jreality/../../jars -Djar.name=polymake_jreality.jar all [echo] Using Java version 1.7. [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-tool/de/jreality/toolsystem/virtual/VirtualExtractPositive.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-backends-share/de/jreality/backends/label/LabelUtility.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-proxies/de/jreality/scene/proxy/smrj/SMRJMirrorFactory.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-sunflow/de/jreality/sunflow/SunflowViewer.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-sunflow/de/jreality/sunflow/SunflowRenderer.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer.java:28: warning: ContainerPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.ContainerPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer6.java:9: warning: ComponentPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.ComponentPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer6.java:10: warning: FramePeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.FramePeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer6.java:12: warning: CausedFocusEvent is internal proprietary API and may be removed in a future release [javac] import sun.awt.CausedFocusEvent.Cause; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer6.java:12: warning: CausedFocusEvent is internal proprietary API and may be removed in a future release [javac] import sun.awt.CausedFocusEvent.Cause; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer6.java:13: warning: Region is internal proprietary API and may be removed in a future release [javac] import sun.java2d.pipe.Region; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer6.java:15: warning: FramePeer is internal proprietary API and may be removed in a future release [javac] class FakeFramePeer6 extends FakeFramePeer implements FramePeer { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:74: warning: DragSourceContextPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.dnd.peer.DragSourceContextPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:79: warning: ButtonPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.ButtonPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:80: warning: CanvasPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.CanvasPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:81: warning: CheckboxMenuItemPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.CheckboxMenuItemPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:82: warning: CheckboxPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.CheckboxPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:83: warning: ChoicePeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.ChoicePeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:84: warning: DialogPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.DialogPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:85: warning: FileDialogPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.FileDialogPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:86: warning: FontPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.FontPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:87: warning: LabelPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.LabelPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:88: warning: ListPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.ListPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:89: warning: MenuBarPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.MenuBarPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:90: warning: MenuItemPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.MenuItemPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:91: warning: MenuPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.MenuPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:92: warning: PanelPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.PanelPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:93: warning: PopupMenuPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.PopupMenuPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:94: warning: ScrollPanePeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.ScrollPanePeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:95: warning: ScrollbarPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.ScrollbarPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:96: warning: TextAreaPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.TextAreaPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:97: warning: TextFieldPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.TextFieldPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:98: warning: WindowPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.WindowPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit6.java:48: warning: DesktopPeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.DesktopPeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit6.java:49: warning: FramePeer is internal proprietary API and may be removed in a future release [javac] import java.awt.peer.FramePeer; [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer.java:392: warning: ContainerPeer is internal proprietary API and may be removed in a future release [javac] public void reparent(ContainerPeer newContainer) { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer6.java:66: warning: Region is internal proprietary API and may be removed in a future release [javac] public void applyShape(Region arg0) { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeFramePeer6.java:85: warning: ComponentPeer is internal proprietary API and may be removed in a future release [javac] public void setZOrder(ComponentPeer above) { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:192: warning: DragSourceContextPeer is internal proprietary API and may be removed in a future release [javac] public DragSourceContextPeer createDragSourceContextPeer( [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:207: warning: ButtonPeer is internal proprietary API and may be removed in a future release [javac] protected ButtonPeer createButton(Button target) throws HeadlessException { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:211: warning: CanvasPeer is internal proprietary API and may be removed in a future release [javac] protected CanvasPeer createCanvas(Canvas target) { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:215: warning: CheckboxMenuItemPeer is internal proprietary API and may be removed in a future release [javac] protected CheckboxMenuItemPeer createCheckboxMenuItem( [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:220: warning: CheckboxPeer is internal proprietary API and may be removed in a future release [javac] protected CheckboxPeer createCheckbox(Checkbox target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:225: warning: ChoicePeer is internal proprietary API and may be removed in a future release [javac] protected ChoicePeer createChoice(Choice target) throws HeadlessException { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:229: warning: DialogPeer is internal proprietary API and may be removed in a future release [javac] protected DialogPeer createDialog(Dialog target) throws HeadlessException { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:233: warning: FileDialogPeer is internal proprietary API and may be removed in a future release [javac] protected FileDialogPeer createFileDialog(FileDialog target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:238: warning: FontPeer is internal proprietary API and may be removed in a future release [javac] protected FontPeer getFontPeer(String name, int style) { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:242: warning: LabelPeer is internal proprietary API and may be removed in a future release [javac] protected LabelPeer createLabel(Label target) throws HeadlessException { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:247: warning: ListPeer is internal proprietary API and may be removed in a future release [javac] protected ListPeer createList(List target) throws HeadlessException { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:252: warning: MenuBarPeer is internal proprietary API and may be removed in a future release [javac] protected MenuBarPeer createMenuBar(MenuBar target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:258: warning: MenuItemPeer is internal proprietary API and may be removed in a future release [javac] protected MenuItemPeer createMenuItem(MenuItem target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:264: warning: MenuPeer is internal proprietary API and may be removed in a future release [javac] protected MenuPeer createMenu(Menu target) throws HeadlessException { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:269: warning: PanelPeer is internal proprietary API and may be removed in a future release [javac] protected PanelPeer createPanel(Panel target) { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:274: warning: PopupMenuPeer is internal proprietary API and may be removed in a future release [javac] protected PopupMenuPeer createPopupMenu(PopupMenu target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:280: warning: ScrollPanePeer is internal proprietary API and may be removed in a future release [javac] protected ScrollPanePeer createScrollPane(ScrollPane target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:286: warning: ScrollbarPeer is internal proprietary API and may be removed in a future release [javac] protected ScrollbarPeer createScrollbar(Scrollbar target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:292: warning: TextAreaPeer is internal proprietary API and may be removed in a future release [javac] protected TextAreaPeer createTextArea(TextArea target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:298: warning: TextFieldPeer is internal proprietary API and may be removed in a future release [javac] protected TextFieldPeer createTextField(TextField target) [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit.java:304: warning: WindowPeer is internal proprietary API and may be removed in a future release [javac] protected WindowPeer createWindow(Window target) throws HeadlessException { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit6.java:54: warning: FramePeer is internal proprietary API and may be removed in a future release [javac] protected FramePeer createFrame(Frame target) throws HeadlessException { [javac] ^ [javac] /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-swing/de/jreality/swing/FakeToolKit6.java:59: warning: DesktopPeer is internal proprietary API and may be removed in a future release [javac] protected DesktopPeer createDesktopPeer(Desktop target) throws HeadlessException { [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 57 warnings [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: /home/mws/scratch/polymake-2.13-1/bundled/jreality/external/jreality/src-plugin/de/jreality/plugin/basic/ViewPreferences.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning BUILD SUCCESSFUL Total time: 1 minute 0 seconds
Attachments
CPlusPlus.cc.poly
Renamed file from CPlusPlus.cc to CPlusPlus.cc.poly to be able to upload the file.
(62.56 KiB) Downloaded 638 times

User avatar
gawrilow
Main Author
Posts: 423
Joined: 25 Dec 2010, 17:40

Re: Polymake doesn't start after compilation

Postby gawrilow » 07 Jul 2014, 11:56

The java warnings are harmless; moreover, they relate to a third-party component (jReality) which is merely bundled with polymake but not maintained by us. Thus we can't fix anything there.

Regarding your generated files: they are OK, everything is in place. Maybe you have some missing write permissions at the installation site, some ruins of ancient polymake installations? If you have preserved your investigative mood, maybe you can make a clean build, with my patch applied just after unpacking? If the error reoccurs, please post the complete clean build logs:

Code: Select all

make all -j6 >compile.log 2>&1 make install >install.log 2>&1
Thank you very much!

mws
Posts: 32
Joined: 16 Jan 2014, 22:57

Re: Polymake doesn't start after compilation

Postby mws » 30 Jul 2015, 09:39

The saga continues.

I just downloaded Polymake 2.14 and experienced exactly the same problem again. This time on an updated GNU/Debian system; the current system details are

Code: Select all

Linux odra 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-2 (2015-05-02) x86_64 GNU/Linux
My perl version is:

Code: Select all

mws@odra:~/polymake$ perl -V Summary of my perl5 (revision 5 version 20 subversion 2) configuration: Platform: osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux-gnu-thread-multi uname='linux x86-csail-01 3.2.0-4-amd64 #1 smp debian 3.2.68-1+deb7u1 x86_64 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Dldflags= -Wl,-z,relro -Dlddlflags=-shared -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.20 -Darchlib=/usr/lib/x86_64-linux-gnu/perl/5.20 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/x86_64-linux-gnu/perl5/5.20 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.20.2 -Dsitearch=/usr/local/lib/x86_64-linux-gnu/perl/5.20.2 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.20.2 -des' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.9.2', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=libc-2.19.so, so=so, useshrplib=true, libperl=libperl.so.5.20 gnulibc_version='2.19' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Locally applied patches: DEBPKG:debian/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN. DEBPKG:debian/db_file_ver - http://bugs.debian.org/340047 Remove overly restrictive DB_File version check. DEBPKG:debian/doc_info - Replace generic man(1) instructions with Debian-specific information. DEBPKG:debian/enc2xs_inc - http://bugs.debian.org/290336 Tweak enc2xs to follow symlinks and ignore missing @INC directories. DEBPKG:debian/errno_ver - http://bugs.debian.org/343351 Remove Errno version check due to upgrade problems with long-running processes. DEBPKG:debian/libperl_embed_doc - http://bugs.debian.org/186778 Note that libperl-dev package is required for embedded linking DEBPKG:fixes/respect_umask - Respect umask during installation DEBPKG:debian/writable_site_dirs - Set umask approproately for site install directories DEBPKG:debian/extutils_set_libperl_path - EU:MM: set location of libperl.a under /usr/lib DEBPKG:debian/no_packlist_perllocal - Don't install .packlist or perllocal.pod for perl or vendor DEBPKG:debian/prefix_changes - Fiddle with *PREFIX and variables written to the makefile DEBPKG:debian/fakeroot - Postpone LD_LIBRARY_PATH evaluation to the binary targets. DEBPKG:debian/instmodsh_doc - Debian policy doesn't install .packlist files for core or vendor. DEBPKG:debian/ld_run_path - Remove standard libs from LD_RUN_PATH as per Debian policy. DEBPKG:debian/libnet_config_path - Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable. DEBPKG:debian/mod_paths - Tweak @INC ordering for Debian DEBPKG:debian/module_build_man_extensions - http://bugs.debian.org/479460 Adjust Module::Build manual page extensions for the Debian Perl policy DEBPKG:debian/prune_libs - http://bugs.debian.org/128355 Prune the list of libraries wanted to what we actually need. DEBPKG:fixes/net_smtp_docs - [rt.cpan.org #36038] http://bugs.debian.org/100195 Document the Net::SMTP 'Port' option DEBPKG:debian/perlivp - http://bugs.debian.org/510895 Make perlivp skip include directories in /usr/local DEBPKG:debian/deprecate-with-apt - http://bugs.debian.org/747628 Point users to Debian packages of deprecated core modules DEBPKG:debian/squelch-locale-warnings - http://bugs.debian.org/508764 Squelch locale warnings in Debian package maintainer scripts DEBPKG:debian/skip-upstream-git-tests - Skip tests specific to the upstream Git repository DEBPKG:debian/patchlevel - http://bugs.debian.org/567489 List packaged patches for 5.20.2-3+deb8u1 in patchlevel.h DEBPKG:debian/skip-kfreebsd-crash - http://bugs.debian.org/628493 [perl #96272] Skip a crashing test case in t/op/threads.t on GNU/kFreeBSD DEBPKG:fixes/document_makemaker_ccflags - http://bugs.debian.org/628522 [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags} DEBPKG:debian/find_html2text - http://bugs.debian.org/640479 Configure CPAN::Distribution with correct name of html2text DEBPKG:debian/perl5db-x-terminal-emulator.patch - http://bugs.debian.org/668490 Invoke x-terminal-emulator rather than xterm in perl5db.pl DEBPKG:debian/cpan-missing-site-dirs - http://bugs.debian.org/688842 Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable DEBPKG:fixes/memoize_storable_nstore - [rt.cpan.org #77790] http://bugs.debian.org/587650 Memoize::Storable: respect 'nstore' option not respected DEBPKG:debian/regen-skip - Skip a regeneration check in unrelated git repositories DEBPKG:fixes/regcomp-mips-optim - [perl #122817] http://bugs.debian.org/754054 Downgrade the optimization of regcomp.c on mips and mipsel due to a gcc-4.9 bug DEBPKG:debian/makemaker-pasthru - http://bugs.debian.org/758471 Pass LD settings through to subdirectories DEBPKG:fixes/perldoc-less-R - [rt.cpan.org #98636] http://bugs.debian.org/758689 Tell the 'less' pager to allow terminal escape sequences DEBPKG:fixes/pod_man_reproducible_date - http://bugs.debian.org/759405 Support POD_MAN_DATE in Pod::Man for the left-hand footer DEBPKG:fixes/io_uncompress_gunzip_inmemory - http://bugs.debian.org/747363 [rt.cpan.org #95494] Fix gunzip to in-memory file handle DEBPKG:fixes/socket_test_recv_fix - http://bugs.debian.org/758718 [perl #122657] Compare recv return value to peername in socket test DEBPKG:fixes/hurd_socket_recv_todo - http://bugs.debian.org/758718 [perl #122657] TODO checking the result of recv() on hurd DEBPKG:fixes/regexp-performance - [0fa70a0] http://bugs.debian.org/777556 [perl #123743] simpify and speed up /.*.../ handling DEBPKG:fixes/failed_require_diagnostics - http://bugs.debian.org/781120 [perl #123270] Report inaccesible file on failed require DEBPKG:fixes/array-cloning - http://bugs.debian.org/779357 [perl #124127] [902d169] fix cloning arrays with unused elements DEBPKG:fixes/perldb-threads - http://bugs.debian.org/779357 [perl #124127] [41ef2c6] lib/perl5db.pl: Restore noop lock prototype Built under linux Compiled at May 3 2015 16:18:35 @INC: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .
And my g++ version is:

Code: Select all

mws@odra:~/polymake$ g++ --version g++ (Debian 4.9.2-10) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
An strace I couldn't attach since I already deleted the non-working Polymake version.

Should we try to hunt down the error for real this time? What should I do next? Apply the patch to a freshly unpacked source as you suggested in your last post?
Last edited by mws on 30 Jul 2015, 12:21, edited 1 time in total.

User avatar
gawrilow
Main Author
Posts: 423
Joined: 25 Dec 2010, 17:40

Re: Polymake doesn't start after compilation

Postby gawrilow » 30 Jul 2015, 10:38

That old patch won't apply to the current version. In the meanwhile I've discovered and plumbed another hole in the build recipe. Perhaps it will help you. Please apply a new patch, executing the following command from the top-level source directory:

Code: Select all

patch -p1 <corelib.diff
Attachments
corelib.diff
(2.75 KiB) Downloaded 579 times

mws
Posts: 32
Joined: 16 Jan 2014, 22:57

Re: Polymake doesn't start after compilation

Postby mws » 30 Jul 2015, 12:51

Now it works. Thanks for the patch.

bibek

Re: Polymake doesn't start after compilation

Postby bibek » 07 Dec 2017, 16:44

CPlusPlus.pm is not interesting, it comes from the source repository. I was curious about CPlusPlus.cc, it is automatically generated and resides in the same directory as Bootstrap.h.

The latter looks OK, in particular, the function Polymake::Core::CPlusPlus::bootstrap which is allegedly missing in your binary is appropriately defined.

Hello,

I installed polymake following the installation proccedure provided on the website for ubuntu. However, it doesn't work and displays an error message:

Can't locate XML/Writer.pm in @INC (you may need to install the XML::Writer module) (@INC contains: /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 .) at /usr/local/share/polymake/perllib/Polymake/Core/XMLfile.pm line 837.
BEGIN failed--compilation aborted at /usr/local/share/polymake/perllib/Polymake/Core/XMLfile.pm line 837.
Compilation failed in require at /usr/local/share/polymake/perllib/Polymake.pm line 78.
Compilation failed in require at /usr/local/bin/polymake line 162.
BEGIN failed--compilation aborted at /usr/local/bin/polymake line 162.

Any suggestions? Thank you.

User avatar
gawrilow
Main Author
Posts: 423
Joined: 25 Dec 2010, 17:40

Re: Polymake doesn't start after compilation

Postby gawrilow » 07 Dec 2017, 17:33

The key phrase in the error message is:
you may need to install the XML::Writer module
For Ubuntu, the package containing it is called libxml-writer-perl.


Return to “Installing polymake”