On Monday 06 November 2006 12:53, Steve [Gentoo] wrote:
> > >>> Compiling source in /var/tmp/portage/kbd-1.12-r8/work/kbd-1.12 ...
> >
> > Configuring for PREFIX=/usr
> > Configuring for DATADIR=/usr/share
> > Configuring for MANDIR=/usr/share/man
> > checking for gcc
> > ./configure: 151: Syntax error: Bad substitution
> >
> > !!! ERROR: sys-apps/kbd-1.12-r8 failed.
> > Call stack:
> >   ebuild.sh, line 1546:   Called dyn_compile
> >   ebuild.sh, line 937:   Called src_compile
> >   kbd-1.12-r8.ebuild, line 93:   Called die
> >
> > !!! (no error message)
> > !!! If you need support, post the topmost build error, and the call
> > stack if relevant.

I don't. I suppose the output of this should give a hint:

# ebuild `portageq portdir`/sys-apps/kbd/kbd-1.12-r8.ebuild clean unpack |
    grep "Unpacking kbd.* to"
>>> Unpacking kbd-1.12.tar.gz to /var/tmp/portage/sys-apps/kbd-1.12-r8/work

(note that this path differs depending on your version of portage)

# cd /var/tmp/portage/sys-apps/kbd-1.12-r8/work
# sed -i -e '141 aset -x\n' -e '152 aset +x\n' kbd-1.12/configure
# ebuild `portageq portdir`/sys-apps/kbd/kbd-1.12-r8.ebuild compile

Also might be a good idea to post the output of:

# emerge --info

-- 
Bo Andresen

Attachment: pgpvzmCP3GQYC.pgp
Description: PGP signature

Reply via email to