On 04/26/11 05:27 PM, jean-pierre.peigneux wrote:
Thank you for fast answer ;I am joining the output of cat /proc/cpuinfo
just below:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2000+
stepping : 1
cpu MHz : 1666.732
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
bogomips : 3333.46
clflush size : 32
cache_alignment : 32
address sizes : 34 bits physical, 32 bits virtual
power management: ts
I tried the compilation of sage from the source but I got troubles with
fortran just below are the end of the compiling messages:
.......
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether f77 accepts -g... (cached) yes
checking for Fortran flag needed to allow free-form source... none
configure: Your Fortran compiler accepts free-format source code
configure: which older F77 compilers do not. This does not 100%
configure: guarantee your compiler is suitable for building SAGE
configure: but it probably is.
checking if gcc accepts -dumpversion option... yes
checking gcc version... 4.4.3
checking if g++ accepts -dumpversion option... yes
checking g++ version... 4.4.3
/usr/bin/f77: Illegal option: -dumpversion
configure: Although gcc and g++ are both version 4.4.3
configure: the Fortran compiler f77 is some other version.
configure: The output from f77 --version is below.
/usr/bin/f77: Illegal option: --version
configure: Exiting since the Fortran compiler is not the same
configure: error: version as the C and C++ compilers
ERROR: You do not have all of the prerequisites needed
to build Sage from source. See the errors above.
make[1]: *** [installed/prereq-0.7] Erreur 1
make[1]: quittant le répertoire « /home/peigneux/Bureau/sage-4.6.2/spkg
»
real 0m7.010s
user 0m3.916s
sys 0m2.284s
Error building Sage.
make: *** [build] Erreur 1
I don't know how to get the proper fortran compiler version ,If you have
advices they are welcome.Thanks
Can you post the output of the following commands. (I've shown the output on my
system, but your will be different).
drkirkby@hawk:~$ command -v gcc
/usr/local/gcc-4.6.0-delayed/bin/gcc
drkirkby@hawk:~$ command -v g++
/usr/local/gcc-4.6.0-delayed/bin/g++
drkirkby@hawk:~$ command -v gfortran
/usr/local/gcc-4.6.0-delayed/bin/gfortran
drkirkby@hawk:~$ /usr/bin/f77
NOTICE: Invoking /usr/bin/f90 -f77 -ftrap=%none
Usage: f90 [ options ] files. Use 'f90 -flags' for details
drkirkby@hawk:~$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-4.6.0/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.6.0/libexec/gcc/i386-pc-solaris2.11/4.6.0/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.0/configure --prefix=/usr/local/gcc-4.6.0
--with-gmp=/usr/local/gcc-4.6.0 --with-mpfr=/usr/local/gcc-4.6.0
--with-mpc=/usr/local/gcc-4.6.0 --enable-languages=c,c++,fortran --with-gnu-as
--with-as=/usr/local/binutils-2.20/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 4.6.0 (GCC)
drkirkby@hawk:~$ gfortran -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-4.6.0/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.6.0/libexec/gcc/i386-pc-solaris2.11/4.6.0/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.0/configure --prefix=/usr/local/gcc-4.6.0
--with-gmp=/usr/local/gcc-4.6.0 --with-mpfr=/usr/local/gcc-4.6.0
--with-mpc=/usr/local/gcc-4.6.0 --enable-languages=c,c++,fortran --with-gnu-as
--with-as=/usr/local/binutils-2.20/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 4.6.0 (GCC)
It looks to me that you have a strange Fortran compiler.
It could be that you don't actually have 'gfortran' installed, though it's hard
to know for sure.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
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