Code: Select all
export CC=gcc-sjlj
export CXX=g++-sjlj
export FC=gfortran-sjlj
export F77=gfortran-sjlj
export LDFLAGS=-L/mingw/lib/gcc/mingw32/4.6.2-sjlj
#
modules="matc umfpack mathlibs elmergrid meshgen2d eio hutiter fem"
# add front and post if you like
# modules="matc umfpack mathlibs elmergrid meshgen2d eio hutiter fem front post"
#
for m in $modules; do
cd $m ; ./configure --prefix=/opt/elmer ; make ; make install ; cd ..
done
#
# finally, run the tests
cd fem
make check
cd ..
Code: Select all
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
make: *** No rule to make target `check'. Stop.
I then realized that no makefile existed in fem, so I ran ./configure . This resulted in the error "configure: error: BLAS was not found!" What is BLAS? How do I find it? Any advice would be greatly appreciated.
Also, at one point there was an error that didn't seem to make much different about requiring GNU Readline 4.2 or greater, but it could try to make due without it. How important is this?