Hi everybody

I am trying to compile sage from source, I downloaded sage-4.6.2, then
make and I get



> make
cd spkg && "../spkg/pipestatus" "./install all 2>&1" "tee -a ../
install.log"
Nothing to (re)build / all up-to-date.
spkg/pipestatus "./sage -docbuild all html  2>&1" "tee -a dochtml.log"
Traceback (most recent call last):
  File "/home/jimenc/data/local/share/sage-4.6.2/devel/sage/doc/common/
builder.py", line 1059, in <module>
    getattr(get_builder(name), type)()
  File "/home/jimenc/data/local/share/sage-4.6.2/devel/sage/doc/common/
builder.py", line 243, in _wrapper
    getattr(get_builder(document), name)(*args, **kwds)
  File "/home/jimenc/data/local/share/sage-4.6.2/devel/sage/doc/common/
builder.py", line 354, in _wrapper
    self.write_auto_rest_file(module_name)
  File "/home/jimenc/data/local/share/sage-4.6.2/devel/sage/doc/common/
builder.py", line 593, in write_auto_rest_file
    title = self.get_module_docstring_title(module_name)
  File "/home/jimenc/data/local/share/sage-4.6.2/devel/sage/doc/common/
builder.py", line 563, in get_module_docstring_title
    import sage.all
  File "/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/
site-packages/sage/all.py", line 84, in <module>
    from sage.schemes.all    import *
  File "/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/
site-packages/sage/schemes/all.py", line 31, in <module>
    from elliptic_curves.all import *
  File "/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/
site-packages/sage/schemes/elliptic_curves/all.py", line 28, in
<module>
    from ell_rational_field import cremona_curves,
cremona_optimal_curves
  File "/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/
site-packages/sage/schemes/elliptic_curves/ell_rational_field.py",
line 52, in <module>
    from   ell_number_field import EllipticCurve_number_field
  File "/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/
site-packages/sage/schemes/elliptic_curves/ell_number_field.py", line
93, in <module>
    from ell_field import EllipticCurve_field
  File "/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/
site-packages/sage/schemes/elliptic_curves/ell_field.py", line 21, in
<module>
    from ell_curve_isogeny import EllipticCurveIsogeny,
isogeny_codomain_from_kernel
  File "/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/
site-packages/sage/schemes/elliptic_curves/ell_curve_isogeny.py", line
3878, in <module>
    j5 = (t**2+10*t+5)**3 / t
  File "element.pyx", line 1457, in
sage.structure.element.RingElement.__mul__ (sage/structure/element.c:
11432)
  File "element.pyx", line 1098, in
sage.structure.element.ModuleElement._mul_long (sage/structure/
element.c:8996)
  File "coerce.pyx", line 709, in
sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/
coerce.c:6105)
  File "action.pyx", line 68, in sage.categories.action.Action._call_
(sage/categories/action.c:2397)
NotImplementedError: Action not implemented.
make: *** [doc-html] Error 1


it seems that make all worked well because the tail of install.log is:


real    0m0.394s
user    0m0.230s
sys     0m0.121s
Successfully installed weave-0.4.9.p0
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing weave-0.4.9.p0.spkg
make[1]: Leaving directory `/.data/aldebaran/jimenc/share/sage-4.6.2/
spkg'

real    114m30.101s
user    100m47.792s
sys     9m57.543s
To install gap, gp, singular, etc., scripts
in a standard bin directory, start sage and
type something like
   sage: install_scripts('/usr/local/bin')
at the Sage command prompt.

To build the documentation, run
   make doc

Sage build/upgrade complete!
Nothing to (re)build / all up-to-date.
Nothing to (re)build / all up-to-date.
Nothing to (re)build / all up-to-date.




when I try to run sage I get:
> ./sage
----------------------------------------------------------------------
| Sage Version 4.6.2, Release Date: 2011-02-25                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call
last)

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/IPython/ipmaker.pyc in force_import(modname)
     64         reload(sys.modules[modname])
     65     else:
---> 66         __import__(modname)
     67
     68

/.data/aldebaran/jimenc/share/sage-4.6.2/local/bin/ipy_profile_sage.py
in <module>()
      5     preparser(True)
      6
----> 7     import sage.all_cmdline
      8     sage.all_cmdline._init_cmdline(globals())
      9

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/all_cmdline.py in <module>()
     12 try:
     13
---> 14     from sage.all import *
     15     from sage.calculus.predefined import x
     16     preparser(on=True)

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/all.py in <module>()
     82 from sage.algebras.all   import *
     83 from sage.modular.all    import *
---> 84 from sage.schemes.all    import *
     85 from sage.graphs.all     import *
     86 from sage.groups.all     import *

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/schemes/all.py in <module>()
     29 from plane_conics.all import *
     30
---> 31 from elliptic_curves.all import *
     32
     33 from plane_quartics.all import *

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/schemes/elliptic_curves/all.py in <module>()
     26 from ell_generic import is_EllipticCurve
     27
---> 28 from ell_rational_field import cremona_curves,
cremona_optimal_curves
     29
     30 from cm import ( cm_j_invariants,

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/schemes/elliptic_curves/ell_rational_field.py in
<module>()
     50 from   ell_generic import EllipticCurve_generic,
is_EllipticCurve
     51 import ell_modular_symbols
---> 52 from   ell_number_field import EllipticCurve_number_field
     53 import ell_point
     54 import ell_tate_curve

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/schemes/elliptic_curves/ell_number_field.py in
<module>()
     91
#*****************************************************************************

     92
---> 93 from ell_field import EllipticCurve_field
     94 import ell_point
     95 import sage.matrix.all as matrix

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/schemes/elliptic_curves/ell_field.py in <module>()
     19 from constructor import EllipticCurve
     20
---> 21 from ell_curve_isogeny import EllipticCurveIsogeny,
isogeny_codomain_from_kernel
     22 from ell_wp import weierstrass_p
     23

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/schemes/elliptic_curves/ell_curve_isogeny.py in
<module>()
   3876 t = Qt.gen()
   3877 j3 = (t+3)**3*(t+27) / t
-> 3878 j5 = (t**2+10*t+5)**3 / t
   3879 j7 = (t**2+5*t+1)**3 * (t**2+13*t+49) / t
   3880 j13 = (t**2+5*t+13)*(t**4+7*t**3+20*t**2+19*t+1)**3 / t

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/structure/element.so in
sage.structure.element.RingElement.__mul__ (sage/structure/element.c:
11432)()

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/structure/element.so in
sage.structure.element.ModuleElement._mul_long (sage/structure/
element.c:8996)()

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/structure/coerce.so in
sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/
coerce.c:6105)()

/home/jimenc/data/local/share/sage-4.6.2/local/lib/python2.6/site-
packages/sage/categories/action.so in
sage.categories.action.Action._call_ (sage/categories/action.c:2397)()

NotImplementedError: Action not implemented.
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

sage:1+2
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call
last)

/.data/aldebaran/jimenc/share/sage-4.6.2/local/bin/<ipython console>
in <module>()

NameError: name 'Integer' is not defined



some misc information:

> gcc --version
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


> uname -a
Linux aldebaran.phys.rpi.edu 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25
13:45:47 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

> cat /etc/*release
CentOS release 5.2 (Final)



Any suggestion? Thanks for your kind help


-- 
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-support
URL: http://www.sagemath.org

Reply via email to