1 |
On Sat, 04 Oct 2008 22:17:52 +0200 |
2 |
Andreas Simbuerger wrote: |
3 |
|
4 |
> On Sat, 2008-10-04 at 22:08 +0200, Justin wrote: |
5 |
> > Andreas Simbuerger schrieb: |
6 |
> > > Greetings, |
7 |
> > > |
8 |
> > > Is it possible to change the install-directory of ebuilds? |
9 |
> > > Let's say for example: |
10 |
> > > |
11 |
> > > TODIR=/usr/local/lib emerge python |
12 |
> > > |
13 |
> > > I tried to find a clue within the Gentoo Documentation and the |
14 |
> > > Forums but still no idea how to do that. |
15 |
> > > |
16 |
> > > ----- |
17 |
> > > As it is my first post to a mailing list, i hope it's not kind of |
18 |
> > > a dumb question that can be solved by a "RTFM" ;-) |
19 |
> > > ----- |
20 |
> > > |
21 |
> > > - Andreas |
22 |
> > > |
23 |
> > > |
24 |
> > > |
25 |
> > What really do you want to do? Whats your intention behind? |
26 |
> |
27 |
> I had some trouble during upgrading Python2.4 to Python2.5 |
28 |
> where some ebuilds installed themselves to /usr/local/lib |
29 |
> depending ebuilds were looking into /usr/lib. |
30 |
> |
31 |
> Whilst having no idea how i messed that one up (aside from accepting |
32 |
> ~amd64 ebuilds ;-)) i want to correct that by remerging |
33 |
> the messed up packages with the correct(?) path. |
34 |
> |
35 |
> In addition i try to solve the problems by doing an |
36 |
> emerge -eaD world |
37 |
> right at the moment |
38 |
> |
39 |
> - Andreas |
40 |
|
41 |
H'lo Andreas, |
42 |
|
43 |
Here're some ideas, for whatever they're worth: |
44 |
|
45 |
Installs to /usr/local/lib sounds like b0rked ebuilds. I'd try using |
46 |
equery to find the ebuilds that installed "bad" files. Then I'd look |
47 |
for "/usr/local" in those ebuilds and fix them. Putting the fixed |
48 |
ebuilds in /usr/local/portage/..., rather than just |
49 |
changing /usr/portage/..., might be even better. Lastly, I'd report |
50 |
the b0rked ebuilds on bugzilla.gentoo.org and would include the fixes |
51 |
with the reports. |
52 |
|
53 |
Looking on my system, all that /usr/local/lib is |
54 |
/usr/local/lib64/python2.5/site-packages/doxypy-0.3rc2-py2.5.egg-info |
55 |
which appears to have come from manually installing |
56 |
~/Download/doxypy-0.3rc2.tar.gz, i.e. the one such file I have isn't |
57 |
from an ebuild at all. Might that be what's happened to you? |
58 |
|
59 |
HTH, |
60 |
|
61 |
David |