On Sun, 05 Nov 2006 03:57:07 -0800, Herbert Carl Meyer <[EMAIL PROTECTED]>  
wrote:

> Dr. Stein:
>
> My problem with building sage is a bug in gcc, filed as redhat bugzilla
> #213891, on friday, nov 3. The source in the bug report is almost
> identical to line 1938 in Objects.hxx, a destructor with a template arg
> as part of the class formal name.
>
> I think the compiler is confused because the destructor has no
> arguments, so it cannot recognize the template arg as such.
>
> I attempted to comment off the dtor in the Objects.hxx source, and
> reMake, but the make unzips new sources, overwriting my mods. I do not
> understand the makefile enough to reMake with modified sources. I also
> do not know how removing the dtor (it is empty) will affect the classes
> using the template.

After the problem occurs:

(1) in SAGE_ROOT, type

         . local/bin/sage-env

(2) cd spkg/build/name_of_package_causing_trouble

(3) Edit files...

(4) ./spkg-install (or make install)


Alternatively, you can edit the spkg itself:

(1) cd to SAGE_ROOT/spkg/standard
(2) tar jxvf packagename.spkg
(3) cd packagenmae
(4) make changes
(5) SAGE_ROOT/sage -pkg packagename
(6) SAGE_ROOT/sage -f packagename.spkg


William

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

Reply via email to