Martin Albrecht <malb@xxxxxxxxxxxxxxxxxxxxxxxx> writes:
> On Thursday 03 May 2007 18:33, Joel B. Mohler wrote:
>> Alpha 2 builds fine on x86 Gentoo, but it has a whole bunch of make test
>> errors. The entire list of files is below. The ones I reran and looked at
>> individually all seem to be related to singular. I know basically nothing
>> about interacting with singular aside from through sage so I don't really
>> know how to debug any further than a cursory inspection.
>
> As I changed the way SINGULAR is built for 2.5 it is quite likely that this
> is
> the problem. Unfortunately I will not find the time to look into this until
> around Monday as I am at a conference right now.
>
> Oh, if you are Justin Walker and you are willing to look into the PPC OSX
> problem, it would probably be sufficient if you could just point out how to
> call libtool properly on that platform. Or, if you want to dig deeper:
>
> In the Singular subdirectory of the singular spkg in the Makefile.in there is
> a section between "Handle libSINGULAR stuff" and "End libSINGULAR" which
> should be sufficient for a fix. More specifically, this seems to be wrong:
>
> ifeq ($(SINGUNAME),ppcMac-darwin)
> SO_SUFFIX = dylib
> LIBSINGULAR_FLAGS = -singule_module
> LIBSINGULAR_LD = $(LD)
> endif
This is a just a typo -- try -single_module instead of
-singule_module. On my system, I also needed to `export
MACOSX_DEPLOYMENT_TARGET=10.4' in bash, or you can set it in the
Makefile, I assume.
After doing this, I get (sorry for the color garbage):
~/sage $ ./sage
----------------------------------------------------------------------
| SAGE Version 2.5.alpha2, Release Date: 2007-05-02 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback (most recent call last)
/Users/nalexand/sage-2.5.alpha2/local/bin/<string> in <module>()
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/misc/preparser_ipython.py
in <module>()
6
[1;31m###########################################################################
[0m [1;33m [0m [0m
7 [1;33m [0m [0m
----> 8 [1;32mimport [0m [1;37msage [0m [1;33m. [0m [1;37mmisc [0m [1;33m.
[0m [1;37minterpreter [0m [1;33m [0m [0m
9 [1;33m [0m [0m
10 [1;32mimport [0m [1;37mpreparser [0m [1;33m [0m [0m
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/misc/interpreter.py
in <module>()
102 [1;33m [0m [0m
103 [1;32mimport [0m [1;37mos [0m [1;33m [0m [0m
--> 104 [1;32mimport [0m [1;37mlog [0m [1;33m [0m [0m
105 [1;33m [0m [0m
106 [1;32mfrom [0m [1;37mIPython [0m [1;33m. [0m [1;37miplib [0m
[1;32mimport [0m [1;37mInteractiveShell [0m [1;33m [0m [0m
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/misc/log.py in
<module>()
51 [1;33m [0m [0m
52 [1;32mimport [0m [1;37minterpreter [0m [1;33m [0m [0m
---> 53 [1;32mimport [0m [1;37mlatex [0m [1;33m [0m [0m
54 [1;32mimport [0m [1;37mmisc [0m [1;33m [0m [0m
55 [1;33m [0m [0m
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/misc/latex.py in
<module>()
41 [1;32mimport [0m [1;37mrandom [0m [1;33m [0m [0m
42 [1;33m [0m [0m
---> 43 [1;32mimport [0m [1;37msage [0m [1;33m. [0m [1;37mplot [0m [1;33m.
[0m [1;37mall [0m [1;33m [0m [0m
44 [1;33m [0m [0m
45 [1;32mfrom [0m [1;37mmisc [0m [1;32mimport [0m [1;37mtmp_dir [0m
[1;33m [0m [0m
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/plot/all.py in
<module>()
2 [1;37mtext [0m [1;33m, [0m [1;37mcircle [0m [1;33m,
[0m [1;37mdisk [0m [1;33m, [0m [1;37mhue [0m [1;33m, [0m
[1;37mgraphics_array [0m [1;33m, [0m [1;33m [0m [0m
3 [1;37mlist_plot [0m [1;33m, [0m [1;37mnetworkx_plot
[0m [1;33m, [0m [1;37mparametric_plot [0m [1;33m, [0m [1;33m [0m [0m
4 [1;37mpolar_plot [0m [1;33m, [0m [1;37mcontour_plot
[0m [1;33m, [0m [1;37marrow [0m [1;33m, [0m [1;33m [0m [0m
5 [1;37mplot_vector_field [0m [1;33m, [0m
[1;37mmatrix_plot [0m [1;33m, [0m [1;37mbar_chart [0m [1;33m, [0m [1;33m [0m
[0m
6 is_Graphics)
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/plot/plot.py in
<module>()
130 [1;32mimport [0m [1;37mpdb [0m [1;33m [0m [0m
131 [1;33m [0m [0m
--> 132 [1;32mfrom [0m [1;37msage [0m [1;33m. [0m [1;37mstructure [0m [1;33m.
[0m [1;37msage_object [0m [1;32mimport [0m [1;37mSageObject [0m [1;33m [0m [0m
133 [1;33m [0m [0m
134 [1;31m## IMPORTANT: Do not import matplotlib at module scope. It
takes a [0m [1;33m [0m [0m
/Users/nalexand/sage-2.5.alpha2/local/bin/sage_object.pyx in sage_object()
<type 'exceptions.ImportError'>: No module named bz2
WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback (most recent call last)
/Users/nalexand/sage-2.5.alpha2/local/bin/<ipython console> in <module>()
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/all_cmdline.py in
<module>()
3 try:
4
----> 5 from sage.all import *
6
7 except ValueError, msg:
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/all.py in <module>()
52
53 from sage.libs.all import *
---> 54 from sage.rings.all import *
55 from sage.matrix.all import *
56
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/rings/all.py in
<module>()
65
66 # Finite fields
---> 67 from finite_field import (FiniteField, is_FiniteField, GF,
68 conway_polynomial, exists_conway_polynomial)
69 from finite_field_element import FiniteFieldElement,
is_FiniteFieldElement
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/rings/finite_field.py
in <module>()
65 import field
66 import polynomial_ring
---> 67 import sage.databases.conway
68 import sage.misc.defaults
69 import polynomial_element
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/databases/conway.py
in <module>()
65
66 import sage.misc.misc
---> 67 import sage.databases.db # very important that this be fully qualified
68 _CONWAYDATA = "%s/conway_polynomials/"%sage.databases.db.DB_HOME
69
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/databases/db.py in
<module>()
97 from ZODB import FileStorage, DB
98
---> 99 import sage.databases.compressed_storage
100 import sage.misc.misc
101
/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/databases/compressed_storage.py
in <module>()
81 """
82
---> 83 import bz2
84
85
<type 'exceptions.ImportError'>: No module named bz2
Any ideas? Mac OS X 10.4, PPC.
Nick
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
sage-devel-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---
|