[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] problem with first ebuild
From:       Mike Frysinger <vapier () gentoo ! org>
Date:       2005-05-24 17:28:31
Message-ID: 200505241328.31506.vapier () gentoo ! org
[Download RAW message or body]

On Tuesday 24 May 2005 01:17 pm, Jonas Geiregat wrote:
> The problem is with the install -g root -o root -m 755 scheme etc ..
> command, it seems to run fine but at the end nothing is installed ....

the problem is the silly install command

your binary is being installed as '/bin' not as '/bin/scheme'

you can fix this by patching the makefile to do a `install -d $(DESTDIR)/bin` 
before trying to install the binary, or you can change it to do:
install -o root -g root -m 755 scheme -D $(DESTDIR)/bin/scheme

or you can be lazy and add a `dodir /bin/` before the `make install`, but 
that's weak :P

side note, there's no reason to install scheme into /bin ... it should go 
into /usr/bin
-mike
-- 
gentoo-dev@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic