Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: bmarkus on December 01, 2011, 08:46:31 AM
-
I'm trying to build a program which requires gfortran. On TC 4.1 result is
# ./configure
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gfortran... gfortran
checking whether the Fortran 77 compiler works... no
configure: error: in `/tmp/voacapl-0.5.8':
configure: error: Fortran 77 compiler cannot create executables
On CentOS 6 it compiles as expected:
[root@zero voacapl-0.5.8]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gfortran... gfortran
checking whether the Fortran 77 compiler works... yes
checking for Fortran 77 compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking whether ln -s works... yes
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/modules/Makefile
config.status: creating src/hfmufesw/Makefile
config.status: creating src/voa_lib/Makefile
config.status: creating src/wp10dwin/Makefile
config.status: creating src/voacapw/Makefile
config.status: creating voacapl/itshfbc/coeffs/Makefile
config.status: creating voacapl/itshfbc/bin/anttyp90/Makefile
config.log attached.
Any idea?
-
gcc in tc was compiled to use c and c++, you'll need to compile a fortran extension to compile fortran - I seem to recall somebody did this in tc-3.x..
-
gcc in tc was compiled to use c and c++, you'll need to compile a fortran extension to compile fortran - I seem to recall somebody did this in tc-3.x..
On CentOS I had to install gcc-gfortran package. Expected gfprtran.tcz is doing the same here on TC.
-
try cp2fs gfortran
once i had a similar problem because gfortran was searching gcc files at /tmp/tcloop/gfortran/usr/local/lib/i686-pc-linux-gnu/
-
try cp2fs gfortran
once i had a similar problem because gfortran was searching gcc files at /tmp/tcloop/gfortran/usr/local/lib/i686-pc-linux-gnu/
Thanks, it did the trick! Now it compiles and runs fine.
-
Just to confirm, updated gfortran works fine.
Thanks for fixing.