While trying to emerge sci-libs/lapack-reference-3.1.1-r1 I noticed that pkg-config was not finding blas installed. This is because no blas.pc file is located in /usr/lib/pkgconfig: corni blas-atlas # pkg-config --libs blas Package blas was not found in the pkg-config search path. Perhaps you should add the directory containing `blas.pc' to the PKG_CONFIG_PATH environment variable No package 'blas' found This prevents merging of any package that uses pkg-config to test for the presence of blas. Installed blas: corni blas-atlas # eix -I blas-atlas [I] sci-libs/blas-atlas Available versions: 3.6.0 3.6.0-r1 3.6.0-r2 3.7.11 3.7.11-r1 ~3.7.31 ~3.7.32 ~3.7.34 {debug doc} Installed versions: 3.7.11-r1(20:07:35 09/25/07)(-debug doc) Homepage: http://math-atlas.sourceforge.net/ Description: Automatically Tuned Linear Algebra Software BLAS implementation Currently merging blas-atlas-3.7.31 to see if that fixes the problem. I'll post on this bug if it does. Thanks. Reproducible: Always Steps to Reproduce: 1. install blas-atlas-3.7.11-r1 2. notice that pkg-config --libs blas does not find blas 3. attempt to merge lapack-reference-3.1.1-r1 which depends on finding blas using pkg-config and it will fail. see the url provided: http://rafb.net/p/G8eoyh33.html
rm /etc/env.d/blas/lib/config and re-run eselect blas set ... *** This bug has been marked as a duplicate of bug 189942 ***
(In reply to comment #1) > rm /etc/env.d/blas/lib/config and re-run eselect blas set ... > > > *** This bug has been marked as a duplicate of bug 189942 *** > I tried this and it doesn't resolve the problem: corni blas-atlas # eselect blas show lib: threaded-atlas corni blas-atlas # rm /etc/env.d/blas/lib/config rm: remove regular file `/etc/env.d/blas/lib/config'? y corni blas-atlas # eselect blas set threaded-atlas corni blas-atlas # eselect blas show lib: threaded-atlas corni blas-atlas # pkg-config --libs blas Package blas was not found in the pkg-config search path. Perhaps you should add the directory containing `blas.pc' to the PKG_CONFIG_PATH environment variable No package 'blas' found
(In reply to comment #2) > I tried this and it doesn't resolve the problem: > > corni blas-atlas # eselect blas show > lib: threaded-atlas > corni blas-atlas # rm /etc/env.d/blas/lib/config > rm: remove regular file `/etc/env.d/blas/lib/config'? y > corni blas-atlas # eselect blas set threaded-atlas > corni blas-atlas # eselect blas show > lib: threaded-atlas > corni blas-atlas # pkg-config --libs blas > Package blas was not found in the pkg-config search path. > Perhaps you should add the directory containing `blas.pc' > to the PKG_CONFIG_PATH environment variable > No package 'blas' found > Additionally, if I emerge blas-reference and run eselect blas set reference pkg-config now works: corni blas-atlas # pkg-config --libs blas -lblas However, changing back to atlas causes pkg-config to fail: corni blas-atlas # eselect blas set atlas corni blas-atlas # pkg-config --libs blas Package blas was not found in the pkg-config search path. Perhaps you should add the directory containing `blas.pc' to the PKG_CONFIG_PATH environment variable No package 'blas' found This confirms (in my mind at least) that blas-atlas is not properly providing blas.pc separating this bug from #189942. Because of this I reopened the bug. sci-libs/blas-atlas-3.7.31 exhibits the same behavior.
Hi Stephen, Yes, the pkg-config stuff is work in progress. If you want to use it with blas-atlas, you can use the blas-atlas-3.7.37 from the science overlay. Sebastien
*** Bug 195418 has been marked as a duplicate of this bug. ***
blas-atlas-3.7.39 which is now in portage should also provide the necessary pkg-config files.
blas-atlas-3.8.0 was recently marked stable and resolves this issue. Hence, I am closing this bug. cheers, Markus