distcc: Still no luck

This is about the third time now that I’ve tried to configure distcc between my 120Mhz Pentium running Crux, and my core duo running Arch. And sadly, it’s the third time I’ve failed.

I can configure the machines individually, but for some reason nothing is ever transferred between the two. The network is functioning, but the prt-get or pkgmk commands still build locally.

I’ve been over the wiki pages for both Crux and Arch on the subject, but to no avail. I even dug up a few third-party howtos and blog posts, but nothing seems to work.

As usual, I will blame my own misbegotten systems and configurations that occasionally get in the way. In most cases it looks like a simple one- or two-line adjustment to get it going.

But not for me. I can suffer for a while. I lasted five years without it, I can probably last a little longer. :roll:

About these ads

2 Responses to “distcc: Still no luck”


  1. 1 chive 2011/01/03 at 11:22 PM

    You can always replace /usr/bin/gcc symlink with one pointing to /usr/bin/distcc, this worked in Slackware for me and should fool system properly… If other machines are offline it will compile locally instead anyway.
    For manual compiling of various packages I also simply exported CC variable like this: ‘export CC=/usr/bin/distcc’
    Never used anything to manage ports though… I prefer to keep it in my head :-)
    Does it work if you compile things without prt-get or pkgmk?
    Once you manage to get it working you’ll never try to compile things on pentium alone again, I had my Toshiba 440CDT (p133 mmx) coupled with old pentium4 2.6 and it did wonders :)

    Good luck!

  2. 2 Gemon 2011/02/04 at 7:22 AM

    mmm, just succeded in using distcc on my linux box at home (pentium 2 350MHz) and my virtual archlinux host on my core i5 work laptop…
    All in all it’s pretty easy. That’s what I did (both run archlinux, but I didn’t follow the wiki…just plain old manual compilation):

    - pacman -S distcc on all hosts
    - on the ‘big’ one (the virtual host laptop, hostname vbox), login as a normal user and do:
    # distcc -daemon –allow 192.168.0.0/24
    - on the ‘small’ one (the p2-350), just do
    # export DISTCC_HOSTS=’localhost vbox’
    - cd to sources (I used as an example util-linux-ng 2.18 sources)
    - ./configure (usually)
    # make -j8 CC=distcc

    if everything works the client (where you started the make) won’t tell you anything if it is correctly distributing compilation work units. But you can easily see them by running htop on the other host…

    have fun!
    Gemon


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,960,744 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: