From: fbissey@slingshot.co.nz
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] new blas infrastructure and prefix
Date: Wed, 31 Aug 2011 16:12:35 +1200 [thread overview]
Message-ID: <20110831161235.mog848w0ckkwscg8@webmail.slingshot.co.nz> (raw)
In-Reply-To: <20110831094653.0gf4ggc0cwsw8gw4@webmail.slingshot.co.nz>
Quoting fbissey@slingshot.co.nz:
> First I want to solve the problem of eselect not listing stuff that is
> properly
> installed. In particular gsl and blas-reference are installed
> properly, so are
> their particular alternatives. Yet "eselect cblas list" and "eselect
> blas list"
> return nothing. I think I have an idea of where the problem is. I just need a
> bit of time to investigate.
>
Found it! In alternatives.bash.in we have:
ALTERNATIVESDIR_ROOTLESS="@sysconfdir@/env.d/alternatives"
ALTERNATIVESDIR="${EROOT}${ALTERNATIVESDIR_ROOTLESS}"
EROOT is basically the prefix path, so the idea is you add
the prefix in the second line. Except that @sysconfigdir@
already include the prefix....
So instead of looking for alternatives in:
/Users/frb15/Desktop/Gentoo/etc/env.d/alternatives
it looked for them in:
/Users/frb15/Desktop/Gentoo/Users/frb15/Desktop/Gentoo/etc/env.d/alternatives
getting rid of one level of prefix in alternatives.bash got
me some working eselect for blas (reference), cblas (gsl) and lapack
(reference).
I'll leave bicatali to make the fix he deems appropriate.
Francois
next prev parent reply other threads:[~2011-08-31 4:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-30 19:49 [gentoo-science] new blas infrastructure and prefix fbissey
2011-08-30 21:33 ` Johan Hattne
2011-08-30 21:46 ` fbissey
2011-08-31 4:12 ` fbissey [this message]
2011-09-02 13:27 ` fbissey
2011-09-02 18:59 ` Andrea Arteaga
2011-09-02 20:33 ` fbissey
2011-09-04 23:47 ` fbissey
2011-09-06 2:23 ` fbissey
2011-09-06 4:39 ` fbissey
2011-09-09 2:51 ` [gentoo-science] new blas infrastructure on OS X prefix fbissey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110831161235.mog848w0ckkwscg8@webmail.slingshot.co.nz \
--to=fbissey@slingshot.co.nz \
--cc=gentoo-science@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox