1 |
Hi, |
2 |
|
3 |
On Wed, 21 Aug 2013 20:02:02 +0800 |
4 |
P Purkayastha <ppurka@×××××.com> wrote: |
5 |
|
6 |
> I need to have a personal installation of Sage to do development |
7 |
> work. However, I also want to reduce my upgrade times by installing a |
8 |
> system atlas. |
9 |
> |
10 |
> To do so, I added the science overlay and emerged |
11 |
> sci-libs/atlas[lapack,fortran,threads]. Thereafter, I added the |
12 |
> environment variable |
13 |
> |
14 |
> SAGE_ATLAS_LIB=/usr/lib |
15 |
> |
16 |
> and proceeded to compile sage in my home directory. Atlas fails with |
17 |
> the error that it can not find liblapack. The exact error message is |
18 |
> given below: |
19 |
> |
20 |
> Cannot find liblapack.* in /usr/lib |
21 |
> Unable to find one of liblapack, libcblas, libatlas or libf77blas |
22 |
> in the directory None |
23 |
> Set SAGE_ATLAS_LIB to the directory containing liblapack, libcblas, |
24 |
> libatlas and libf77blas (either .a, .so, .dylib extensions) if |
25 |
> you wish to use existing ATLAS libraries. For more details, see |
26 |
> http://sagemath.org/doc/installation/source.html#environment-variables |
27 |
> Unset SAGE_ATLAS_LIB to build ATLAS from source. |
28 |
|
29 |
if you make Sage believe that the atlas package was installed properly, |
30 |
the installation proceeds without trouble. So as a quick workaround, |
31 |
just do |
32 |
|
33 |
touch spkg/installed/atlas-<version_number> |
34 |
|
35 |
I always do this on my system. It would be good to find out the proper |
36 |
solution of course. :) |
37 |
|
38 |
|
39 |
Cheers, |
40 |
Burcin |