On Dec 13, 6:20 pm, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> On Dec 13, 6:05 pm, "John A. Murdie" <[EMAIL PROTECTED]> wrote:
>
> Hello John,
>
Hello John,
I got some feedback from Hans Schöneman of the Singular team. His
proposed solution is to change line 127 in Singular/cntrlc.cc from
#include <asm/sigcontext.h>
to
#include <signal.h>
According to Hans it works on the 32 bit boxen he tested. He had a
technical explanation want goes wrong in German, but I am skipping the
translation of it unless somebody wants to know the details.
I don't know if you are able/willing to do this, but I should have an
updated SIngular.spkg in a couple hours with that change.
Cheers,
Michael
> > Has anyone seen this problem yet? (I'll investigate it myself also.)
> > Slackware Linux 12.0, gcc 4.1.12 - versions of other things and/or
> > other configuration details on request.
>
> Nope, I have never seen that one before. Please let us know if you get
> it to work. This is now #1486, see
>
> http://www.sagetrac.org/sage_trac/ticket/1486
>
> I will ping the Singular team about this, too. We don't test on
> slackware, but maybe we should. If you have a link to a pre-configured
> minimal install that [usually] compiles Sage please let us know.
>
> Cheers,
>
> Michael
>
> > ...
> > make[4]: Leaving directory `/local/d0p6/john/sage-2.8.15/spkg/build/
> > singular-3-0-4-1-20071202/src/kernel'
> > make install in Singular
> > make[4]: Entering directory `/local/d0p6/john/sage-2.8.15/spkg/build/
> > singular-3-0-4-1-20071202/src/Singular'
> > ...
> > g++ -fPIC -O3 -g -pipe -fno-implicit-templates -I. -I../kernel -I/
> > local/d0p6/john/sage-2.8.15/local/include -DNDEBUG -DOM_NDEBUG -
> > Dix86_Linux -DHAVE_CONFIG_H -c walk_ip.cc
> > g++ -fPIC -O3 -g -pipe -fno-implicit-templates -I. -I../kernel -I/
> > local/d0p6/john/sage-2.8.15/local/include -DNDEBUG -DOM_NDEBUG -
> > Dix86_Linux -DHAVE_CONFIG_H -c cntrlc.cc
> > /usr/include/asm/sigcontext.h:20: error: redefinition of 'struct
> > _fpreg'
> > /usr/include/bits/sigcontext.h:29: error: previous definition of
> > 'struct _fpreg'
> > /usr/include/asm/sigcontext.h:25: error: redefinition of 'struct
> > _fpxreg'
> > /usr/include/bits/sigcontext.h:35: error: previous definition of
> > 'struct _fpxreg'
> > /usr/include/asm/sigcontext.h:31: error: redefinition of 'struct
> > _xmmreg'
> > /usr/include/bits/sigcontext.h:42: error: previous definition of
> > 'struct _xmmreg'
> > /usr/include/asm/sigcontext.h:35: error: redefinition of 'struct
> > _fpstate'
> > /usr/include/bits/sigcontext.h:51: error: previous definition of
> > 'struct _fpstate'
> > /usr/include/asm/sigcontext.h:59: error: redefinition of 'struct
> > sigcontext'
> > /usr/include/bits/sigcontext.h:82: error: previous definition of
> > 'struct sigcontext'
> > make[4]: *** [cntrlc.o] Error 1
> > make[4]: Leaving directory `/local/d0p6/john/sage-2.8.15/spkg/build/
> > singular-3-0-4-1-20071202/src/Singular'
> > make[3]: *** [install] Error 1
> > make[3]: Leaving directory `/local/d0p6/john/sage-2.8.15/spkg/build/
> > singular-3-0-4-1-20071202/src'
> > make[2]: *** [/local/d0p6/john/sage-2.8.15/local/bin/Singular-3-0-4]
> > Error 2
> > make[2]: Leaving directory `/local/d0p6/john/sage-2.8.15/spkg/build/
> > singular-3-0-4-1-20071202/src'
> > Unable to build Singular.
> > ...
> > sage: An error occurred while installing singular-3-0-4-1-20071202
> > Please email sage-develhttp://groups.google.com/group/sage-devel
> > explaining the problem and send the relevant part of
> > of /local/d0p6/john/sage-2.8.15/install.log. Describe your computer,
> > operating system, etc.
> > If you want to try to fix the problem, yourself *don't* just cd to
> > /local/d0p6/john/sage-2.8.15/spkg/build/singular-3-0-4-1-20071202 and
> > type 'make'.
> > Instead type "/local/d0p6/john/sage-2.8.15/sage -sh"
> > in order to set all environment variables correctly, then cd to
> > /local/d0p6/john/sage-2.8.15/spkg/build/singular-3-0-4-1-20071202
> > (When you are done debugging, you can type "exit" to leave the
> > subshell.)
> > make[1]: *** [installed/singular-3-0-4-1-20071202] Error 1
> > make[1]: Leaving directory `/local/d0p6/john/sage-2.8.15/spkg'
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---