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