Difference between revisions of "Distcc"

From CBLFS
Jump to navigationJump to search
 
Line 43: Line 43:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
if [ -x distccmon-gnome ]; then
 +
  ln -sfv ../distcc/distccmon-gnome.desktop /usr/share/applications &&
 +
  ln -sfv ../distcc/distccmon-gnome-icon.png /usr/share/pixmaps
 +
fi
  
 
== Multilib ==
 
== Multilib ==
Line 60: Line 64:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
if [ -x distccmon-gnome ]; then
 +
  ln -sfv ../distcc/distccmon-gnome.desktop /usr/share/applications &&
 +
  ln -sfv ../distcc/distccmon-gnome-icon.png /usr/share/pixmaps
 +
fi
  
 
=== N32 ===
 
=== N32 ===
Line 74: Line 82:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
if [ -x distccmon-gnome ]; then
 +
  ln -sfv ../distcc/distccmon-gnome.desktop /usr/share/applications &&
 +
  ln -sfv ../distcc/distccmon-gnome-icon.png /usr/share/pixmaps
 +
fi
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 88: Line 100:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
if [ -x distccmon-gnome ]; then
 +
  ln -sfv ../distcc/distccmon-gnome.desktop /usr/share/applications &&
 +
  ln -sfv ../distcc/distccmon-gnome-icon.png /usr/share/pixmaps
 +
fi
  
 
= Contents =
 
= Contents =

Revision as of 14:02, 5 February 2007

Download Source: http://distcc.samba.org/ftp/distcc/distcc-2.18.3.tar.bz2

Introduction to Distcc

Distcc is a program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network. Distcc should always generate the same results as a local build, is simple to install and use, and is usually much faster than a local compile.

Project Home Page: http://distcc.samba.org/

Dependencies

Recommended

Optional

Configuration Information

Add one of the following to configure if you would like to build distccmon-gnome:

--with-gnome
--with-gtk

Not that --with-gnome takes precedence over --with-gtk.

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --with-docdir=/usr/share/distcc-2.18.3 \
    --enable-rfc2553 &&
make

Install the package:

make install &&
if [ -x distccmon-gnome ]; then
  ln -sfv ../distcc/distccmon-gnome.desktop /usr/share/applications &&
  ln -sfv ../distcc/distccmon-gnome-icon.png /usr/share/pixmaps
fi

Multilib

This package does not install any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --with-docdir=/usr/share/distcc-2.18.3 \
    --enable-rfc2553 &&
make

Install the package:

make install &&
if [ -x distccmon-gnome ]; then
  ln -sfv ../distcc/distccmon-gnome.desktop /usr/share/applications &&
  ln -sfv ../distcc/distccmon-gnome-icon.png /usr/share/pixmaps
fi

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --with-docdir=/usr/share/distcc-2.18.3 \
    --enable-rfc2553 &&
make

Install the package:

make install &&
if [ -x distccmon-gnome ]; then
  ln -sfv ../distcc/distccmon-gnome.desktop /usr/share/applications &&
  ln -sfv ../distcc/distccmon-gnome-icon.png /usr/share/pixmaps
fi

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --with-docdir=/usr/share/distcc-2.18.3 \
    --enable-rfc2553 &&
make

Install the package:

make install &&
if [ -x distccmon-gnome ]; then
  ln -sfv ../distcc/distccmon-gnome.desktop /usr/share/applications &&
  ln -sfv ../distcc/distccmon-gnome-icon.png /usr/share/pixmaps
fi

Contents

Installed Programs: distcc distccd distccmon-gnome distccmon-text
Installed Libraries: None
Installed Directories: /usr/share/distcc /usr/share/doc/distcc-2.18.3
Retrieved from "?title=Distcc&oldid=7607"