From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PPiPX-0003b3-01 for garchives@archives.gentoo.org; Mon, 06 Dec 2010 21:15:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BAC0E0521; Mon, 6 Dec 2010 21:15:07 +0000 (UTC) Received: from mx0.d.umn.edu (mx0.d.umn.edu [131.212.109.42]) by pigeon.gentoo.org (Postfix) with ESMTP id 51470E0521 for ; Mon, 6 Dec 2010 21:15:07 +0000 (UTC) Received: from mxr1.d.umn.edu (mxr1.d.umn.edu [131.212.109.92]) by mx0.d.umn.edu (8.13.8/8.13.8) with ESMTP id oB6LEPO5025538 for ; Mon, 6 Dec 2010 15:14:25 -0600 (CST) Received: from mxv2.d.umn.edu (mxv2.d.umn.edu [131.212.109.136]) by mxr1.d.umn.edu (8.13.8/8.13.8) with ESMTP id oB6LEOhQ020001 for ; Mon, 6 Dec 2010 15:14:25 -0600 (CST) Received: from smtp.d.umn.edu (mx3.d.umn.edu [131.212.109.40]) by mxv2.d.umn.edu (8.13.8/8.13.8) with ESMTP id oB6LEN64014498 for ; Mon, 6 Dec 2010 15:14:24 -0600 (CST) Received: from ledaig (ledaig.d.umn.edu [131.212.64.12]) (authenticated bits=0) by smtp.d.umn.edu (8.13.8/8.13.8) with ESMTP id oB6LDv5H008840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 6 Dec 2010 15:13:57 -0600 (CST) Date: Mon, 06 Dec 2010 15:13:57 -0600 From: Steven Trogdon Subject: [gentoo-science] [sage-on-prefix] sympow To: gentoo-science X-Mailer: Balsa 2.4.8 Message-Id: <1291670037.26551.1@ledaig> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=PGP-SHA1; boundary="=-plcPhv7TOj7c0WjbyrvU" X-Virus-Scanned: clamav-milter 0.96.3 at mxv2.d.umn.edu X-Virus-Status: Clean X-Archives-Salt: 8e615216-2ad1-4e50-8da8-66c1ed431881 X-Archives-Hash: ec0f93780ad1a0c0298b84c167898ba8 --=-plcPhv7TOj7c0WjbyrvU Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Christopher, Since sage-on-prefix is semi-official I though I would indicate an =20 issue I encountered in installing Sage from sage-on-gentoo in a prefix =20 on Debian Linux. When building sympow (sympow-1.018.1_p8-r1) the Debian system gcc =20 compiler was being used instead of the Prefix gcc. This was because =20 sympow provides in Configure a whichexe() function with hard-coded =20 search paths. The easiest thing for me was to add: # fix EPREFIX in whichexe() function sed -i -e "s:-f \/bin:-f ${EPREFIX}\/bin:" \ -e "s:echo \/bin:echo ${EPREFIX}\/bin:" \ -e "s:\/usr:${EPREFIX}\/usr:g" \ Configure || die "failed to fix EPREFIX in whichexe()" to src_prepare(). I didn't think about it until just recently, but =20 perhaps the hard-coded paths could be removed so the prefix/gentoo =20 system 'which' is used. Steve --=-plcPhv7TOj7c0WjbyrvU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkz9UhUACgkQSh5h5U6haiFbwwCfVVWNrCz+pGTW5hFHlIYtvWrI RTkAnRuJMzPztcKr5a5crQa2s5ZytDfy =ktEg -----END PGP SIGNATURE----- --=-plcPhv7TOj7c0WjbyrvU--