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-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Fabian Groffen <grobian@g.o>
Subject: Re: [prefix][solaris] shell problem in portage/configure
Date: Fri, 4 May 2007 22:13:49 +0200
On 19-04-2007 17:30:27 +0200, Michael Haubenwallner wrote:
> > And this is the line with the problem:
> > 3756:     _dfb_version=$(dfb_version $_dfb_major $_dfb_minor $_dfb_micro)
> > 
> > The mplayer configure script uses /bin/sh which is the Bourne shell
> > and not Bourne-again shell.
> 
> It is defined that configure-scripts need to work with bourne shells
> (/bin/sh). And "$(foo)" is bash (or ksh) style.

true

> Replacing line 3756 like this should work:
> 
> -     _dfb_version=$(dfb_version $_dfb_major $_dfb_minor $_dfb_micro)
> +     _dfb_version=`dfb_version $_dfb_major $_dfb_minor $_dfb_micro`

agree

> > -       # Solaris /bin/sh fix
> > -       if [[ ${CHOST} == *-solaris* ]] ; then
> > -               sed -e "s:^#!.*/bin/sh:#!${EPREFIX}/bin/sh:" -i configure
> > -       fi
> 
> Maybe setting CONFIG_SHELL=${EPREFIX}/bin/bash could work too ?

Ahhh... anyone have objections on setting this in the profiles?  It
would just make any configure package use bash from the prefix, instead
of /bin/sh, which feels somehow a bit safer, even though it should work
fine in theory.

-- 
Fabian Groffen
Gentoo on a different level

-- 
gentoo-alt@g.o mailing list


Replies:
Re: [prefix][solaris] shell problem inportage/configure
-- Michael Haubenwallner
Re: [prefix][solaris] shell problem in portage/configure
-- Johan Hattne
References:
[prefix][solaris] shell problem in portage/configure
-- Michael Haubenwallner
Re: [prefix][solaris] shell problem in portage/configure
-- Fabian Groffen
Re: [prefix][solaris] shell problem in portage/configure
-- Michael Haubenwallner
Re: [prefix][solaris] shell problem in portage/configure
-- Fabian Groffen
Re: [prefix][solaris] shell problem in portage/configure
-- Fabrizio Listello
Re: [prefix][solaris] shell problem in portage/configure
-- Michael Haubenwallner
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [prefix][solaris] shell problem in portage/configure
Next by thread:
Re: [prefix][solaris] shell problem in portage/configure
Previous by date:
Re: Re: [prefix][linux] openssl-0.9.8e does not work
Next by date:
Re: [prefix] elibc on linux


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

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