Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to selectively use distcc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Lukas
n00b
n00b


Joined: 05 Jun 2002
Posts: 32
Location: Amsterdam, The Netherlands

PostPosted: Sun Mar 07, 2004 1:43 pm    Post subject: how to selectively use distcc Reply with quote

I'm having some trouble with distcc.

If I change my make.conf, to exclude the distcc feature and set make-opts to -j2 I still get distcc related errors when making stuff. What do I do to ensure make.conf is reread or used?

TIA
_________________
Lukas
Back to top
View user's profile Send private message
matkare
n00b
n00b


Joined: 03 Mar 2004
Posts: 69

PostPosted: Sun Mar 07, 2004 2:35 pm    Post subject: Reply with quote

use the info function of emerge to get his actual parameters:
Code:

# > emerge --info

now you can check your USE-Flags. :) But the problem is USE-Flag 'distcc' does not exist.

Here you can find a list of all existing USE-Flags:
http://www.gentoo.org/dyn/use-index.xml
Back to top
View user's profile Send private message
Lukas
n00b
n00b


Joined: 05 Jun 2002
Posts: 32
Location: Amsterdam, The Netherlands

PostPosted: Sun Mar 07, 2004 2:59 pm    Post subject: Reply with quote

hmm... I've got some more info on the subject.
emerge does 'listen' to my make.conf setup file. So when excluding the distcc FEATURE (that's not a USE flag) emerge will make my stuff locally.

However when I do normal/manual make of a source package, how do I exclude distcc taking over?
If distcc is used with normal/manual make, where does it get it's default -j option value from?

I'm having trouble getting mol to work, but I'll start a seperate thread on that.
_________________
Lukas
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Sun Mar 07, 2004 3:11 pm    Post subject: Reply with quote

Lukas wrote:
However when I do normal/manual make of a source package, how do I exclude distcc taking over?
If distcc is used with normal/manual make, where does it get it's default -j option value from?


AFAIK, the items in make.conf amount to environment variables for portage, so you can adjust and override things on the command line. This is handy for one-time adjustment of $ACCEPT_KEYWORDS or $USE, but also for other items set in make.conf For example:

Code:
FEATURES="-distcc" MAKEOPTS="-j2" emerge <item>


If you want to verify that something like this works, try it with 'emerge info'.

Good luck with mol. It worked last time I tried, but that was several kernels ago. :)
Back to top
View user's profile Send private message
Lukas
n00b
n00b


Joined: 05 Jun 2002
Posts: 32
Location: Amsterdam, The Netherlands

PostPosted: Sun Mar 07, 2004 3:21 pm    Post subject: Reply with quote

ozonator wrote:

AFAIK, the items in make.conf amount to environment variables for portage, so you can adjust and override things on the command line. This is handy for one-time adjustment of $ACCEPT_KEYWORDS or $USE, but also for other items set in make.conf For example:

Code:
FEATURES="-distcc" MAKEOPTS="-j2" emerge <item>



I see. That certainly is a good tip, way easier than editing that /etc/make.conf every time. Thanks
_________________
Lukas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum