#8837: Sage 4.4.1: the symmetrica Sage library cython code doesn't build on OS X
10.4 PowerPC, Intel
----------------------+-----------------------------------------------------
Reporter: was | Owner: GeorgSWeber
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.1
Component: build | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------+-----------------------------------------------------
Comment(by GeorgSWeber):
After a hint of William, the problem seems to narrow down on the update
from pari-2.3.3.p8.spkg to pari-2.3.5.spkg by trac ticket #8453.
Comparing an install.log from before:
{{{
Configuring pari-2.3.3 (STABLE)
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...ld is /usr/bin/ld
...zcat is /usr/bin/zcat
...gzip is /usr/bin/gzip
...ranlib is /usr/bin/ranlib
...perl is /usr/bin/perl
...emacs is /usr/bin/emacs
GNU compiler version 4.0.1 (Apple Computer, Inc. build 5370)
Given the previous choices, sizeof(long) is 4 chars.
The internal word representation of a double is l[1], l[0].
==========================================================================
Building for architecture: i386 running darwin (ix86/GMP kernel) 32-bit
version
==========================================================================
C compiler is gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-
pointer -fno-gcse-after-reload -fno-common
Executable linker is gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-
pointer -fno-gcse-after-reload
Dynamic Lib linker is gcc -dynamiclib $(CFLAGS) $(DLCFLAGS)
-Wl,-flat_namespace,-undefined,suppress
Looking in C lib for some symbols...
...Found exp2.
...Found log2.
...Found strftime.
...Found getrusage.
...Found sigaction.
...Found TIOCGWINSZ.
...Found getrlimit.
...Found stat.
...Found vsnprintf.
...Found dlopen.
Checking for optional libraries and headers...
...Found libgmp in /Users/Shared/sage/sage-4.4.rc0/local/lib
...Found gmp header in /Users/Shared/sage/sage-4.4.rc0/local/include
Using GNU MP, version 4.2.1
...Found libX11 in /usr/X11R6/lib
...Found X11 header files in /usr/X11R6/include/X11
Hi-Res Graphics: none
...Found libreadline in /Users/Shared/sage/sage-4.4.rc0/local/lib
...Found readline header in
/Users/Shared/sage/sage-4.4.rc0/local/include/readline
...Found history header in
/Users/Shared/sage/sage-4.4.rc0/local/include/readline
...Found libncurses in /usr/lib
...Library ncurses needed by readline
Using GNU readline, version 6.0
Installation prefix ? [/Users/Shared/sage/sage-4.4.rc0/local]
...for architecture-independent files (share-prefix) ?
[/Users/Shared/sage/sage-4.4.rc0/local/share]
Installation directories for:
...executables (gp, gphelp) ? [/Users/Shared/sage/sage-4.4.rc0/local/bin]
...libraries (libpari) ? [/Users/Shared/sage/sage-4.4.rc0/local/lib]
...include files ? [/Users/Shared/sage/sage-4.4.rc0/local/include]
...manual pages ? [/Users/Shared/sage/sage-4.4.rc0/local/share/man/man1]
...emacs macros ? [/Users/Shared/sage/sage-4.4.rc0/local/share/emacs/site-
lisp/pari]
...other system-dependant data ?
[/Users/Shared/sage/sage-4.4.rc0/local/lib/pari]
...other system-independant data ?
[/Users/Shared/sage/sage-4.4.rc0/local/share/pari]
Default is dynamic executable and shared library
==========================================================================
}}}
with an install log after this pari spkg update:
{{{
Configuring pari-2.3.5 (STABLE)
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...ld is /usr/bin/ld
...zcat is /usr/bin/zcat
...gzip is /usr/bin/gzip
...ranlib is /usr/bin/ranlib
...perl is /usr/bin/perl
...emacs is /usr/bin/emacs
GNU compiler version 4.0.1 (Apple Computer, Inc. build 5370)
Given the previous choices, sizeof(long) is 4 chars.
The internal word representation of a double is l[1], l[0].
==========================================================================
Building for architecture: i386 running darwin (ix86/GMP kernel) 32-bit
version
==========================================================================
C compiler is gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-
pointer -fno-gcse-after-reload -fno-common
Executable linker is gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-
pointer -fno-gcse-after-reload
No Dynamic Lib
Looking in C lib for some symbols...
...Found exp2.
...Found log2.
...Found strftime.
...Found getrusage.
...Found sigaction.
...Found TIOCGWINSZ.
...Found getrlimit.
...Found stat.
...Found vsnprintf.
...Found dlopen.
Checking for optional libraries and headers...
...Found libgmp in /Users/Shared/sage/test/sage-4.4.1.alpha1/local/lib
...Found gmp header in
/Users/Shared/sage/test/sage-4.4.1.alpha1/local/include
Using GNU MP, version 4.2.1
...Found libX11 in /usr/X11R6/lib
...Found X11 header files in /usr/X11R6/include/X11
Hi-Res Graphics: none
...Found libreadline in
/Users/Shared/sage/test/sage-4.4.1.alpha1/local/lib
...Found readline header in
/Users/Shared/sage/test/sage-4.4.1.alpha1/local/include/readline
...Found history header in
/Users/Shared/sage/test/sage-4.4.1.alpha1/local/include/readline
...Found libncurses in /usr/lib
...Library ncurses needed by readline
Using GNU readline, version 6.0
Installation prefix ? [/Users/Shared/sage/test/sage-4.4.1.alpha1/local]
...for architecture-independent files (share-prefix) ?
[/Users/Shared/sage/test/sage-4.4.1.alpha1/local/share]
Installation directories for:
...executables (gp, gphelp) ?
[/Users/Shared/sage/test/sage-4.4.1.alpha1/local/bin]
...libraries (libpari) ?
[/Users/Shared/sage/test/sage-4.4.1.alpha1/local/lib]
...include files ?
[/Users/Shared/sage/test/sage-4.4.1.alpha1/local/include]
...manual pages ?
[/Users/Shared/sage/test/sage-4.4.1.alpha1/local/share/man/man1]
...emacs macros ?
[/Users/Shared/sage/test/sage-4.4.1.alpha1/local/share/emacs/site-
lisp/pari]
...other system-dependant data ?
[/Users/Shared/sage/test/sage-4.4.1.alpha1/local/lib/pari]
...other system-independant data ?
[/Users/Shared/sage/test/sage-4.4.1.alpha1/local/share/pari]
Default is static executable and archive library
==========================================================================
}}}
show a difference. Namely, pari seems to be built no longer dynamically,
but statically instead. This certainly would be an explanation for the
build error seen. I'm investigating further.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8837#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.