Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] problem with first ebuild
Date: Tue, 24 May 2005 17:27:51
Message-Id: 200505241328.31506.vapier@gentoo.org
In Reply to: [gentoo-dev] problem with first ebuild by Jonas Geiregat
1 On Tuesday 24 May 2005 01:17 pm, Jonas Geiregat wrote:
2 > The problem is with the install -g root -o root -m 755 scheme etc ..
3 > command, it seems to run fine but at the end nothing is installed ....
4
5 the problem is the silly install command
6
7 your binary is being installed as '/bin' not as '/bin/scheme'
8
9 you can fix this by patching the makefile to do a `install -d $(DESTDIR)/bin`
10 before trying to install the binary, or you can change it to do:
11 install -o root -g root -m 755 scheme -D $(DESTDIR)/bin/scheme
12
13 or you can be lazy and add a `dodir /bin/` before the `make install`, but
14 that's weak :P
15
16 side note, there's no reason to install scheme into /bin ... it should go
17 into /usr/bin
18 -mike
19 --
20 gentoo-dev@g.o mailing list