1 |
In addition to changing the eselect files in the respective |
2 |
${FILESDIR}:s--which I think is what the patches in the below mentioned |
3 |
bug take core of--I cannot use blas-reference nor lapack-reference |
4 |
without the attached patches for app-admin/eselect. |
5 |
|
6 |
multilib.bash.patch addresses what I'm pretty sure is a bug in eselect. |
7 |
What, by the way, is the role of ld.so.conf in prefix? I fear |
8 |
eselect's multilib.bash is susceptible to weirdness (non-emptyness?) in |
9 |
ld.so.conf. |
10 |
|
11 |
skel.bash.patch looks odd to me, but I'm not sure how to fix it properly. |
12 |
|
13 |
These patches were taken against the installed files from the eselect |
14 |
ebuild. Maybe I should have posted this to bugs.gentoo.org instead... |
15 |
|
16 |
// Cheers; Johan |
17 |
|
18 |
|
19 |
On 07/14/09 14:15, Michael Yang wrote: |
20 |
|
21 |
> I successfully emerged dev-python/numpy-1.3.0 and |
22 |
> dev-python/scipy-0.7.0 but only with a lot of re-working of |
23 |
> blas/cblas/lapack to work with eselect properly. Without this, |
24 |
> numpy/scipy will fail or link incorrectly to /usr/lib/ libraries. I |
25 |
> wanted to share this to help other users and recommend the following |
26 |
> changes to the prefix overlay: |
27 |
> |
28 |
> * unmask and patch sci-libs/cblas-reference |
29 |
> * patch sci-libs/blas-reference |
30 |
> * patch sci-libs/lapack-reference |
31 |
> (see gentoo bug #277849 for patches) |
32 |
> * unmask virtual/cblas (required by scipy and numpy w/ USE=lapack) |
33 |
> |
34 |
> to emerge scipy I still needed to point to the BLAS/LAPACK libraries |
35 |
> $ env BLAS=${EPREFIX}/usr/lib LAPACK=${EPREFIX}/usr/lib emerge scipy |
36 |
> |
37 |
> or else the scipy build fails with warnings.warn(BlasNotFoundError.__doc__) |
38 |
> |
39 |
> On Sun, Jul 12, 2009 at 4:49 PM, Aaron Wilson<tallest@×××××.com> wrote: |
40 |
>> I've installed goto-blas, cblas-reference, and lapack-reference by pulling |
41 |
>> the ebuilds into my overlay. I did not install virtual/cblas, and I do not |
42 |
>> use any of the eselct packages (they're installed, but 'eselect blas list' |
43 |
>> gives nothing). It would be nice to have these features working, perhaps |
44 |
>> I'll try to poke around and see what's gong wrong. |
45 |
>> |
46 |
>> Aaron |
47 |
>> |
48 |
>> |
49 |
>> On Jul 11, 2009, at 11:11 AM, Michael Yang wrote: |
50 |
>> |
51 |
>>> Hi guys, |
52 |
>>> |
53 |
>>> I'm trying to install sci-libas/scipy which depends on virtual/cblas |
54 |
>>> and virtual/lapack. I noticed that virtual/cblas is not in the prefix |
55 |
>>> overlay, so I used ecopy to try to emerge it myself. Emerge was |
56 |
>>> successful, but I ran into lapack problems since "eselect blas set 1" |
57 |
>>> doesn't seem to be prefix-aware and tries to make symbolic links in |
58 |
>>> /usr/lib and /usr/lib/pkgconfig rather than ${EPREFIX}/usr/lib and |
59 |
>>> ${EPREFIX}/usr/lib/pkgconfig. See gentoo bug #277447 for more detail. |
60 |
>>> |
61 |
>>> General question: am I missing something or does the prefix overlay |
62 |
>>> not support blas/cblas/atlas yet? |