Here is the output:

~> command -v gcc
/usr/local/bin/gcc
~> command -v g++
/usr/local/bin/g++
~> command -v gfortran
/usr/local/bin/gfortran
~> gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --enable-languages=c,c++ --enable-
threads=posix --enable-shared
Thread model: posix
gcc version 4.1.2
~> g++ -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --enable-languages=c,c++ --enable-
threads=posix --enable-shared
Thread model: posix
gcc version 4.1.2
~> gfortran -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --enable-languages=c,c++,fortran --enable-
threads=posix --enable-shared
Thread model: posix
gcc version 4.1.2
~> echo $LD_LIBRARY_PATH

~> echo $CC

~> echo $CXX

~> echo SAGE_FORTRAN
SAGE_FORTRAN
~> echo $SAGE_FORTRAN

~> echo $SAGE_FORTRAN_LIB



Thanks!

Matthew

On May 26, 2:54 pm, David Kirkby <david.kir...@onetel.net> wrote:
> On 26 May 2010 11:57, Matthew Gwynne <mathew.gwy...@gmail.com> wrote:
>
>
>
>
>
> > Hi,
>
> > The system information is given below -
>
> > ****************************************************
> > Host system
> > uname -a:
> > Linux cs-wsok 2.6.13-15.8-smp #1 SMP Tue Feb 7 11:07:24 UTC 2006
> > x86_64 x86_64 x86_64 GNU/Linux
> > ****************************************************
> > ****************************************************
> > CC Version
> > gcc -v
> > Using built-in specs.
> > Target: x86_64-unknown-linux-gnu
> > Configured with: ./configure --enable-languages=c,c++ --enable-
> > threads=posix --enable-shared
> > Thread model: posix
>
> Something is odd here. You need to have a compiler supporting Fortran,
> yet yours was compiled without Fortran support. I'm very surprised the
> 'prereq' script does not detect this, as it should check for a fortran
> compiler and confirm its the same version as the C and C++ compilers.
>
> So unless you have two installations of gcc, both of the same version,
> I don't know how you got this far.
>
> can you give me the outputs of
>
> $ command -v gcc
> $ command -v g++
> $ command -v gfortran
> $ gcc -v
> $ g++ -v
> $ gfortran -v
> $ echo $LD_LIBRARY_PATH
> $ echo $CC
> $ echo $CXX
> $ echo SAGE_FORTRAN
> $ echo SAGE_FORTRAN_LIB
>
> Specifying the compiler locations with CC and CXX does not work too well
>
> Dave

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to