I confirm this is a dependency IF you have giac installed on a Debian
system.

giac/src/debian/README.debian:Build-Depends: debhelper, libgmp-dev,
libreadline-dev, libgsl0-dev, libpng12-dev, libjpeg-dev, libpari-dev,
libntl-dev, libmpfr-dev, liblapack-dev, libfltk1.3-dev, libgl1-mesa-dev,
libxft-dev, libx11-dev, libxt-dev, libao-dev, libmpfi-dev, texlive,
texlive-math-extra, texlive-pstricks

Why it was not picked up when you installed giac, and why it is needed
only later when Pynac is installed is still unclear. I will set
--with-giac=no
as default in a Sage ticket (and you can do this too if it bothers you).

On Fri, Jul 1, 2016 at 9:08 AM Ralf Stephan <[email protected]> wrote:

> I don't get it. Why would the ao-devel pkg resolve the issue. Why don't
> I get libao if I do
> ralf@ark:~/sage> ldd local/lib/libgiac.so
> on OpenSuSE?
>
> On Fri, Jul 1, 2016 at 9:00 AM William Stein <[email protected]> wrote:
>
>> On Thu, Jun 30, 2016 at 11:56 PM, Ralf Stephan <[email protected]> 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.
>>
>> William
>>
>> >
>> > On Fri, Jul 1, 2016 at 8:39 AM William Stein <[email protected]> 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]
>> >>
>> ************************************************************************
>> >> ---
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Thu, Jun 30, 2016 at 11:51 AM, Volker Braun <[email protected]>
>> >> wrote:
>> >> > As always, you can get the latest beta version from the "develop" git
>> >> > branch. Alternatively, the self-contained source tarball is at
>> >> > http://www.sagemath.org/download-latest.html
>> >> >
>> >> > d091c43 Updated SageMath version to 7.3.beta6
>> >> > 0ca345f Trac #20906: rank is missing in Combinatorial free modules
>> >> > 44c700c Trac #20705: Classes for Reed Muller Codes
>> >> > d7ab9c6 Trac #20693: Sage crashes when inverting/dividing large
>> number
>> >> > field
>> >> > elements
>> >> > c3269eb Trac #20891: public method for _mul_trunc_
>> >> > 44820b6 Trac #20840: Automatically add generic encoders/decoders to
>> any
>> >> > linear code class
>> >> > 6c27608 Trac #20848: Degree and arithmetic genus for projective
>> curves
>> >> > ccc94a0 Trac #20890: plethysm of certain symmetric functions raises
>> an
>> >> > error
>> >> > 1d74066 Trac #20883: py3 imports in combinat folder
>> >> > 173f395 Trac #20882: py3 divisions
>> >> > 7435287 Trac #16697: implement symbolic lower incomplete gamma
>> function
>> >> > b19b6ae Trac #10034: Make evaluation possible for 'hold' objects
>> >> > 1dddfaa Trac #20880: Update git-trac package
>> >> > 2b3688a Trac #20878: PointConfiguration: Add plot method
>> >> > d43b98e Trac #20869: better check for correct pprof
>> >> > 45ec27e Trac #20832: Add a doctest for GLPK error handling and
>> verbose
>> >> > output
>> >> > 5097e5f Trac #20760: Mirror image of links
>> >> > 8012bce Trac #20424: More tests for common MIP TestSuite: add_col,
>> >> > solve;
>> >> > some fixes for backends
>> >> > 54f5c21 Trac #20837: Cleanup patching of some spkgs
>> >> > c8d9311 Trac #20855: py3 print : not tested cases, step 6
>> >> > 66989ab Trac #15152: Sage interpreter blocks Tkinter GUI
>> >> > b189d4c Trac #20845: Backport ecl long pathname fix
>> >> > f602851 Trac #20839: Basic intersection analysis for algebraic curves
>> >> > dfebda3 Trac #20874: LPAbstractDictionary: Add objective_name method
>> >> > bd9a9fb Trac #20873: py3 print : not tested cases in pyx files, step1
>> >> > e5b30c3 Trac #20862: unicode art for partitions, compositions and
>> skew
>> >> > partitions
>> >> > 8c4bd50 Trac #20854: adding the descent algebra to the algebras
>> catalog
>> >> > 1a43c41 Trac #20844: py3 division in ell_rational_field
>> >> > e0bf148 Trac #20629: some absolute imports in the rings folder
>> >> > 2cf5e41 Trac #20868: Homfly doctest errors
>> >> > 671c3d1 Updated SageMath version to 7.3.beta5
>> >> >
>> >> > --
>> >> > 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.
>> >>
>> >>
>> >>
>> >> --
>> >> William (http://wstein.org)
>> >>
>> >> --
>> >> 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.
>> >
>> > --
>> > 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.
>>
>>
>>
>> --
>> William (http://wstein.org)
>>
>> --
>> 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.
>>
>

-- 
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.

Reply via email to