On Wed, 30 Aug 2006, Vadim wrote: > Can you please advice with following error on another Gentoo PC: > > ast-math -fexceptions -O3 -march=i686 -pipe -fomit-frame-pointer > -mpreferred-sta ck-boundary=2 -falign-functions=0 -falign-jumps=0 > -falign-loops=0 -c fortran/mat io_internal.c -o matio_internal.o > >/dev/null 2>&1 > /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gfortran -I. > -I../src/fortra n -O3 -ffast-math -Wl,-s -g -O2 -c -o matio.lo `test -f > 'fortran/matio.f90' || e cho './'`fortran/matio.f90 > make[2]: *** No rule to make target `../src/matio.mod', needed by > `all-am'. Sto p. > make[2]: *** Waiting for unfinished jobs.... > libtool: compile: i686-pc-linux-gnu-gfortran -I. -I../src/fortran -O3 > -ffast-ma th -Wl,-s -g -O2 -c fortran/matio.f90 -fPIC -o .libs/matio.o > i686-pc-linux-gnu-gfortran: -s: linker input file unused because linking > not don e > libtool: compile: i686-pc-linux-gnu-gfortran -I. -I../src/fortran -O3 > -ffast-ma th -Wl,-s -g -O2 -c fortran/matio.f90 -o matio.o >/dev/null 2>&1 > make[2]: Leaving directory `/var/tmp/portage/matio-1.3.0/work/matio/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/var/tmp/portage/matio-1.3.0/work/matio/src' > make: *** [all-recursive] Error 1 > > !!! ERROR: sci-libs/matio-1.3.0 failed. > Call stack: > ebuild.sh, line 1543: Called dyn_compile > ebuild.sh, line 938: Called src_compile > matio-1.3.0.ebuild, line 40: Called die > > !!! emake failed > !!! If you need support, post the topmost build error, and the call > stack if rel evant. > > !!! This ebuild is from an overlay: '/usr/local/sci' As I said:
with the USE flag fortran, the matio ebuild tries to build a fortran interface to the matio library, (and it needs a fortran-90 or -95 compiler. I have neither of them, and don't know how to use them, therefore, I never tested this. If you know fortran-90 and f95, you are more than welcome to fix this problem, and this will improve the matio ebuild. However, if you only want freemat, this is not necessary. Just emerge matio with -fortran, i.e., add the line sci-libs/matio -fortran to your /etc/portage/package.use Andrey -- [email protected] mailing list
