Gentoo Archives: gentoo-user

From: Andreas Simbuerger <simi@×××××.eu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Change install directory of ebuilds?
Date: Sat, 04 Oct 2008 22:03:53
Message-Id: 1223157827.5025.33.camel@rei.osaft.net
In Reply to: Re: [gentoo-user] Change install directory of ebuilds? by David Relson
1 On Sat, 2008-10-04 at 17:15 -0400, David Relson wrote:
2 > On Sat, 04 Oct 2008 22:17:52 +0200
3 > Andreas Simbuerger wrote:
4 >
5 > > On Sat, 2008-10-04 at 22:08 +0200, Justin wrote:
6 > > > Andreas Simbuerger schrieb:
7 > > > > Greetings,
8 > > > >
9 > > > > Is it possible to change the install-directory of ebuilds?
10 > > > > Let's say for example:
11 > > > >
12 > > > > TODIR=/usr/local/lib emerge python
13 > > > >
14 > > > > I tried to find a clue within the Gentoo Documentation and the
15 > > > > Forums but still no idea how to do that.
16 > > > >
17 > > > > -----
18 > > > > As it is my first post to a mailing list, i hope it's not kind of
19 > > > > a dumb question that can be solved by a "RTFM" ;-)
20 > > > > -----
21 > > > >
22 > > > > - Andreas
23 > > > >
24 > > > >
25 > > > >
26 > > > What really do you want to do? Whats your intention behind?
27 > >
28 > > I had some trouble during upgrading Python2.4 to Python2.5
29 > > where some ebuilds installed themselves to /usr/local/lib
30 > > depending ebuilds were looking into /usr/lib.
31 > >
32 > > Whilst having no idea how i messed that one up (aside from accepting
33 > > ~amd64 ebuilds ;-)) i want to correct that by remerging
34 > > the messed up packages with the correct(?) path.
35 > >
36 > > In addition i try to solve the problems by doing an
37 > > emerge -eaD world
38 > > right at the moment
39 > >
40 > > - Andreas
41 >
42 > H'lo Andreas,
43 >
44 > Here're some ideas, for whatever they're worth:
45 >
46 > Installs to /usr/local/lib sounds like b0rked ebuilds. I'd try using
47 > equery to find the ebuilds that installed "bad" files. Then I'd look
48 > for "/usr/local" in those ebuilds and fix them. Putting the fixed
49 > ebuilds in /usr/local/portage/..., rather than just
50 > changing /usr/portage/..., might be even better. Lastly, I'd report
51 > the b0rked ebuilds on bugzilla.gentoo.org and would include the fixes
52 > with the reports.
53 >
54 > Looking on my system, all that /usr/local/lib is
55 > /usr/local/lib64/python2.5/site-packages/doxypy-0.3rc2-py2.5.egg-info
56 > which appears to have come from manually installing
57 > ~/Download/doxypy-0.3rc2.tar.gz, i.e. the one such file I have isn't
58 > from an ebuild at all. Might that be what's happened to you?
59 >
60 > HTH,
61 >
62 > David
63 Thanks for this idea! :D
64
65 So portage takes /usr/local/portage before /usr/portage ?
66 Cool thing! I will try that after emerge -eD world has finished
67 ... 330 of 697 weeeeeee ;-)
68
69 Although i don't have any downloaded packages, everything that went
70 in, went in through portage ;D
71
72 Besides...i got the following packages installed to /usr/local/.....
73 I still doubt that this is a problem with ~amd64....
74 Perhaps something in /etc/env.d/ can cause this? Didn't change
75 anything in there...
76
77 rei python2.5 # qfile -v /usr/local/lib/python2.5
78
79 net-p2p/bittorrent-5.2.0 (/usr/local/lib/python2.5)
80 sys-apps/file-4.26 (/usr/local/lib/python2.5)
81 net-zope/zopeinterface-3.0.1-r1 (/usr/local/lib/python2.5)
82 dev-java/java-config-1.3.7 (/usr/local/lib64/python2.5)
83 dev-java/java-config-2.1.6-r1 (/usr/local/lib64/python2.5)
84 dev-python/pyopenssl-0.7 (/usr/local/lib/python2.5)
85 dev-python/pyopengl-3.0.0_beta1 (/usr/local/lib/python2.5)
86 dev-python/pyxdg-0.15 (/usr/local/lib/python2.5)
87 dev-python/twisted-8.1.0 (/usr/local/lib/python2.5)
88 dev-python/pyrex-0.9.8.5 (/usr/local/lib/python2.5)
89 dev-python/python-ldap-2.3.5 (/usr/local/lib/python2.5)
90 dev-python/dnspython-1.6.0 (/usr/local/lib/python2.5)
91 dev-python/wxpython-2.6.4.0-r2 (/usr/local/lib/python2.5)
92 dev-python/numeric-24.2-r6 (/usr/local/lib/python2.5)
93 dev-python/setuptools-0.6_rc8-r1 (/usr/local/lib/python2.5)
94 dev-python/pycairo-1.4.12 (/usr/local/lib64/python2.5)
95 dev-python/pyxml-0.8.4-r1 (/usr/local/lib64/python2.5)
96 dev-python/twisted-web-8.1.0 (/usr/local/lib/python2.5)
97 dev-python/gdata-1.0.8 (/usr/local/lib/python2.5)
98 dev-python/pycrypto-2.0.1-r6 (/usr/local/lib/python2.5)
99
100 - Andreas

Replies

Subject Author
Re: [gentoo-user] Change install directory of ebuilds? Alan McKinnon <alan.mckinnon@×××××.com>