Andreas Dittrich wrote:

This is not the same as enabling it for building fink stuff... The "default" only makes it default for when the user is on the command-line.


Since I never use Fink-Commander this should be ok for me. However, simply installing distcc-default doesn't work for me. fink doesn't use distcc when doing a "fink install [package]"
I'm pretty new to distcc so I might overlook something. But if I manually do a "make -j8 CC=distcc" it seems to work.
I also did set various variables:

when I say "on the command-line" I don't mean running Fink from the command-line, I mean general users who source init.sh will have access to distcc stuff.


Fink explicitly cleans it's environment (including MAKEFLAGS and friends) and only keeps around certain things, so there's no way to affect fink's behavior even from the distcc.conf. Your fink build will end up using ccache and distcc, but it will never distribute unless a particular package is using -jN in it's info file.

That's what I meant in my earlier message saying it's basically not possible in fink in it's current incarnation. I have a patch to fink in my experimental tree that I use personally to build fink packages using distcc, but it won't make fink proper until we have a better way of handling debugging packages that fail because of it, and having a decent corpus of packages working with it.

--
Benjamin Reed, a.k.a. RangerRick
[EMAIL PROTECTED] / http://ranger.befunk.com/


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to