On 30 nov, 00:34, David Kirkby <[email protected]> wrote:
> On 29 November 2010 14:49, Jean-Pierre Flori <[email protected]> wrote:
>
> > It now fails when building sqlite:
>
> >  /usr/local/gcc4/bin/gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=
>
> how are you getting Sage to build with a gcc in /usr/local/gcc4/bin/ ?
>
> If you are doing what seems a logical thing to do (set the CC
> variable), then I'm afraid to say this does not work reliably. Many
> parts of Sage will ignore CC. You *must* make sure the first gcc in
> your path is >= 4.0.1.
>
I set GG to /usr/local/gcc4/bin/gcc (and CXX...), but also prepended /
usr/local/gcc4/bin to PATH and /usr/local/gcc4/lib to LD_LIBRARY_PATH
because of the warnings in the installation guide.
I set SAGE_FORTRAN and SAGE_FORTRAN_LIB to correct values and copied
gtar and gmake to tar and make in a custom directory prepended to PATH

> Can you give me the output of
>
> 1) $ command -v gcc
> 2) $ gcc --version
>
<fl...@infres2: 510> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/packages/gcc4_10/libexec/gcc/sparc-sun-
solaris2.10/4.5.1/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: ../configure --prefix=/usr/local/packages/gcc4_10 --
with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-
languages=c,c++,fortran,objc,java
Thread model: posix
gcc version 4.5.1 (GCC)
<fl...@infres2: 511> command -v gcc
/usr/local/gcc4/bin/gcc

> Dave

-- 
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
URL: http://www.sagemath.org

Reply via email to