compilation of fem in fedora 16

Discussion about building and installing Elmer
Post Reply
legocef
Posts: 1
Joined: 03 Apr 2012, 05:40
Antispam: Yes

compilation of fem in fedora 16

Post by legocef »

Hi all,

I want to compile fem but I have these errors :

Code: Select all

>./configure --prefix=/opt/elmer
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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 whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ftello... yes
checking for fseeko... yes
checking for answer to meaning of life... 42
checking for default compilation flags... optimized
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking for ranlib... ranlib
checking for ar... ar
checking for ar flags... cru
checking whether we are using the Microsoft C compiler... no
checking for /lib/cpp... yes
checking for C++ linker flags...  -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3 -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../.. -lstdc++ -lm -lgcc_s -lgcc_s
checking how to run the C preprocessor... /lib/cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for 64 bit compilation flags... let's see what happens
checking for 64 bit CFLAGS... -m64 -fPIC
checking for 64 bit FCFLAGS... -m64 -fPIC
checking for 64 bit CXXFLAGS... -m64 -fPIC
checking for 64 bit FFLAGS... -m64 -fPIC
checking for void*... yes
checking size of void*... 8
checking to see if we got 64 bits... oh yes
checking how to get verbose linking output from g77... -v
checking for Fortran 77 libraries of g77...  -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lfrtbegin -lg2c -lm
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, extra underscore
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...  -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3 -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../.. -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for Fortran char* mangling scheme... char_ptr
checking if fortran implements CONTIGUOUS attribute... yes
checking for fortran intrinsic etime... found
checking for fortran intrinsic flush... found
checking for shl_load in -ldld... no
checking for shl_load... no
checking for shl_findsym... no
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dlsym... yes
checking for dlerror... yes
checking for dlclose... yes
checking for mpi-directory... 
checking for mpi-lib-directory... 
checking for mpi-inc-directory... 
checking for mpi-library... 
checking for mpi-include... 
checking for mpf90... no
checking for mpxlf90... no
checking for saxpy_... no
checking for ATL_xerbla in -latlas... no
checking for saxpy_ in -lblas... no
checking for saxpy_ in -lcxml... no
checking for saxpy_ in -ldxml... no
checking for saxpy_ in -lscs... no
checking for saxpy_ in -lcomplib.sgimath... no
checking for saxpy_ in -lblas... (cached) no
checking for saxpy_ in -lessl... no
checking for saxpy_ in -lblas... (cached) no
configure: error: BLAS was not found!
even if i add --with-blas=/usr/lib64/libblas.so or --with-blas=/usr/lib/libblas.so

Can you help me please?

Thank you
Post Reply