ah d'accord,
Je suis en cours d'installer un logiciel de physique atomique (Flexible Atomic Code) ,j'ai télechargé le code depuis GitHub et j'ai suivit les étapes d'installation :
./configure
top@top-X541SA:~/fac$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C 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 C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for python3... python3
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
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 size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for ANSI C header files... (cached) yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking how to get verbose linking output from g77... -v
checking for Fortran 77 libraries of g77... -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8 -L. -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6 -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -lfrtbegin -lg2c -lm
checking for -lcrtn.o in FLIBS... -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8 -L. -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6 -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -lfrtbegin -lg2c -lm
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sfac/Makefile
config.status: creating python/Makefile
config.status: creating faclib/Makefile
config.status: creating blas/Makefile
config.status: creating coul/Makefile
config.status: creating ionis/Makefile
config.status: creating lapack/Makefile
config.status: creating minpack/Makefile
config.status: creating mpfun/Makefile
config.status: creating ode/Makefile
config.status: creating toms/Makefile
config.status: creating modqed/Makefile
config.status: creating quadpack/Makefile
config.status: creating sysdef.h
config.status: sysdef.h is unchanged
aprés l'installation de make pfac :
root@top-X541SA:~/fac# make pfac
cd blas; make
make[1] : on entre dans le répertoire « /home/top/fac/blas »
ar r /home/top/fac/libmblas.a lsame.o dasum.o daxpy.o dcopy.o dscal.o ddot.o dgemm.o dgemv.o dger.o dnrm2.o drot.o dspmv.o dspr2.o dswap.o dtbsv.o dtrmm.o dtrmv.o dtrsm.o idamax.o xerbla.o
make[1] : on quitte le répertoire « /home/top/fac/blas »
cd lapack; make
make[1] : on entre dans le répertoire « /home/top/fac/lapack »
g77 -c -fPIC dlamch.f
ar r /home/top/fac/libmlapack.a dbdsdc.o dbdsqr.o dgbsv.o dgbtf2.o dgbtrf.o dgbtrs.o dgebak.o dgebal.o dgebd2.o dgebrd.o dgeev.o dgehd2.o dgehrd.o dgelq2.o dgelqf.o dgeqr2.o dgeqrf.o dgesdd.o dgesv.o dgetf2.o dgetrf.o dgetrs.o dhseqr.o dlabad.o dlabrd.o dlacpy.o dladiv.o dlae2.o dlaed0.o dlaed1.o dlaed2.o dlaed3.o dlaed4.o dlaed5.o dlaed6.o dlaed7.o dlaed8.o dlaed9.o dlaeda.o dlaev2.o dlahqr.o dlahrd.o dlaln2.o dlamrg.o dlange.o dlanhs.o dlansp.o dlanst.o dlanv2.o dlapy2.o dlarf.o dlarfb.o dlarfg.o dlarft.o dlarfx.o dlartg.o dlas2.o dlascl.o dlasd0.o dlasd1.o dlasd2.o dlasd3.o dlasd4.o dlasd5.o dlasd6.o dlasd7.o dlasd8.o dlasda.o dlasdq.o dlasdt.o dlaset.o dlasq1.o dlasq2.o dlasq3.o dlasq4.o dlasq5.o dlasq6.o dlasr.o dlasrt.o dlassq.o dlasv2.o dlaswp.o dopmtr.o dorg2r.o dorgbr.o dorghr.o dorgl2.o dorglq.o dorgqr.o dorm2r.o dormbr.o dorml2.o dormlq.o dormqr.o dspevd.o dsptrd.o dstedc.o dsteqr.o dsterf.o dtrevc.o ieeeck.o ilaenv.o dorg2l.o dopgtr.o dspev.o dlamch.o
make[1] : on quitte le répertoire « /home/top/fac/lapack »
cd coul; make
make[1] : on entre dans le répertoire « /home/top/fac/coul »
g77 -c -fPIC d1mach.f
ar r /home/top/fac/libfac.a clogam.o f11.o coulcc.o y5n.o cphamp.o dlogam.o argam.o besljn.o beslik.o coulrad.o dcoul.o njsym.o njintr.o cmultip.o mohrfin.o expint.o eione.o d1mach.o
make[1] : on quitte le répertoire « /home/top/fac/coul »
cd ode; make
make[1] : on entre dans le répertoire « /home/top/fac/ode »
ar r /home/top/fac/libfac.a cfode.o dgbfa.o dgbsl.o dgefa.o dgesl.o ewset.o intdy.o lsode.o prepj.o solsy.o stode.o vnorm.o xerrwv.o
make[1] : on quitte le répertoire « /home/top/fac/ode »
cd toms; make
make[1] : on entre dans le répertoire « /home/top/fac/toms »
ar r /home/top/fac/libfac.a uvip3p.o uvip3c.o tripack.o rgbi3p.o sdbi3p.o tn.o calcc.o dist.o evalf.o fstats.o newpt.o order.o partx.o setstp.o simplx.o sortd.o start.o subopt.o subplx.o
make[1] : on quitte le répertoire « /home/top/fac/toms »
cd mpfun; make
make[1] : on entre dans le répertoire « /home/top/fac/mpfun »
ar r /home/top/fac/libfac.a mpfun.o dxadd.o dxadj.o dxlegf.o dxpmu.o dxpmup.o dxpnrm.o dxpqnu.o dxpsi.o dxqmu.o dxqnu.o dxred.o dxset.o fdump.o i1mach.o j4save.o xercnt.o xerhlt.o xermsg.o xerprn.o xersve.o xgetua.o
make[1] : on quitte le répertoire « /home/top/fac/mpfun »
cd minpack; make
make[1] : on entre dans le répertoire « /home/top/fac/minpack »
ar r /home/top/fac/libfac.a dpmpar.o enorm.o lmder.o lmder1.o lmpar.o qrfac.o qrsolv.o chkder.o
make[1] : on quitte le répertoire « /home/top/fac/minpack »
cd quadpack; make
make[1] : on entre dans le répertoire « /home/top/fac/quadpack »
ar r /home/top/fac/libfac.a dqpsrt.o dqk15i.o dqelg.o dqagie.o dqagi.o dqags.o dqagse.o dqk21.o dqng.o
make[1] : on quitte le répertoire « /home/top/fac/quadpack »
cd ionis; make
make[1] : on entre dans le répertoire « /home/top/fac/ionis »
ar r /home/top/fac/libfac.a intexp.o ionis.o recomb.o recomb_Fe.o cfit.o colfit.o phfit2.o rrfit.o drfit.o nrrfit.o ndrfit.o beli.o
make[1] : on quitte le répertoire « /home/top/fac/ionis »
cd modqed; make
make[1] : on entre dans le répertoire « /home/top/fac/modqed »
ar r /home/top/fac/libfac.a iniqed.o genqed.o atom_data.o segrid.o pot_wav.o se_pot.o dirac.o integr.o uehling.o fse_dat.o nucl.o wk.o
make[1] : on quitte le répertoire « /home/top/fac/modqed »
cd faclib; make
make[1] : on entre dans le répertoire « /home/top/fac/faclib »
ar r /home/top/fac/libfac.a pmalloc.o mmalloc.o omalloc.o parser.o array.o interpolation.o grid.o coulomb.o config.o cfp.o angular.o rcfp.o recouple.o orbital.o radial.o dbase.o nucleus.o structure.o mbpt.o transition.o excitation.o recombination.o ionization.o rmatrix.o init.o rates.o crm.o polarization.o mpiutil.o
make[1] : on quitte le répertoire « /home/top/fac/faclib »
ranlib libfac.a
python3 setup.py build --force -ccompiler="gcc" -extracomp="-I/home/top/fac -I/home/top/fac/faclib -O3 -fPIC" -extralink="-L/home/top/fac -lfac -lmlapack -lmblas -lpthread -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8 -L. -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6 -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -lfrtbegin -lg2c -lm"
running build
running build_py
copying python/__init__.py -> build/lib.linux-x86_64-3.6/pfac
copying python/const.py -> build/lib.linux-x86_64-3.6/pfac
copying python/config.py -> build/lib.linux-x86_64-3.6/pfac
copying python/table.py -> build/lib.linux-x86_64-3.6/pfac
copying python/atom.py -> build/lib.linux-x86_64-3.6/pfac
copying python/spm.py -> build/lib.linux-x86_64-3.6/pfac
copying python/rfac.py -> build/lib.linux-x86_64-3.6/pfac
copying python/version.py -> build/lib.linux-x86_64-3.6/pfac
copying python/consts.py -> build/lib.linux-x86_64-3.6/pfac
running build_ext
building 'pfac.fac' extension
gcc -I/home/top/fac -I/home/top/fac/faclib -I/usr/include/python3.6m -c python/fac.c -o build/temp.linux-x86_64-3.6/python/fac.o -O3 -fPIC
gcc build/temp.linux-x86_64-3.6/python/fac.o -L/home/top/fac -L/usr/lib/gcc/x86_64-linux-gnu/8 -L. -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6 -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -lfac -lmlapack -lmblas -lpthread -lfrtbegin -lg2c -lm -o build/lib.linux-x86_64-3.6/pfac/fac.cpython-36m-x86_64-linux-gnu.so -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro
gcc: : Aucun fichier ou dossier de ce type
error: command 'gcc' failed with exit status 1
make: *** [Makefile:42: pfac] Error 1
et j'ai la verssion de gcc-4.3 et le python3.6 sur ubuntu18.10 ,archit X86_64.
root@top-X541SA:~/fac# gcc -v
Lecture des spécification à partir de /usr/lib/gcc/x86_64-linux-gnu/3.4.6/specs
Configuré avec: ../src/configure -v --enable-languages=c,c++,f77,pascal --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug x86_64-linux-gnu
Modèle de thread: posix
version gcc 3.4.6 (Ubuntu 3.4.6-6ubuntu5)
Remarque : mème si je ne suis pas en
root
il affiche les mèmes erreur .