Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make install failure from emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
orinoco77
n00b
n00b


Joined: 20 Mar 2003
Posts: 15

PostPosted: Fri Mar 28, 2003 7:56 pm    Post subject: make install failure from emerge Reply with quote

I have made an ebuild that has gone through many many metamorphoses over the last few days. Finally I think I've got it right, only it won't install when it gets to the final stage. If I cd to /var/tmp/portage/<package>/work/<package> and do a "make install" the package installs fine, so obviously there's nothing wrong with the build process. Anyone any idea why it might fail at this crucial point? I've included the ebuild below for reference. Don't laugh too hard, it's my first go. Incidentally libdsk, lib765 and libspectrum are all accounted for by other ebuilds I've made that do work fine. It's only this one that fails.

Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="FUSE - Free Unix Spectrum Emulator by Philip Kendall"
HOMEPAGE="http://www.srcf.ucam.org/~pak21/spectrum/fuse.html"
SRC_URI="http://www.srcf.ucam.org/~pak21/spectrum/fuse-0.5.1.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="X svga libdsk"
# This build is heavily use dependent. USE="svga" will build the svga
# version of fuse, otherwise X will be used. Libdsk must be specified
# in order to take advantage of +3 emulation.
DEPEND="X? ( virtual/x11 )
   svga? ( media-libs/svgalib )
   >=libspectrum-0.1.0
   libdsk? ( app-emulation/libdsk
        app-emulation/lib765 )"
#RDEPEND=""
S=${WORKDIR}/fuse-0.5.1

src_compile() {
   local myflags
   use svga && myflags="$(myflags) --with-svgalib"
   use libdsk || myflags="$(myflags) --without-plus3-disk"
   ./configure \
      --host=${CHOST} \
      --prefix=/usr \
      --infodir=/usr/share/info \
      --mandir=/usr/share/man || die "Fuse ./configure failed"
   emake || die "Fuse make failed"
}

src_install() {
      mandir=${D}/usr/share/man \
      infodir=${D}/usr/share/info \
      install || die "Fuse make install failed"
}
Back to top
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Fri Mar 28, 2003 8:00 pm    Post subject: Reply with quote

can you give us emerge's output ?
_________________
every step aim at glory.
Back to top
View user's profile Send private message
orinoco77
n00b
n00b


Joined: 20 Mar 2003
Posts: 15

PostPosted: Sat Mar 29, 2003 12:05 am    Post subject: Reply with quote

The lines where everything goes to hell are:
Code:

make[2]: Leaving directory `/var/tmp/portage/fuse-0.5.1/work/fuse-0.5.1'
make[1]: Leaving directory `/var/tmp/portage/fuse-0.5.1/work/fuse-0.5.1'

>>> Install fuse-0.5.1 into /var/tmp/portage/fuse-0.5.1/image/ category app-emulation
install: too few arguments
Try `install --help' for more information.

!!! ERROR: app-emulation/fuse-0.5.1 failed.
!!! Function src_install, Line 48, Exitcode 1
!!! Fuse make install failed



This makes no sense to me as install has no arguments at all in any of the other ebuilds I wrote to solve dependencies with this project and I don't see why it should need any here. Incidentally, this all worked fine until I revised the IUSE variable to add support for the libdsk stuff. I can't see how that could possibly cause this though.

Any help at all would be great. I was hoping to submit this tonight, but it looks like I've been foiled again :(
Back to top
View user's profile Send private message
orinoco77
n00b
n00b


Joined: 20 Mar 2003
Posts: 15

PostPosted: Mon Mar 31, 2003 10:21 am    Post subject: Reply with quote

This has been fixed by using "einstall" rather than install. I have no idea why this should make a difference, but I'm happy that it works :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum