1 |
Quoting Steven Trogdon <strogdon@×××××.edu>: |
2 |
|
3 |
> Hi Christopher, |
4 |
> |
5 |
> Since sage-on-prefix is semi-official I though I would indicate an |
6 |
> issue I encountered in installing Sage from sage-on-gentoo in a prefix |
7 |
> on Debian Linux. |
8 |
> |
9 |
> When building sympow (sympow-1.018.1_p8-r1) the Debian system gcc |
10 |
> compiler was being used instead of the Prefix gcc. This was because |
11 |
> sympow provides in Configure a whichexe() function with hard-coded |
12 |
> search paths. The easiest thing for me was to add: |
13 |
> |
14 |
> # fix EPREFIX in whichexe() function |
15 |
> sed -i -e "s:-f \/bin:-f ${EPREFIX}\/bin:" \ |
16 |
> -e "s:echo \/bin:echo ${EPREFIX}\/bin:" \ |
17 |
> -e "s:\/usr:${EPREFIX}\/usr:g" \ |
18 |
> Configure || die "failed to fix EPREFIX in whichexe()" |
19 |
> |
20 |
> to src_prepare(). I didn't think about it until just recently, but |
21 |
> perhaps the hard-coded paths could be removed so the prefix/gentoo |
22 |
> system 'which' is used. |
23 |
> |
24 |
Hi Steve, |
25 |
|
26 |
I almost fell like forwarding that one to Dave on sage-devel for |
27 |
a laugh. It looks like a fairly decent fix to me. |
28 |
|
29 |
I am not back on duty but at least I read my email. |
30 |
|
31 |
Francois |