On Dec 18, 2007 10:27 AM, William Stein <[EMAIL PROTECTED]> wrote:
>
> what happens if you type
>
>      sudo sage -br

I get the following errors during the process:

sage/libs/mwrank/wrap.cc: In function 'double
Curvedata_silverman_bound(const Curvedata*)':
sage/libs/mwrank/wrap.cc:81: error: 'silverman_bound' was not declared
in this scope
sage/libs/mwrank/wrap.cc: In function 'double
Curvedata_cps_bound(const Curvedata*)':
sage/libs/mwrank/wrap.cc:86: error: 'cps_bound' was not declared in this scope
sage/libs/mwrank/wrap.cc: In function 'double
Curvedata_height_constant(const Curvedata*)':
sage/libs/mwrank/wrap.cc:91: error: 'height_constant' was not declared
in this scope
sage/libs/mwrank/wrap.cc: In function 'char* Curvedata_getdiscr(Curvedata*)':
sage/libs/mwrank/wrap.cc:97: error: 'getdiscr' was not declared in this scope
sage/libs/mwrank/wrap.cc: In function 'char* Curvedata_conductor(Curvedata*)':
sage/libs/mwrank/wrap.cc:103: error: 'CurveRed' was not declared in this scope
sage/libs/mwrank/wrap.cc:103: error: expected `;' before 'E'
sage/libs/mwrank/wrap.cc:105: error: 'E' was not declared in this scope
sage/libs/mwrank/wrap.cc:105: error: 'getconductor' was not declared
in this scope
sage/libs/mwrank/wrap.cc: In function 'char*
Curvedata_isogeny_class(Curvedata*, int)':
sage/libs/mwrank/wrap.cc:113: error: 'CurveRed' was not declared in this scope
sage/libs/mwrank/wrap.cc:113: error: expected `;' before 'C'
sage/libs/mwrank/wrap.cc:114: error: 'C' was not declared in this scope
sage/libs/mwrank/wrap.cc:115: error: 'IsogenyClass' was not declared
in this scope
sage/libs/mwrank/wrap.cc:115: error: expected `;' before 'cl'
sage/libs/mwrank/wrap.cc:116: error: 'cl' was not declared in this scope
sage/libs/mwrank/wrap.cc:117: error: 'vector' was not declared in this scope
sage/libs/mwrank/wrap.cc:117: error: 'crs' was not declared in this scope
sage/libs/mwrank/wrap.cc:118: error: 'Curve' was not declared in this scope
sage/libs/mwrank/wrap.cc:118: error: 'cs' was not declared in this scope
sage/libs/mwrank/wrap.cc: In function 'mw* mw_new(Curvedata*, int, int, int)':
sage/libs/mwrank/wrap.cc:140: error: invalid use of undefined type 'struct mw'
sage/libs/mwrank/wrap.h:73: error: forward declaration of 'struct mw'
sage/libs/mwrank/wrap.cc: In function 'void mw_del(mw*)':
sage/libs/mwrank/wrap.cc:145: note: neither the destructor nor the
class-specific operator delete will be called, even if they are
declared when the class is defined.
sage/libs/mwrank/wrap.cc: In function 'int mw_process(Curvedata*, mw*,
const bigint*, const bigint*, const bigint*, int)':
sage/libs/mwrank/wrap.cc:152: error: 'Point' was not declared in this scope
sage/libs/mwrank/wrap.cc:152: error: expected `;' before 'P'
sage/libs/mwrank/wrap.cc:153: error: 'P' was not declared in this scope
sage/libs/mwrank/wrap.cc:155: error: invalid use of undefined type 'struct mw'
sage/libs/mwrank/wrap.h:73: error: forward declaration of 'struct mw'
sage/libs/mwrank/wrap.cc:155: error: 'P' was not declared in this scope
sage/libs/mwrank/wrap.cc: At global scope:
sage/libs/mwrank/wrap.cc:159: error: expected ',' or '...' before '<' token
sage/libs/mwrank/wrap.cc:159: error: ISO C++ forbids declaration of
'vector' with no type
sage/libs/mwrank/wrap.cc: In function 'char* point_vector_to_str(int)':
sage/libs/mwrank/wrap.cc:163: error: 'v' was not declared in this scope
sage/libs/mwrank/wrap.cc: In function 'char* mw_getbasis(mw*)':
sage/libs/mwrank/wrap.cc:174: error: invalid use of undefined type 'struct mw'
sage/libs/mwrank/wrap.h:73: error: forward declaration of 'struct mw'
sage/libs/mwrank/wrap.cc: In function 'char* mw_regulator(mw*)':
sage/libs/mwrank/wrap.cc:179: error: 'bigfloat' was not declared in this scope
sage/libs/mwrank/wrap.cc:179: error: expected `;' before 'reg'
sage/libs/mwrank/wrap.cc:181: error: 'reg' was not declared in this scope
sage/libs/mwrank/wrap.cc: In function 'int mw_rank(mw*)':
sage/libs/mwrank/wrap.cc:187: error: invalid use of undefined type 'struct mw'
sage/libs/mwrank/wrap.h:73: error: forward declaration of 'struct mw'
sage/libs/mwrank/wrap.cc: In function 'int mw_saturate(mw*, bigint*,
char**, long int, int)':
sage/libs/mwrank/wrap.cc:194: error: 'vector' was not declared in this scope
sage/libs/mwrank/wrap.cc:194: error: expected primary-expression before 'long'
sage/libs/mwrank/wrap.cc:194: error: expected `;' before 'long'
sage/libs/mwrank/wrap.cc:195: error: invalid use of undefined type 'struct mw'
sage/libs/mwrank/wrap.h:73: error: forward declaration of 'struct mw'
sage/libs/mwrank/wrap.cc:195: error: 'v' was not declared in this scope
sage/libs/mwrank/wrap.cc: At global scope:
sage/libs/mwrank/wrap.cc:202: error: 'bigfloat' does not name a type
sage/libs/mwrank/wrap.cc: In function 'void mw_search(mw*, char*, int, int)':
sage/libs/mwrank/wrap.cc:213: error: invalid use of undefined type 'struct mw'
sage/libs/mwrank/wrap.h:73: error: forward declaration of 'struct mw'
sage/libs/mwrank/wrap.cc:213: error: 'str_to_bigfloat' was not
declared in this scope
sage/libs/mwrank/wrap.cc: In function 'two_descent*
two_descent_new(Curvedata*, int, int, long int, long int, long int,
int)':
sage/libs/mwrank/wrap.cc:226: error: invalid use of undefined type
'struct two_descent'
sage/libs/mwrank/wrap.h:100: error: forward declaration of 'struct two_descent'
sage/libs/mwrank/wrap.cc: In function 'void two_descent_del(two_descent*)':
sage/libs/mwrank/wrap.cc:231: note: neither the destructor nor the
class-specific operator delete will be called, even if they are
declared when the class is defined.
sage/libs/mwrank/wrap.cc: In function 'long int
two_descent_getrank(two_descent*)':
sage/libs/mwrank/wrap.cc:236: error: invalid use of undefined type
'struct two_descent'
sage/libs/mwrank/wrap.h:100: error: forward declaration of 'struct two_descent'
sage/libs/mwrank/wrap.cc: In function 'long int
two_descent_getselmer(two_descent*)':
sage/libs/mwrank/wrap.cc:241: error: invalid use of undefined type
'struct two_descent'
sage/libs/mwrank/wrap.h:100: error: forward declaration of 'struct two_descent'
sage/libs/mwrank/wrap.cc: In function 'char*
two_descent_getbasis(two_descent*)':
sage/libs/mwrank/wrap.cc:246: error: invalid use of undefined type
'struct two_descent'
sage/libs/mwrank/wrap.h:100: error: forward declaration of 'struct two_descent'
sage/libs/mwrank/wrap.cc: In function 'int two_descent_ok(const two_descent*)':
sage/libs/mwrank/wrap.cc:251: error: invalid use of undefined type
'const struct two_descent'
sage/libs/mwrank/wrap.h:100: error: forward declaration of 'const
struct two_descent'
sage/libs/mwrank/wrap.cc: In function 'long int
two_descent_getcertain(const two_descent*)':
sage/libs/mwrank/wrap.cc:256: error: invalid use of undefined type
'const struct two_descent'
sage/libs/mwrank/wrap.h:100: error: forward declaration of 'const
struct two_descent'
sage/libs/mwrank/wrap.cc: In function 'void
two_descent_saturate(two_descent*, long int)':
sage/libs/mwrank/wrap.cc:261: error: invalid use of undefined type
'struct two_descent'
sage/libs/mwrank/wrap.h:100: error: forward declaration of 'struct two_descent'
sage/libs/mwrank/wrap.cc: In function 'char*
two_descent_regulator(two_descent*)':
sage/libs/mwrank/wrap.cc:266: error: 'bigfloat' was not declared in this scope
sage/libs/mwrank/wrap.cc:266: error: expected `;' before 'reg'
sage/libs/mwrank/wrap.cc:268: error: 'reg' was not declared in this scope
error: command 'gcc' failed with exit status 1
sage: There was an error installing modified sage library code.

>
> then try sage -notebook again

Same error:

[EMAIL PROTECTED]:~$ sudo sage -notebook
----------------------------------------------------------------------
| SAGE Version 2.9, Release Date: 2007-12-16                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

Please wait while the SAGE Notebook server starts...
Traceback (most recent call last):
  File "/usr/local/sage/local/bin/sage-notebook", line 9, in <module>
    from sage.server.notebook.all import notebook
ImportError: No module named sage.server.notebook.all

Thanks!

> - William
>
> (Sent from my iPhone.)

Adam
-- 
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to