On Thu, Jun 30, 2016 at 11:53 PM, William Stein <[email protected]> wrote: > Hi, > > Since the build failed with "> [pynac-0.6.7] /usr/bin/ld: cannot find > -lao", I installed libao-dev, which is an Ubuntu package: > > libao-dev - Cross Platform Audio Output Library Development > > and after doing that the build got past pynac. Also, a correction, > SMC is running Ubuntu 15.10 and I said 16.04 before.
The build still failed due to libpynac issues "/projects/sage/dev/sage-7.3.beta6/local/lib/libpynac.so.2: undefined symbol: _ZN4giac3genC1ERKNSt7__cxx1112basic_stringIcSt11char_t "raitsIcESaIcEEEPKNS_7contextE; 'sage_setup.docbuild' is a package and cannot be directly executed. See below. I said: > For me, I'm fine: I just now consider libao-dev something I have to install before Sage, given that I have also installed giac. Which I now retract... and Ralf+Volker, many thanks for (presumably) fixing this in https://trac.sagemath.org/ticket/20916. I'm testing installing giac into Sage in order to finish my build, as Lief suggested. And, as an aside, I'm really happy to see people working on better Sage/giac integration! I tried looking at source code and google searching "giac ginac" and all results are from 2008, so I don't really know what's going on yet. But clearly a lot of great work has gone into giac during the last few years. I found in the sources for pynac "use giac for polynomial manipulations", so there is that, which sounds exciting. Build log: .... [tachyon-0.98.9.p5] real 0m6.015s [tachyon-0.98.9.p5] user 0m5.204s [tachyon-0.98.9.p5] sys 0m0.508s [tachyon-0.98.9.p5] Successfully installed tachyon-0.98.9.p5 [tachyon-0.98.9.p5] Deleting temporary build directory [tachyon-0.98.9.p5] /projects/sage/dev/sage-7.3.beta6/local/var/tmp/sage/build/tachyon-0.98.9.p5 [tachyon-0.98.9.p5] Finished installing tachyon-0.98.9.p5.spkg cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' logs/dochtml.log [dochtml] /projects/sage/dev/sage-7.3.beta6/local/bin/python: /projects/sage/dev/sage-7.3.beta6/local/lib/libpynac.so.2: undefined symbol: _ZN4giac3genC1ERKNSt7__cxx1112basic_stringIcSt11char_t raitsIcESaIcEEEPKNS_7contextE; 'sage_setup.docbuild' is a package and cannot be directly executed Makefile:1012: recipe for target 'doc-html' failed make[2]: *** [doc-html] Error 1 make[2]: Leaving directory '/projects/sage/dev/sage-7.3.beta6/build/make' Makefile:835: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/projects/sage/dev/sage-7.3.beta6/build/make' real 91m26.763s user 87m28.916s sys 3m28.656s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. Makefile:16: recipe for target 'all' failed make: *** [all] Error 1 You have new mail in /var/mail/salvus salvus@compute7-us:/projects/sage/dev/sage-7.3.beta6$ -- You received this message because you are subscribed to the Google Groups "sage-release" 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 https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
