Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2017-09-29 08:35:47

From: Germany
Registered: 2009-11-09
Posts: 126

configure error in tmp install med 3 2 0 under debian 9 ca127 ca134


I try to install Code Aster 12.7/13.4 under debian 9. The notes under https www code aster org V2 spip php article273 I implement in debian system. Under Ubuntu 14.04 install works, but install in debian 9 brings follow error:

# Environment settings :
entering directory '/tmp/install_med.5708'
Extracting med-3.2.0.tar.gz...                                         [  OK  ]
 --- 8610 files extracted
leaving directory '/tmp/install_med.5708'
>>> Configuration <<<
entering directory '/tmp/install_med.5708/med-3.2.0'
Command line : unset LD ; export LDFLAGS='-Wl,--no-as-needed -L/usr/libx32 -lpthread -L/usr/lib/x86_64-linux-gnu -lz -L/usr/lib/gcc/x86_64-linux-gnu/6 -lstdc++' ; export F77=$F90; ./configure  --disable-mesgerr --with-hdf5=/opt/aster12.7/public/hdf5-1.8.14 --prefix=/opt/aster12.7/public/med-3.2.0
configure med installation...                                          
Command output :
configure med installation...                                          [FAILED]
Exit code : 1
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 Fortran 77 libraries of /usr/bin/gfortran...  -L/usr/libx32 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/6 -L/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/6/../../.. -lpthread -lz -lstdc++ -lgfortran -lm -lquadmath /usr/libx32/libpthread.a /usr/libx32/libm.a /usr/libx32/libc.a
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in `/tmp/install_med.5708/med-3.2.0':
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details

 *** Exception raised : error during configure

Many article in code-aster forum I have read but no answer .
About references to my mistake I'm very happy

Thanks and greeting

Last edited by m_golbs (2017-09-29 08:40:50)

The superfluous chase, is to miss the essential.
Jules Saliège


#2 2017-10-03 21:28:35

Thomas DE SOZA
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: configure error in tmp install med 3 2 0 under debian 9 ca127 ca134


First, if you only need to use code_aster, you should have a look at Salome-Meca 2017 which will provide you directly with a binary install without the need to compile anything.

Then, if you really need to compile a source version, please provide additional detail regarding the error: setup.log and setup.dbg files namely.