1 |
On Wed, 30 Aug 2006, Vadim wrote: |
2 |
> Can you please advice with following error on another Gentoo PC: |
3 |
> |
4 |
> ast-math -fexceptions -O3 -march=i686 -pipe -fomit-frame-pointer |
5 |
> -mpreferred-sta ck-boundary=2 -falign-functions=0 -falign-jumps=0 |
6 |
> -falign-loops=0 -c fortran/mat io_internal.c -o matio_internal.o |
7 |
> >/dev/null 2>&1 |
8 |
> /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gfortran -I. |
9 |
> -I../src/fortra n -O3 -ffast-math -Wl,-s -g -O2 -c -o matio.lo `test -f |
10 |
> 'fortran/matio.f90' || e cho './'`fortran/matio.f90 |
11 |
> make[2]: *** No rule to make target `../src/matio.mod', needed by |
12 |
> `all-am'. Sto p. |
13 |
> make[2]: *** Waiting for unfinished jobs.... |
14 |
> libtool: compile: i686-pc-linux-gnu-gfortran -I. -I../src/fortran -O3 |
15 |
> -ffast-ma th -Wl,-s -g -O2 -c fortran/matio.f90 -fPIC -o .libs/matio.o |
16 |
> i686-pc-linux-gnu-gfortran: -s: linker input file unused because linking |
17 |
> not don e |
18 |
> libtool: compile: i686-pc-linux-gnu-gfortran -I. -I../src/fortran -O3 |
19 |
> -ffast-ma th -Wl,-s -g -O2 -c fortran/matio.f90 -o matio.o >/dev/null 2>&1 |
20 |
> make[2]: Leaving directory `/var/tmp/portage/matio-1.3.0/work/matio/src' |
21 |
> make[1]: *** [all] Error 2 |
22 |
> make[1]: Leaving directory `/var/tmp/portage/matio-1.3.0/work/matio/src' |
23 |
> make: *** [all-recursive] Error 1 |
24 |
> |
25 |
> !!! ERROR: sci-libs/matio-1.3.0 failed. |
26 |
> Call stack: |
27 |
> ebuild.sh, line 1543: Called dyn_compile |
28 |
> ebuild.sh, line 938: Called src_compile |
29 |
> matio-1.3.0.ebuild, line 40: Called die |
30 |
> |
31 |
> !!! emake failed |
32 |
> !!! If you need support, post the topmost build error, and the call |
33 |
> stack if rel evant. |
34 |
> |
35 |
> !!! This ebuild is from an overlay: '/usr/local/sci' |
36 |
As I said: |
37 |
|
38 |
with the USE flag fortran, the matio ebuild tries to build a fortran |
39 |
interface to the matio library, (and it needs a fortran-90 or -95 |
40 |
compiler. I have neither of them, and don't know how to use them, |
41 |
therefore, I never tested this. If you know fortran-90 and f95, you are |
42 |
more than welcome to fix this problem, and this will improve the matio |
43 |
ebuild. |
44 |
|
45 |
However, if you only want freemat, this is not necessary. Just emerge |
46 |
matio with -fortran, i.e., add the line |
47 |
sci-libs/matio -fortran |
48 |
to your /etc/portage/package.use |
49 |
|
50 |
Andrey |
51 |
-- |
52 |
gentoo-science@g.o mailing list |