1 |
On 28/10/12 06:42, Thomas Kahle wrote: |
2 |
> On 21:50 Sat 27 Oct 2012, Francois Bissey wrote: |
3 |
>> On 27/10/12 10:53, Thomas Kahle wrote: |
4 |
>>> On 17:10 Wed 10 Oct 2012, justin wrote: |
5 |
>>> [..] |
6 |
>>> |
7 |
>>>>> Calculating dependencies... done! |
8 |
>>>>> [ebuild N ] app-admin/eselect-lapack-0.1 0 kB |
9 |
>>>>> [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" |
10 |
>>>>> is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218, |
11 |
>>>>> sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0, |
12 |
>>>>> sci-libs/lapack-reference-3.3.1-r1) |
13 |
>>>>> |
14 |
>>>>> Total: 1 package (1 new), Size of downloads: 0 kB |
15 |
>>>>> Conflict: 1 block (1 unsatisfied) |
16 |
>>>>> |
17 |
>>>>> * Error: The above package list contains packages which cannot be |
18 |
>>>>> * installed at the same time on the same system. |
19 |
>>>>> |
20 |
>>>>> (sci-libs/cblas-reference-20110218::science, installed) pulled in by |
21 |
>>>>> sci-libs/cblas-reference required by @selected |
22 |
>>>>> |
23 |
>>>>> (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) |
24 |
>>>>> pulled in by |
25 |
>>>>> eselect-lapack |
26 |
>>>>> |
27 |
>>>>> (sci-libs/atlas-3.10.0::science, installed) pulled in by |
28 |
>>>>> sci-libs/atlas required by @selected |
29 |
>>>>> |
30 |
>>>>> |
31 |
>>> |
32 |
>>>> do you have the eselect version from the sci overlay installed? Only |
33 |
>>>> that one is able to eslect blas for you correctly. |
34 |
>>> |
35 |
>>> I'm using this eselect version and I have lapack reference-3.4.2 |
36 |
>>> installed and eselected. Still I get: |
37 |
>>> |
38 |
>>> # pkg-config --libs lapack |
39 |
>>> Package lapack was not found in the pkg-config search path. |
40 |
>>> Perhaps you should add the directory containing `lapack.pc' |
41 |
>>> to the PKG_CONFIG_PATH environment variable |
42 |
>>> No package 'lapack' found |
43 |
>>> |
44 |
>>> Which makes packages depending on lapack checks during configure fail. |
45 |
>>> |
46 |
>>> Any ideas |
47 |
>>> |
48 |
>> |
49 |
>> First of, supposing you are on amd64, does |
50 |
>> /usr/lib64/pkgconfig/lapack.pc |
51 |
>> exist? It should be a link pointing to |
52 |
>> ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc |
53 |
>> itself a link to /usr/lib64/pkgconfig/reflapack.pc |
54 |
> |
55 |
> Yes, it exists, but no it is a symlink to the wrong pc file: |
56 |
> |
57 |
> $ ls -ahl /usr/lib64/pkgconfig/lapack.pc |
58 |
> lrwxrwxrwx 1 root root 77 Oct 26 15:19 /usr/lib64/pkgconfig/lapack.pc -> ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc |
59 |
> |
60 |
|
61 |
So |
62 |
../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc |
63 |
is not a symlink to /usr/lib64/pkgconfig/reflapack.pc? |
64 |
That should be provided by lapack-reference using the alternative2 |
65 |
eclass. /usr/lib64/pkgconfig/lapack.pc is created by eselect. |
66 |
|
67 |
> Which package is to provide this symlink? It seems that it is a stale |
68 |
> symlink from before -llapack was renamed to -lreflapack recently? |
69 |
> |
70 |
> I'm experimenting with the different implementations, it is entirely |
71 |
> possible that I'm in some undefined state. Now, how to fix it? |
72 |
> |
73 |
|
74 |
yes, you may have to delete some left over files and re-emerge |
75 |
lapack-reference. |
76 |
|
77 |
Francois |