public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Steven Trogdon <strogdon@d.umn.edu>
To: gentoo-science <gentoo-science@lists.gentoo.org>
Subject: [gentoo-science] [sage-on-prefix] sympow
Date: Mon, 06 Dec 2010 15:13:57 -0600	[thread overview]
Message-ID: <1291670037.26551.1@ledaig> (raw)

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]

Hi Christopher,

Since sage-on-prefix is semi-official I though I would indicate an  
issue I encountered in installing Sage from sage-on-gentoo in a prefix  
on Debian Linux.

When building sympow (sympow-1.018.1_p8-r1) the Debian system gcc  
compiler was being used instead of the Prefix gcc. This was because  
sympow provides in Configure a whichexe() function with hard-coded  
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  
perhaps the hard-coded paths could be removed so the prefix/gentoo  
system 'which' is used.

Steve


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2010-12-06 21:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06 21:13 Steven Trogdon [this message]
2010-12-06 21:25 ` [gentoo-science] [sage-on-prefix] sympow fbissey
2010-12-07 11:48 ` Christopher Schwan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1291670037.26551.1@ledaig \
    --to=strogdon@d.umn.edu \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox