Gentoo Archives: gentoo-science

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-science <gentoo-science@l.g.o>
Subject: [gentoo-science] [sage-on-prefix] sympow
Date: Mon, 06 Dec 2010 21:15:51
Message-Id: 1291670037.26551.1@ledaig
1 Hi Christopher,
2
3 Since sage-on-prefix is semi-official I though I would indicate an
4 issue I encountered in installing Sage from sage-on-gentoo in a prefix
5 on Debian Linux.
6
7 When building sympow (sympow-1.018.1_p8-r1) the Debian system gcc
8 compiler was being used instead of the Prefix gcc. This was because
9 sympow provides in Configure a whichexe() function with hard-coded
10 search paths. The easiest thing for me was to add:
11
12 # fix EPREFIX in whichexe() function
13 sed -i -e "s:-f \/bin:-f ${EPREFIX}\/bin:" \
14 -e "s:echo \/bin:echo ${EPREFIX}\/bin:" \
15 -e "s:\/usr:${EPREFIX}\/usr:g" \
16 Configure || die "failed to fix EPREFIX in whichexe()"
17
18 to src_prepare(). I didn't think about it until just recently, but
19 perhaps the hard-coded paths could be removed so the prefix/gentoo
20 system 'which' is used.
21
22 Steve

Replies

Subject Author
Re: [gentoo-science] [sage-on-prefix] sympow fbissey@××××××××××××.nz
Re: [gentoo-science] [sage-on-prefix] sympow Christopher Schwan <cschwan@××××××××××××××××××.de>