[sage-support] Re: Sage build form source giac giac-1.6.0.47p3 failed to build, help with external packages
Try building the latest development release of Sage, currently Sage 9.7.beta4, instead of Sage 9.5. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/29a32aae-b750-47e5-a361-122b0f67b1e1n%40googlegroups.com.
[sage-support] Re: Sage build form source giac giac-1.6.0.47p3 failed to build, help with external packages
Thank you for your answer. I installed the missing dependencies, but the result is the same. I'll try fully cleaning the system before trying again, perhaps some misplaced files remained. czwartek, 7 lipca 2022 o 20:26:29 UTC+1 Matthias Koeppe napisaĆ(a): > This looks like https://trac.sagemath.org/ticket/31403 > > On Thursday, July 7, 2022 at 6:20:11 AM UTC-7 maksm...@gmail.com wrote: > >> Hello, >> >> I'm working on Ubuntu 22.04, dual booted to Windows 10 on separate >> partition. The linux build is currently entirely fresh, after reinstalling, >> there's only anaconda and sage deps installed. >> >> I've succesfully installed sage from apt and conda (earlier also in WSL >> and Windows on the other partition), but I could not install topcom and >> latte_int external packages, either via sage -i (throws "no rule to make >> target all-toolchain. Stop.") or via source builds either. >> >> Instead I've tried to build sage itself fully from source code and after >> 65m into "make" I got >> >> [giac-1.6.0.47p3] /usr/bin/ld: icas.o: in function >> `texmacs_graph_output(giac::gen const&, giac::gen&, >> std::__cxx11::basic_string, >> std::allocator >&, int, giac::context const*)': >> [giac-1.6.0.47p3] >> /home/maksm/sage-9.5/local/var/tmp/sage/build/giac-1.6.0.47p3/src/src/icas.cc:263: >> >> warning: the use of `tmpnam' is dangerous, better use `mkstemp' >> [giac-1.6.0.47p3] /usr/bin/ld: >> /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libnauty.so: >> undefined reference to `clique_unweighted_find_single@CLIQUER_1' >> [giac-1.6.0.47p3] /usr/bin/ld: >> /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libnauty.so: >> undefined reference to `graph_free@CLIQUER_1' >> [giac-1.6.0.47p3] /usr/bin/ld: >> /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libnauty.so: >> undefined reference to `graph_new@CLIQUER_1' >> [giac-1.6.0.47p3] collect2: error: ld returned 1 exit status >> [giac-1.6.0.47p3] make[7]: *** [Makefile:775: icas] Error 1 >> [giac-1.6.0.47p3] make[6]: *** [Makefile:505: all-recursive] Error 1 >> [giac-1.6.0.47p3] make[5]: *** [Makefile:435: all] Error 2 >> [giac-1.6.0.47p3] >> >> [giac-1.6.0.47p3] Error building giac-1.6.0.47p3 >> [giac-1.6.0.47p3] >> >> [giac-1.6.0.47p3] >> [giac-1.6.0.47p3] real7m44.336s >> [giac-1.6.0.47p3] user7m29.302s >> [giac-1.6.0.47p3] sys0m13.064s >> [giac-1.6.0.47p3] >> >> [giac-1.6.0.47p3] Error installing package giac-1.6.0.47p3 >> [giac-1.6.0.47p3] >> ** >> >> see attached the relevant logs. I left it as it was (I'm not very >> experienced with this kind of problems) and would really appreciate some >> hints on both this build and external packages. >> >> Thank you in advance, >> Maks >> >> >> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/6544db4b-d26e-4764-90ee-47584c232a7cn%40googlegroups.com.
[sage-support] Re: Sage build form source giac giac-1.6.0.47p3 failed to build, help with external packages
This looks like https://trac.sagemath.org/ticket/31403 On Thursday, July 7, 2022 at 6:20:11 AM UTC-7 maksm...@gmail.com wrote: > Hello, > > I'm working on Ubuntu 22.04, dual booted to Windows 10 on separate > partition. The linux build is currently entirely fresh, after reinstalling, > there's only anaconda and sage deps installed. > > I've succesfully installed sage from apt and conda (earlier also in WSL > and Windows on the other partition), but I could not install topcom and > latte_int external packages, either via sage -i (throws "no rule to make > target all-toolchain. Stop.") or via source builds either. > > Instead I've tried to build sage itself fully from source code and after > 65m into "make" I got > > [giac-1.6.0.47p3] /usr/bin/ld: icas.o: in function > `texmacs_graph_output(giac::gen const&, giac::gen&, > std::__cxx11::basic_string, > std::allocator >&, int, giac::context const*)': > [giac-1.6.0.47p3] > /home/maksm/sage-9.5/local/var/tmp/sage/build/giac-1.6.0.47p3/src/src/icas.cc:263: > > warning: the use of `tmpnam' is dangerous, better use `mkstemp' > [giac-1.6.0.47p3] /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libnauty.so: > undefined reference to `clique_unweighted_find_single@CLIQUER_1' > [giac-1.6.0.47p3] /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libnauty.so: > undefined reference to `graph_free@CLIQUER_1' > [giac-1.6.0.47p3] /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libnauty.so: > undefined reference to `graph_new@CLIQUER_1' > [giac-1.6.0.47p3] collect2: error: ld returned 1 exit status > [giac-1.6.0.47p3] make[7]: *** [Makefile:775: icas] Error 1 > [giac-1.6.0.47p3] make[6]: *** [Makefile:505: all-recursive] Error 1 > [giac-1.6.0.47p3] make[5]: *** [Makefile:435: all] Error 2 > [giac-1.6.0.47p3] > > [giac-1.6.0.47p3] Error building giac-1.6.0.47p3 > [giac-1.6.0.47p3] > > [giac-1.6.0.47p3] > [giac-1.6.0.47p3] real7m44.336s > [giac-1.6.0.47p3] user7m29.302s > [giac-1.6.0.47p3] sys0m13.064s > [giac-1.6.0.47p3] > > [giac-1.6.0.47p3] Error installing package giac-1.6.0.47p3 > [giac-1.6.0.47p3] > ** > > see attached the relevant logs. I left it as it was (I'm not very > experienced with this kind of problems) and would really appreciate some > hints on both this build and external packages. > > Thank you in advance, > Maks > > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/d324f28d-2681-4dc2-bd8b-bdae803e6517n%40googlegroups.com.