On 3/10/07, Chris <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello Everyone,

I will begin by stating my problem.  I have the source code (in
*.tar.bz2 format) for a couple of pieces of software that are not in the
Portage tree at all.  I would like to compile and install them in such a
way that I can use them, and even so Portage recognizes them.

You most likely want to install that software in /usr/local as per
Gentoo's filesystem layout [1]. The way you can do that with
autotoolized software is like this:

./configure --prefix=/usr/local
make
make install

I don't know what you mean by making Portage recognize the software
installed this way. Do you want Portage to be able to uninstall and/or
upgrade this software? If so, the simple answer is you it can't do
that. You have to manage the software outside of Portage yourself.

I have read the official Gentoo documentation regarding Portage, ebuilds
and diverting from the Portage tree and while it gave me some ideas, it
really didn't fully answer the question of exactly *how* to do what I want.

You probably arrived at this state because that documentation wasn't
talking about what you really wanted :)


References:
[1] - http://devmanual.gentoo.org/general-concepts/filesystem/index.html

--
Libre Software:
http://www.gnu.org/philosophy/free-sw.html
--
gentoo-user@gentoo.org mailing list

Reply via email to