* [gentoo-dev] Multiplatform Portage.
[not found] <20020429150603.939E7AC4A8@chiba.3jane.net>
@ 2002-04-29 16:00 99% ` Bryan Muir
0 siblings, 0 replies; 1+ results
From: Bryan Muir @ 2002-04-29 16:00 UTC (permalink / raw
To: gentoo-dev
Procedure for using Portage in another distribution.
I have been playing around with getting Portage to work in Redhat 7.1,
and I haven't ironed
out all the bugs yet, so I'll just outline what I have done so far. As
usual, backup
anything important before you try these instructions...
I also attached these instructions to the bugzilla id:
http://bugs.gentoo.org/show_bug.cgi?id=2215
1. Download portage source code.
2. Untar into a work directory somewhere
3. Download portage snapshot and untar into /usr
4. cp portagexxx/bin/* to /usr/bin
[Note: havent tracked down why this next step is necessary, but calling
ebuild causes an
error without it]
4a. cp portagexxx/bin/ebuild* /usr/sbin
5. cp portagexxx/cnf/* to /etc
6. cp portagexxx/pym/* to /usr/local/lib/python2.2/site-packages/
7. cd to portagexxx/src/python-missongos and do python setup.py build
8. do python setup.py install
9. cd ../sandbox
10. do make && make install
[NOTE. the following step is crucial or it will disable about half of a
redhat
system]
11. in etc, create an env.d directory. If you have a working gentoo
system,
grab the 00basic file and copy it to the new directory. This directory
is what
env-update uses to rebuild the ld.co.conf file. I modified the 00basic
file so
that it looked like the following:
PATH=/usr/local/bin
ROOTPATH=/usr/local/bin
LDPATH=/usr/local/lib:/usr/lib:/usr/kerberos/lib:/usr/X11R6/lib:/usr/lib/sane:/usr/lib/qt-2.3.0/lib
MANPATH=/usr/share/man
INFODIR=/usr/share/info
CVS_RSH=ssh
PAGER=/usr/bin/less
LESSOPEN="|lesspipe.sh %s"
I could have made a seperate files, each with a different LDPATH line
and they would have
been merged, but I was feeling lazy.
Conclusion:
That should do it... the following are the caveats/problems that I
havent solved yet...
1. emerge rsync doesnt work as my place of employment has that port
blocked.
Additionally CVS access appears to be passworded. So I have to download
the portage
snapshots to update portage.
2. Due to all the RPM's for the base system, portage always wants to
emerge baselayout,
etc... so for packages I have been using the --nodeps option and
installing packages one
at a time. The downside is that you have to install all required
packages seperately.
3. I was having the circular reference error, but without emerge rsync,
I had to just
emerge --nodeps python-fchksum and the error went away.
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
[not found] <20020429150603.939E7AC4A8@chiba.3jane.net>
2002-04-29 16:00 99% ` [gentoo-dev] Multiplatform Portage Bryan Muir
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox