The missing file is one of the headers for c++ development (libstdc++-devel rpm in Fedora). Use your package manager or build the compiler that is included in Sage, see installation manual.
On Sunday, April 21, 2013 2:01:18 AM UTC+1, Jeremias Gonzalez wrote: > > I have been trying to build Sage 5.8 but it ends with the following error > in the log: > > g++ -O2 -g -fPIC -pipe -fno-implicit-templates -I. -I.. > -I/tmp/SBo/sage-5.8/local -I/tmp/SBo/sage-5.8/local/include > -I/tmp/SBo/sage-5.8/local/include -I/tmp/SBo/sage-5.8/local/include > -I/usr/local/include -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H > -c longtrans.cc > gcc -O2 -g -fPIC -pipe -I. -I.. -I/tmp/SBo/sage-5.8/local > -I/tmp/SBo/sage-5.8/local/include -I/tmp/SBo/sage-5.8/local/include > -I/tmp/SBo/sage-5.8/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -c weight0.c > In file included from ../kernel/si_gmp.h:4:0, > from ../kernel/structs.h:15, > from weight0.c:13: > ../factory/cf_gmp.h:2501:28: fatal error: bits/c++config.h: No such file > or directory > #include <bits/c++config.h> > ^ > compilation terminated. > make[4]: *** [weight0.o] Error 1 > make[4]: Leaving directory > `/tmp/SBo/sage-5.8/spkg/build/singular-3-1-5.p4/src/kernel' > make[3]: *** [install-nolns] Error 1 > make[3]: Leaving directory > `/tmp/SBo/sage-5.8/spkg/build/singular-3-1-5.p4/src' > Unable to build and install Singular > Error building Singular (error in build_singular). > > real 3m10.558s > user 2m54.754s > sys 0m13.856s > ************************************************************************ > Error installing package singular-3-1-5.p4 > > Could someone advise me on fixing this issue? I am compiling this on > Slackware Current 64 bit. > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
