On 18 Mai, 14:48, Paul Leopardi <paul.leopa...@iinet.net.au> wrote:
> Hi all,
> OK. I have now run make again, this time with
> unset SAGE_CHECK
> unset SAGE64
>
> The build apparently completes, but dochtml.log still has much the same error
> messages:
> -------------------
> sphinx-build -b html -d
> /home/leopardi/src/Sage/sage-4.4.1/devel/sage/doc/output/doctrees/en/numerical_sage
>     
> /home/leopardi/src/Sage/sage-4.4.1/devel/sage/doc/en/numerical_sage
> /home/leopardi/src/Sage/sage-4.4.1/devel/sage/doc/output/html/en/numerical_sage
> Traceback (most recent call last):
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/bin/sphinx-build", line 6, in
> <module>
>     import sage.all
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/all.py", line 72, in <module>
>     from sage.rings.all      import *
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/rings/all.py", line 65, in <module>
>     from finite_rings.all import *
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/rings/finite_rings/all.py", line 21, in <module>
>     from constructor import (FiniteField, is_FiniteField, is_PrimeFiniteField,
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/rings/finite_rings/constructor.py", line 162, in <module>
>     import sage.rings.polynomial.polynomial_element as polynomial_element
>   File "polynomial_element.pyx", line 33, in init
> sage.rings.polynomial.polynomial_element
> (sage/rings/polynomial/polynomial_element.c:42238)
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/rings/polynomial/polynomial_ring.py", line 105, in <module>
>     import sage.rings.polynomial.polynomial_element_generic as
> polynomial_element_generic
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/rings/polynomial/polynomial_element_generic.py", line 37, in
> <module>
>     from sage.rings.polynomial.polynomial_ring_constructor import
> PolynomialRing
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/rings/polynomial/polynomial_ring_constructor.py", line 41, in
> <module>
>     import sage.rings.padics.padic_base_leaves as padic_base_leaves
>   File "/home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/rings/padics/padic_base_leaves.py", line 189, in <module>
>     from padic_capped_relative_element import pAdicCappedRelativeElement
>   File "padic_capped_relative_element.pyx", line 1, in init
> sage.rings.padics.padic_capped_relative_element
> (sage/rings/padics/padic_capped_relative_element.c:17903)
> ImportError: /home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site-
> packages/sage/rings/padics/padic_base_generic_element.so: undefined symbol:
> __gmpz_cmp

Just a hint (Cython experts!?):
padic_base_generic_element[.pyx/.so] happens to directly use libgmp,
but does not link with it (see install.log; readelf -d
padic_base_generic_element.so also shows this).

__gmpz_cmp is just the *first* symbol (from libgmp) that can't be
resolved.
(The reason this though works on other systems is just how/where the
linker looks for unresolved symbols, i.e.
padic_base_generic_element.so depends on e.g. libcsage.so which in
turn depends on libgmp.so).

Sorry, no solution, just the reason... (unless you're going to
directly edit the shared library ;-)

-Leif

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to