|
debianlinux
Myconerd - DBK
Registered: 12/09/02
Posts: 8,334
Loc: Over There
Last seen: 8 months, 30 days
|
P150 + Gentoo + Distcc
#3319002 - 11/04/04 08:56 AM (19 years, 4 months ago) |
|
|
Okay, somebody gave me a moldy P150 thinkpad. I want to use Gentoo on it as I suspect it will run rather well being specifically compiled for the older architecture. I've read reports that this is so.
The catch, of course, being that compiling takes literally days. The answer lies in Distcc. The problem i'm running into comes when I try to emerge distcc. It has ~70 dependencies or packages to emerge with it! "emerge system" only carries 75!!! So, I bit the bullet and emerged my system thinking i'll just emerge distcc once the system is in and it should only be a couple extra packages. 2 days of compiling later the system is merged and i try to emerge distcc, WTF!, it still needs to emerge 50 more packages?!?!
I've read several docs in the meantime that even describe how to use distcc as early as bootstrapping. every single doc tho has this step: "emerge distcc". and for good reason! I can't imagine these people flippantly stating this when they are saying they are using slow hardware.
the question boils down to: "How the fuck can I get a working distcc emerged without emerging 70 other packages? I mean, I understand a few supporting packages but 70?!?! I already tried removing all USE flags thinking that emerge was trying to get all supported packages (thinking i'd re-emerge distcc later with USE flags) but that had no effect.
meanwhile, i am doggedly emerging distcc. i am determined to get it running if just for the kernel compile. BTW, i've got 2 P4 2.4Ghz machines just waiting to assist the lil P150 so you can imagine what a boon distcc would be (have been). There is a good possibility that if I can get distcc emerged without spending days on it I would redo the entire install just so i can upgrade the HDD (currently 1.3GB) and rethink my partitioning scheme.
Also, removing the HDD and adapting it into my desktops for the compiles is out of the question. A) I don't have the IDE adpater and B) I just don't wanna.
|
delta9
Active Ingredient
Registered: 10/28/04
Posts: 5,390
Loc: California
Last seen: 13 years, 5 months
|
Re: P150 + Gentoo + Distcc [Re: debianlinux]
#3319700 - 11/04/04 12:23 PM (19 years, 4 months ago) |
|
|
So why not follow your namesake and throw debian on there? It is your namesake, afterall, and you won't have to compile everything.
-------------------- delta9
|
debianlinux
Myconerd - DBK
Registered: 12/09/02
Posts: 8,334
Loc: Over There
Last seen: 8 months, 30 days
|
Re: P150 + Gentoo + Distcc [Re: delta9]
#3320653 - 11/04/04 04:20 PM (19 years, 4 months ago) |
|
|
compiling everything is the goal. yes, debian can be compiled from scratch but i haven't mucked with it in a while... IOW, Gentoo is designed to be compiled from scratch. oh, and Ports kix ass.
i know the answer to this problem has got to be stupid simple but it is eluding me.
|
phi1618
old hand
Registered: 02/14/04
Posts: 4,102
Last seen: 13 years, 10 months
|
Re: P150 + Gentoo + Distcc [Re: debianlinux]
#3321013 - 11/04/04 05:43 PM (19 years, 4 months ago) |
|
|
First, I've never used distcc, but I do use gentoo.
I assume this is the documentation you looked at: http://www.gentoo.org/doc/en/distcc.xml
In the bootstrap section, it suggests using the option --nodeps, which shouldn't compile dependencies (and implies they might not be needed? - I did a stage3 install, so don't know if the deps might already be loaded?).
Alternately, you could try -gK, which should use binary packages, and not compile anything.
In any case, I'm no expert. If you've already tried the above, or still have trouble, I'd suggest trying the gentoo forums. Somebody there'll probably be able to help you.
|
debianlinux
Myconerd - DBK
Registered: 12/09/02
Posts: 8,334
Loc: Over There
Last seen: 8 months, 30 days
|
Re: P150 + Gentoo + Distcc [Re: phi1618]
#3321497 - 11/04/04 07:19 PM (19 years, 4 months ago) |
|
|
Quote:
phi1618 said: In the bootstrap section, it suggests using the option --nodeps
Quote:
debianlinux said:i know the answer to this problem has got to be stupid simple but it is eluding me.
hehe... doh! i can't imagine how my eyes skipped that as i had read that doc at least 10 times and several times over the months prior. thanks for the fresh eyeballs! edit: as i understand it distcc can be compiled w/o any dependencies or USE flags to be used to speed comilation for bootstrap and system emerges. once the work is done distcc should be recompiled to build in any missing functionality. also, the entire point of compiling is to get as much optimisation for the outdated hardware. it remains to be seen if it is worthwhile but is the reason i am refusing to install from binary.
Edited by debianlinux (11/04/04 07:23 PM)
|
MarioNett
Stranger
Registered: 07/21/03
Posts: 354
|
Re: P150 + Gentoo + Distcc [Re: debianlinux]
#3321552 - 11/04/04 07:28 PM (19 years, 4 months ago) |
|
|
I would suggest doing a stage3 at first, which would satisfy most or all of distcc's dependencies, then emerge distcc, then 'emerge --deep world' or whatever the command is to recompile everything, and presumably it would use distcc this time. But I've never used distcc so I'm talking out of my ass.
I hope that --nodeps thing works though.
|
debianlinux
Myconerd - DBK
Registered: 12/09/02
Posts: 8,334
Loc: Over There
Last seen: 8 months, 30 days
|
Re: P150 + Gentoo + Distcc [Re: MarioNett]
#3321682 - 11/04/04 07:51 PM (19 years, 4 months ago) |
|
|
Quote:
I would suggest doing a stage3 at first...
Quote:
the entire point of compiling is to get as much optimisation for the outdated hardware...
--nodeps is the ticket. next time i'll put down the pipe while reading documentation.
|
MarioNett
Stranger
Registered: 07/21/03
Posts: 354
|
Re: P150 + Gentoo + Distcc [Re: debianlinux]
#3322307 - 11/04/04 10:36 PM (19 years, 4 months ago) |
|
|
I understand about the optimization. I was saying do a stage3 to satisfy dependencies and install distcc, then recompile everything.
Glad you got it done though.
|
debianlinux
Myconerd - DBK
Registered: 12/09/02
Posts: 8,334
Loc: Over There
Last seen: 8 months, 30 days
|
Re: P150 + Gentoo + Distcc [Re: MarioNett]
#3323692 - 11/05/04 08:40 AM (19 years, 4 months ago) |
|
|
ah, i c. interesting approach. hadn't occured to me and most likely would not have.
|
PNutButta
Stranger
Registered: 10/06/03
Posts: 114
Last seen: 14 years, 8 months
|
Re: P150 + Gentoo + Distcc [Re: debianlinux]
#3347815 - 11/11/04 04:38 PM (19 years, 4 months ago) |
|
|
--nodeps is your answer.
If I may throw in a little something: Distcc Kicks Ass!!!
You can even use a Windows machine to help compile using Cygwin.
|
|