From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ED75C138010 for ; Sat, 27 Oct 2012 18:02:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 049A421C033 for ; Sat, 27 Oct 2012 18:02:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F118B21C008 for ; Sat, 27 Oct 2012 17:50:05 +0000 (UTC) Received: from localhost (108-65-1-178.lightspeed.sntcca.sbcglobal.net [108.65.1.178]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tomka) by smtp.gentoo.org (Postfix) with ESMTPSA id CC2CF33D902 for ; Sat, 27 Oct 2012 17:50:04 +0000 (UTC) Date: Sat, 27 Oct 2012 10:42:00 -0700 From: Thomas Kahle To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] blas/lapack stuff Message-ID: <20121027174200.GT13271@schlaumatte> References: <50629808.7060604@gentoo.org> <5062E508.6080905@slingshot.co.nz> <50758FDE.8030609@gentoo.org> <20121026215346.GM13271@schlaumatte> <508BA04C.1060407@slingshot.co.nz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gwtGiOGliFx8mAnm" Content-Disposition: inline In-Reply-To: <508BA04C.1060407@slingshot.co.nz> X-Arbitrary-Number-Of-The-Day: 42 User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: a2d0583e-3b7f-4cc1-8dbc-ca072efde523 X-Archives-Hash: c0a1cf6efbe678878265cce10e6a7364 --gwtGiOGliFx8mAnm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 21:50 Sat 27 Oct 2012, Francois Bissey wrote: > On 27/10/12 10:53, Thomas Kahle wrote: > > On 17:10 Wed 10 Oct 2012, justin wrote: > > [..] > >=20 > >>> 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 > >>> > >>> > >=20 > >> do you have the eselect version from the sci overlay installed? Only > >> that one is able to eslect blas for you correctly. > >=20 > > I'm using this eselect version and I have lapack reference-3.4.2 > > installed and eselected. Still I get: > >=20 > > # pkg-config --libs lapack = =20 > > 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 > >=20 > > Which makes packages depending on lapack checks during configure fail. > >=20 > > Any ideas > >=20 >=20 > 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/lapac= k.pc > itself a link to /usr/lib64/pkgconfig/reflapack.pc Yes, it exists, but no it is a symlink to the wrong pc file: $ ls -ahl /usr/lib64/pkgconfig/lapack.pc 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 Which package is to provide this symlink? It seems that it is a stale symlink from before -llapack was renamed to -lreflapack recently? I'm experimenting with the different implementations, it is entirely possible that I'm in some undefined state. Now, how to fix it? Thanks! Thomas > 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. >=20 > Francois >=20 >=20 --=20 Thomas Kahle http://dev.gentoo.org/~tomka/ --gwtGiOGliFx8mAnm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iJwEAQEIAAYFAlCMHOgACgkQQYXt1pFHaaENNgQAphxjxfsDOUIECI9oIZSPI581 C1nVNCaUxrxvqe22GhZRzbmGvuidOa9bl+RhxSqIbPhtKViLmXC6qne6m8+WPDtJ pDavlS+bcpHE/Co8ZsuHBYKDsZDHJDSRPwwcqMYZ2uxdX89ol3lDyIQkAWaSYirK iPc41VVtCki4h4EEHxM= =BiPT -----END PGP SIGNATURE----- --gwtGiOGliFx8mAnm--