On Fri, 09 Feb 2007 07:39:49 -0700, Jaap Spies <[EMAIL PROTECTED]> wrote:
> > William Stein wrote: > >> I've released SAGE-2.1. It's a nontrivial release. > > This is what happens on FC 5 upgrading 1.9 --> 2.1 Somehow your SAGE library code didn't get fully updated, e.g., there might have been a conflict that prevented Mercurial from merging it in. If you *don't* have anything important in SAGE_ROOT/devel/sage/sage-main you can just rebuild the SAGE library easily from scratch. This might also fix your problem on your other system. To rebuild just do this: rm -rf devel/sage/sage-main ./sage -f sage-2.1 # sage-2.1.1 if I release that If you have important code in sage-main, you could just move the directory somewhere else, do the above, then do: cd devel/sage/sage-main/ sage -hg pull <directory of your old sage-main> to merge your changes back in. These sort of problems should never happen if you haven't changed the contents of devel/sage/sage-main. > > Jaap > > ------------ > > ---------------------------------------------------------------------- > All tests passed! > Total time for all tests: 876.6 seconds > [EMAIL PROTECTED] sage-1.9]$ ./sage > ---------------------------------------------------------------------- > | SAGE Version 2.1, Release Date: 2007-02-09 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > But: > > [EMAIL PROTECTED] sage-1.9]$ ./sage -br > > ---------------------------------------------------------- > sage: Building and installing modified SAGE library files. > > running install > running build > running build_py > running build_ext > building 'sage.rings.finite_field_givaro' extension > gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC > -I/home /jaap/downloads/sage-1.9/local//include > -I/home/jaap/downloads/sage-1.9/local//i nclude/python > -I/home/jaap/downloads/sage-1.9/devel//sage/sage/ext -I/home/jaap/ > downloads/sage-1.9/local/include/python2.5 -c > sage/rings/finite_field_givaro.cpp -o > build/temp.linux-i686-2.5/sage/rings/finite_field_givaro.o -w > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for > Ada/C/O bjC but not for C++ > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for > Ada/C/O bjC but not for C++ > /home/jaap/downloads/sage-1.9/local//include/givaro/givrandom.h: In member > funct ion long unsigned int GivRandom::operator()() const: > /home/jaap/downloads/sage-1.9/local//include/givaro/givrandom.h:47: error: > __GI VARO_INT64 was not declared in this scope > /home/jaap/downloads/sage-1.9/local//include/givaro/givrandom.h:46: error: > expec ted primary-expression before unsigned > /home/jaap/downloads/sage-1.9/local//include/givaro/givrandom.h:46: error: > expec ted `)' before unsigned > error: command 'gcc' failed with exit status 1 > sage: There was an error installing modified sage library code. > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---