public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: David Relson <relson@osagesoftware.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Change install directory of ebuilds?
Date: Sat, 4 Oct 2008 17:15:11 -0400	[thread overview]
Message-ID: <20081004171511.42bb2a6e@osage.osagesoftware.com> (raw)
In-Reply-To: <1223151472.5025.21.camel@rei.osaft.net>

On Sat, 04 Oct 2008 22:17:52 +0200
Andreas Simbuerger wrote:

> On Sat, 2008-10-04 at 22:08 +0200, Justin wrote:
> > Andreas Simbuerger schrieb:
> > > Greetings,
> > >
> > > Is it possible to change the install-directory of ebuilds?
> > > Let's say for example:
> > >
> > > TODIR=/usr/local/lib emerge python
> > >
> > > I tried to find a clue within the Gentoo Documentation and the
> > > Forums but still no idea how to do that.
> > >
> > > -----
> > > As it is my first post to a mailing list, i hope it's not kind of
> > > a dumb question that can be solved by a "RTFM" ;-)
> > > -----
> > >
> > > - Andreas
> > >
> > >
> > >   
> > What really do you want to do? Whats your intention behind?
> 
> I had some trouble during upgrading Python2.4 to Python2.5
> where some ebuilds installed themselves to /usr/local/lib
> depending ebuilds were looking into /usr/lib.
> 
> Whilst having no idea how i messed that one up (aside from accepting
> ~amd64 ebuilds ;-)) i want to correct that by remerging 
> the messed up packages with the correct(?) path.
> 
> In addition i try to solve the problems by doing an
>  emerge -eaD world
> right at the moment
> 
> - Andreas

H'lo Andreas,

Here're some ideas, for whatever they're worth:

Installs to /usr/local/lib sounds like b0rked ebuilds.  I'd try using
equery to find the ebuilds that installed "bad" files.  Then I'd look
for "/usr/local" in those ebuilds and fix them.  Putting the fixed
ebuilds in /usr/local/portage/..., rather than just
changing /usr/portage/..., might be even better.  Lastly, I'd report
the b0rked ebuilds on bugzilla.gentoo.org and would include the fixes
with the reports.

Looking on my system, all that /usr/local/lib is 
/usr/local/lib64/python2.5/site-packages/doxypy-0.3rc2-py2.5.egg-info
which appears to have come from manually installing 
~/Download/doxypy-0.3rc2.tar.gz, i.e. the one such file I have isn't
from an ebuild at all.  Might that be what's happened to you?

HTH,

David



  reply	other threads:[~2008-10-04 21:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-04 20:01 [gentoo-user] Change install directory of ebuilds? Andreas Simbuerger
2008-10-04 20:08 ` Justin
2008-10-04 20:17   ` Andreas Simbuerger
2008-10-04 21:15     ` David Relson [this message]
2008-10-04 22:03       ` Andreas Simbuerger
2008-10-04 23:05         ` Alan McKinnon
2008-10-05  0:25           ` David Relson
2008-10-05 11:50             ` Andreas Simbuerger
2008-10-05  2:48     ` Andrey Vul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081004171511.42bb2a6e@osage.osagesoftware.com \
    --to=relson@osagesoftware.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox