William Stein wrote: > On Thu, Jun 30, 2016 at 11:56 PM, Ralf Stephan <gtrw...@gmail.com> wrote: >>> [pynac-0.6.7] /usr/bin/ld: cannot find -lao >>> [pynac-0.6.7] collect2: error: ld returned 1 exit status >> >> No idea where you get that library dependence from. What changed >> with beta5 was that if giac was installed that would be linked, so an >> experiment would be to uninstall giac and sage -p pynac after that. > > giac is definitely installed. Maybe giac or something related now > has some new support for libao -- audio output? It makes sense... > > 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. I'm > sure this will cause great confusion to other people who like to > install lots of math software on the same system in the future though.
For 7.3.beta5 and beta6, ./sage -i giac && make should get you past that error as well. -leif > > William > >> >> On Fri, Jul 1, 2016 at 8:39 AM William Stein <wst...@gmail.com> wrote: >>> >>> Hi, >>> >>> On sagemathcloud (Ubuntu 16.04+lots) I've built all the betas up to >>> 7.3.beta4 fine. 7.3.beta5 (via upgrade) won't build, nor will >>> 7.3.beta6. The complete failed at pynac build log for 7.3.beta6 is >>> attached. >>> >>> "I am unable to get 7.3.beta5 to compile on this project. I tried >>> updating from the developer version rsynced from >>> /projects/sage/sage-dev/ and then building with ./sage -b, but it >>> fails when compiling gen.pyx. Alternatively, when I run 'make', it >>> fails on building pynac. I've also tried wgetting the 7.3.beta5 >>> tarball and making from scratch, but still get the same failure on >>> pynac. I feel like I must be missing something obvious. Thanks in >>> advance for any help! [...] FYI, 7.3.beta6 still fails to build on >>> pynac. For now, I'm just sticking with 7.3.beta4. Thank you both for >>> your help!" >>> >>> Build ends with: >>> >>> --- >>> >>> pynac-0.6.7] CXX libpynac_la-infoflagbase.lo >>> >>> [pynac-0.6.7] CXX libpynac_la-order.lo >>> >>> sage-logger -p 'sage-spkg speaklater-1.3' >>> >>> '/projects/74fa0622-89a5-45b8-9451-eaaacd2ad12b/sage-git/logs/pkgs/speaklater-1.3.log' >>> >>> [speaklater-1.3] Found local metadata for speaklater-1.3 >>> >>> [speaklater-1.3] Attempting to download package speaklater-1.3.tar.gz >>> from mirrors >>> >>> [speaklater-1.3] >>> http://mirrors.mit.edu/sage/spkg/upstream/speaklater/speaklater-1.3.tar.gz >>> >>> [pynac-0.6.7] CXXLD libpynac.la >>> >>> [speaklater-1.3] >>> [......................................................................] >>> >>> [speaklater-1.3] speaklater-1.3 >>> >>> [speaklater-1.3] ==================================================== >>> >>> [speaklater-1.3] Setting up build directory for speaklater-1.3 >>> >>> [speaklater-1.3] Finished extraction >>> >>> [speaklater-1.3] **************************************************** >>> >>> [speaklater-1.3] Host system: >>> >>> [speaklater-1.3] Linux compute6-us 4.2.0-30-generic #36-Ubuntu SMP Fri >>> Feb 26 00:58:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux >>> >>> [speaklater-1.3] **************************************************** >>> >>> [speaklater-1.3] C compiler: gcc >>> >>> [speaklater-1.3] C compiler version: >>> >>> [speaklater-1.3] Using built-in specs. >>> >>> [speaklater-1.3] COLLECT_GCC=gcc >>> >>> [speaklater-1.3] >>> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper >>> >>> [speaklater-1.3] Target: x86_64-linux-gnu >>> >>> [speaklater-1.3] Configured with: ../src/configure -v >>> --with-pkgversion='Ubuntu 5.2.1-22ubuntu2' >>> --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs >>> --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ >>> --prefix=/usr --program-suffix=-5 --enable-shared >>> --enable-linker-build-id --libexecdir=/usr/lib >>> --without-included-gettext --enable-threads=posix --libdir=/usr/lib >>> --enable-nls --with-sysroot=/ --enable-clocale=gnu >>> --enable-libstdcxx-debug --enable-libstdcxx-time=yes >>> --with-default-libstdcxx-abi=new --enable-gnu-unique-object >>> --disable-vtable-verify --enable-libmpx --enable-plugin >>> --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk >>> --enable-gtk-cairo >>> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre >>> --enable-java-home >>> --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 >>> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 >>> --with-arch-directory=amd64 >>> --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc >>> --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 >>> --with-multilib-list=m32,m64,mx32 --enable-multilib >>> --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu >>> --host=x86_64-linux-gnu --target=x86_64-linux-gnu >>> >>> [speaklater-1.3] Thread model: posix >>> >>> [speaklater-1.3] gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) >>> >>> [speaklater-1.3] **************************************************** >>> >>> [speaklater-1.3] running install >>> >>> [pynac-0.6.7] /usr/bin/ld: cannot find -lao >>> >>> [pynac-0.6.7] collect2: error: ld returned 1 exit status >>> >>> [pynac-0.6.7] Makefile:493: recipe for target 'libpynac.la' failed >>> >>> [pynac-0.6.7] make[5]: *** [libpynac.la] Error 1 >>> >>> [pynac-0.6.7] make[5]: Leaving directory >>> >>> '/projects/74fa0622-89a5-45b8-9451-eaaacd2ad12b/sage-git/local/var/tmp/sage/build/pynac-0.6.7/src/ginac' >>> >>> [pynac-0.6.7] Makefile:480: recipe for target 'all-recursive' failed >>> >>> [pynac-0.6.7] make[4]: *** [all-recursive] Error 1 >>> >>> [pynac-0.6.7] make[4]: Leaving directory >>> >>> '/projects/74fa0622-89a5-45b8-9451-eaaacd2ad12b/sage-git/local/var/tmp/sage/build/pynac-0.6.7/src' >>> >>> [pynac-0.6.7] Makefile:386: recipe for target 'all' failed >>> >>> [pynac-0.6.7] make[3]: *** [all] Error 2 >>> >>> [pynac-0.6.7] make[3]: Leaving directory >>> >>> '/projects/74fa0622-89a5-45b8-9451-eaaacd2ad12b/sage-git/local/var/tmp/sage/build/pynac-0.6.7/src' >>> >>> [pynac-0.6.7] Error building pynac. >>> >>> [pynac-0.6.7] >>> >>> [pynac-0.6.7] real 2m34.853s >>> >>> [pynac-0.6.7] user 2m59.392s >>> >>> [pynac-0.6.7] sys 0m14.004s >>> >>> [pynac-0.6.7] >>> ************************************************************************ >>> >>> [pynac-0.6.7] Error installing package pynac-0.6.7 >>> >>> [pynac-0.6.7] >>> ************************************************************************ >>> --- -- 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 sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.