Le lundi 09 octobre 2006 à 09:06 -0700, Justin C. Walker a écrit :
> Hi,
> 
> On Oct 8, 2006, at 11:47 , Vanuxem Grégory wrote:
> 
> Please excuse the delay in replying.  Most of those who could respond  
> are nose-down at Sage Days 2.
> 
> > GAP in SAGE-1.4 is not compiled if CFLAGS contains space (I had some
> > problems related to this variable too to compile CLISP in older  
> > version
> > of SAGE, I always needed to use my system CLISP):
> >
> > echo $CFLAGS
> > -O2 -mtune=k8
> 
> Please explain this: do you set CFLAGS yourself, or is this done by  
> "configure" during the gap install step?

I set it myself (in fact this variable is defined and exported in my
shell initialisation file).

Greg

> > Part of the log:
> >
> > Building and installing gap-4.4.8
> > make[2]: entrant dans le répertoire
> > « /usr/local/sage/spkg/build/gap-4.4.8 »
> > if test ! -d bin;  then mkdir bin;  fi
> > if test ! -d bin/x86_64-unknown-linux-gnu-gcc;  then mkdir
> > bin/x86_64-unknown-linux-gnu-gcc;  fi
> > cp cnf/configure.out bin/x86_64-unknown-linux-gnu-gcc/configure
> > ( cd bin/x86_64-unknown-linux-gnu-gcc ; CC='gcc' ./configure
> > --target=x86_64-unknown-linux-gnu --prefix=/usr/local/sage/local
> > PREFIX=/usr/local/sage/local CC=gcc CFLAGS=-O2 -mtune=k8 CXX=g++
> > CXXFLAGS= LDFLAGS= )
> > configure: error: unrecognized option: -mtune=k8
> 
> The spaces in CFLAGS is definitely the problem, but that isn't  
> something we've run into before.
> 
> Justin
> 
> --
> Justin C. Walker, Curmudgeon-At-Large
> Institute for the Enhancement of the Director's Income
> --------
> Experience is what you get
>    when you don't get what you want.
> --------
> 
> 
> 
> 
> > 
> 


--~--~---------~--~----~------------~-------~--~----~
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