Gentoo Archives: gentoo-user

From: Devon Miller <devon.c.miller@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] What about a new file system subtree?
Date: Sat, 18 Feb 2006 15:58:22
Message-Id: c52221f0602180750l11d5a51aib55b1aa0c389a604@mail.gmail.com
In Reply to: [gentoo-user] [OT] What about a new file system subtree? by "Rafael Fernández López"
1 Hi,
2
3 It is possible today. When testing a new application, I will often install
4 it in my own account. What you're looking for is the "--prefix" argument to
5 "./configure". For example, "./configure --prefix=$HOME" will install the
6 app in question into ~/bin, ~/lib, ~/share, etc.
7
8 dcm
9
10 On 2/18/06, Rafael Fernández López <info@××××××××××××××××××.com> wrote:
11 >
12 > Hi,
13 >
14 > Since I have started a project that needs to be redistributed
15 > (it'll be GPL)
16 > I've started to deeply read Autoconf and Automake manuals.
17 >
18 > Well, I had read some of FHS too, to know what I should do and
19 > what I should
20 > not do with my file hierarchy.
21 >
22 > But, what came to my mind (maybe it's possible today) is that we
23 > could make a
24 > new "file system" subtree in every ~. For example, a user will be able to
25 > do
26 > a "./configure ; make" but if the system is well-administrated a user
27 > won't
28 > be able to run a "make install", since it can cause problems to the
29 > system.
30 > (I know we, Gentoo users, don't care about that). But what I wanted to say
31 > is
32 > that if we are not root (typical case) we could do a "./configure ; make ;
33 > make install" (in an app called 'whatever') and it could create for
34 > example
35 > "/home/me/bin/whatever" and "/home/me/share/doc/whatever" or
36 > "/home/me/doc/whatever", and so on.
37 >
38 > That would be great since a normal user won't infect any root
39 > filesystem, and
40 > an administrator can fix any tricky problem deleting "/home/me".
41 >
42 > Bye and thanks !,
43 > Rafael Fernández López.
44 >
45 >
46 >