On 27/10/12 10:53, Thomas Kahle wrote:
> On 17:10 Wed 10 Oct 2012, justin wrote:
> [..]
> 
>>> Calculating dependencies... done!
>>> [ebuild  N     ] app-admin/eselect-lapack-0.1  0 kB
>>> [blocks B      ] app-admin/eselect-lapack ("app-admin/eselect-lapack"
>>> is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218,
>>> sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0,
>>> sci-libs/lapack-reference-3.3.1-r1)
>>>
>>> Total: 1 package (1 new), Size of downloads: 0 kB
>>> Conflict: 1 block (1 unsatisfied)
>>>
>>>  * Error: The above package list contains packages which cannot be
>>>  * installed at the same time on the same system.
>>>
>>>   (sci-libs/cblas-reference-20110218::science, installed) pulled in by
>>>     sci-libs/cblas-reference required by @selected
>>>
>>>   (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge)
>>> pulled in by
>>>     eselect-lapack
>>>
>>>   (sci-libs/atlas-3.10.0::science, installed) pulled in by
>>>     sci-libs/atlas required by @selected
>>>
>>>
> 
>> do you have the eselect version from the sci overlay installed? Only
>> that one is able to eslect blas for you correctly.
> 
> I'm using this eselect version and I have lapack reference-3.4.2
> installed and eselected.  Still I get:
> 
> # pkg-config --libs lapack                                                    
>     
> Package lapack was not found in the pkg-config search path.
> Perhaps you should add the directory containing `lapack.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'lapack' found
> 
> Which makes packages depending on lapack checks during configure fail.
> 
> Any ideas
> 

First of, supposing you are on amd64, does
/usr/lib64/pkgconfig/lapack.pc
exist? It should be a link pointing to
../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc
itself a link to /usr/lib64/pkgconfig/reflapack.pc
It is possible that some of these links have not been created properly.
There used to be bug about it on prefix (I don't know if anyone improved
my prefix bandaid). There is also the possibility that remnant from the
non-sci overlay mechanism interfere.

Francois


Reply via email to