On 2/16/07, William Stein <[EMAIL PROTECTED]> wrote:
> Actually, after applying your patch when I try to build I get:
>
> rank4:~/grants/2007-packard was$ sage -br
>
> ----------------------------------------------------------
> sage: Building and installing modified SAGE library files.
>
> sage/rings/real_qdrf.pyx --> 
> /Users/was/s/local//lib/python/site-packages//sage/rings/real_qdrf.pyx
> pyrexc --embed-positions -I/Users/was/s/devel/sage-main 
> sage/rings/real_qdrf.pyx
> running install
> running build
> running build_py
> running build_ext
> building 'sage.rings.real_qdrf' extension
> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd 
> -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/was/s/local//include 
> -I/Users/was/s/local//include/python -I/Users/was/s/devel//sage/sage/ext 
> -I/Users/was/s/local/include/python2.5 -c sage/rings/real_qdrf.cpp -o 
> build/temp.macosx-10.3-i386-2.5/sage/rings/real_qdrf.o -w
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
> C/ObjC but not for C++
> sage/rings/real_qdrf.cpp:1198: error: integer constant is too large for 
> 'long' type
> error: command 'gcc' failed with exit status 1
> sage: There was an error installing modified sage library code.
>
> where 1198 has the big constant below...
>
>    /* "/Users/was/s/devel/sage-main/sage/rings/real_qdrf.pyx":122
>   *
>   *     def __hash__(self):
>   *         return -8953654399753187499 #==hash(self.name())             # 
> <<<<<<<<<<<<<<
>   *
>   *     def pi(self):
>   */

This is weird, but not too bad. You could just uncomment line  what's
after 122 so that it looks like this
{{{
def __hash__(self):
        return hash(self.name())
}}}

didier

--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to