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 alternatives.bash.in we have: |
12 |
ALTERNATIVESDIR_ROOTLESS="@sysconfdir@/env.d/alternatives" |
13 |
ALTERNATIVESDIR="${EROOT}${ALTERNATIVESDIR_ROOTLESS}" |
14 |
|
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 |
22 |
|
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). |
26 |
|
27 |
I'll leave bicatali to make the fix he deems appropriate. |
28 |
|
29 |
Francois |