Ask Your Question
1

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

asked 2017-08-21 17:36:19 +0100

labbmf gravatar image

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.

edit retag flag offensive close merge delete

Comments

I can make doc-pdf for sage 8.0 on another system which is running Ubuntu 14.04 (not 16.04).

labbmf gravatar imagelabbmf ( 2017-08-21 20:28:35 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-08-24 21:06:26 +0100

eric_g gravatar image

On Ubuntu 16.04, you need to install the package texlive-generic-extra to generate the pdf documentation. More details here.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-08-21 17:36:19 +0100

Seen: 445 times

Last updated: Aug 24 '17