Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

make doc-pdf fails (sage 8.0/ubuntu 16.04)

When I run "make doc-pdf" I eventually get this error: [sagelib-8.0] gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -fPIC -I/usr/local/sage/sage-8.0/local/include -I/usr/local/sage/sage-8.0/local/include/python2.7 -I/usr/local/sage/sage-8.0/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/sage/sage-8.0/src -I/usr/local/sage/sage-8.0/src/sage/ext -I/usr/local/sage/sage-8.0/src/build/cythonized -I/usr/local/sage/sage-8.0/src/build/cythonized/sage/ext -I/usr/local/sage/sage-8.0/local/include/python2.7 -c /usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/quatalg/quaternion_algebra_element.cpp -o build/temp.linux-x86_64-2.7/usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/quatalg/quaternion_algebra_element.o -fno-strict-aliasing [sagelib-8.0] g++ -pthread -shared -L/usr/local/sage/sage-8.0/local/lib -Wl,-rpath,/usr/local/sage/sage-8.0/local/lib -L/usr/local/sage/sage-8.0/local/lib -Wl,-rpath,/usr/local/sage/sage-8.0/local/lib build/temp.linux-x86_64-2.7/usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/quatalg/quaternion_algebra_element.o -L/usr/local/sage/sage-8.0/local/lib -L/usr/local/sage/sage-8.0/local/lib -lflint -lgmp -lm -lntl -lstdc++ -lpython2.7 -o build/lib.linux-x86_64-2.7/sage/algebras/quatalg/quaternion_algebra_element.so [sagelib-8.0] [ 2/462] creating build/temp.linux-x86_64-2.7/usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/letterplace [sagelib-8.0] gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -fPIC -I/usr/local/sage/sage-8.0/local/include -I/usr/local/sage/sage-8.0/local/include/python2.7 -I/usr/local/sage/sage-8.0/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/sage/sage-8.0/src -I/usr/local/sage/sage-8.0/src/sage/ext -I/usr/local/sage/sage-8.0/src/build/cythonized -I/usr/local/sage/sage-8.0/src/build/cythonized/sage/ext -I/usr/local/sage/sage-8.0/local/include/python2.7 -c /usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/letterplace/free_algebra_element_letterplace.cpp -o build/temp.linux-x86_64-2.7/usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/letterplace/free_algebra_element_letterplace.o -fno-strict-aliasing [sagelib-8.0] In file included from /usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/letterplace/free_algebra_element_letterplace.cpp:524:0: [sagelib-8.0] /usr/local/sage/sage-8.0/local/include/singular/Singular/libsingular.h:6:28: fatal error: singularconfig.h: No such file or directory [sagelib-8.0] compilation terminated. [sagelib-8.0] [ 3/462] gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -fPIC -I/usr/local/sage/sage-8.0/local/include -I/usr/local/sage/sage-8.0/local/include/python2.7 -I/usr/local/sage/sage-8.0/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/sage/sage-8.0/src -I/usr/local/sage/sage-8.0/src/sage/ext -I/usr/local/sage/sage-8.0/src/build/cythonized -I/usr/local/sage/sage-8.0/src/build/cythonized/sage/ext -I/usr/local/sage/sage-8.0/local/include/python2.7 -c /usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/letterplace/free_algebra_letterplace.cpp -o build/temp.linux-x86_64-2.7/usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/letterplace/free_algebra_letterplace.o -fno-strict-aliasing [sagelib-8.0] error: command 'gcc' failed with exit status 1 [sagelib-8.0] In file included from /usr/local/sage/sage-8.0/src/build/cythonized/sage/algebras/letterplace/free_algebra_letterplace.cpp:524:0: [sagelib-8.0] /usr/local/sage/sage-8.0/local/include/singular/Singular/libsingular.h:6:28: fatal error: singularconfig.h: No such file or directory [sagelib-8.0] compilation terminated. [sagelib-8.0] Makefile:34: recipe for target 'sage' failed [sagelib-8.0] [sagelib-8.0] real 0m5.462s [sagelib-8.0] user 0m5.080s [sagelib-8.0] sys 0m0.340s Makefile:933: recipe for target 'sagelib' failed make[1]: * [sagelib] Error 2 make[1]: Leaving directory '/usr/local/sage/sage-8.0/build/make'

Where is it trying to find singularconfig.h? I've installed the AFAIK appropriate package (libsingular4-dev) with apt-get install, which puts this file in /usr/include/x86_64-linux-gnu/singular/singular/singularconfig.h but that doesn't help.

Thanks.