Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-science
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-science@g.o>
From: Christopher Schwan <cschwan@...>
Subject: Re: [sage-on-prefix] sympow
Date: Tue, 7 Dec 2010 12:48:34 +0100
Hi Steve,

On Monday 06 December 2010 22:13:57 Steven Trogdon wrote:
> 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.

Thanks!

> 
> 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.

Yes, I simply replaced "whichexe " with "which ", which should do it.

> 
> Steve

Christopher


References:
[sage-on-prefix] sympow
-- Steven Trogdon
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [sage-on-prefix] sympow
Next by thread:
sci-chemistry/gamess
Previous by date:
Re: gentoo science next meeting
Next by date:
sci-chemistry/gamess


Updated Jul 05, 2012

Summary: Archive of the gentoo-science mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.