Gentoo Archives: gentoo-science

From: fbissey@××××××××××××.nz
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] new blas infrastructure and prefix
Date: Wed, 31 Aug 2011 04:17:46
In Reply to: Re: [gentoo-science] new blas infrastructure and prefix by
1 Quoting fbissey@××××××××××××.nz:
2 > First I want to solve the problem of eselect not listing stuff that is
3 > properly
4 > installed. In particular gsl and blas-reference are installed
5 > properly, so are
6 > their particular alternatives. Yet "eselect cblas list" and "eselect
7 > blas list"
8 > return nothing. I think I have an idea of where the problem is. I just need a
9 > bit of time to investigate.
10 >
11 Found it! In we have:
12 ALTERNATIVESDIR_ROOTLESS="@sysconfdir@/env.d/alternatives"
15 EROOT is basically the prefix path, so the idea is you add
16 the prefix in the second line. Except that @sysconfigdir@
17 already include the prefix....
18 So instead of looking for alternatives in:
19 /Users/frb15/Desktop/Gentoo/etc/env.d/alternatives
20 it looked for them in:
21 /Users/frb15/Desktop/Gentoo/Users/frb15/Desktop/Gentoo/etc/env.d/alternatives
23 getting rid of one level of prefix in alternatives.bash got
24 me some working eselect for blas (reference), cblas (gsl) and lapack
25 (reference).
27 I'll leave bicatali to make the fix he deems appropriate.
29 Francois