Install DrQueue on OSX Leopard

Install DrQueue from source

  • You need Subversion, GCC, SCons and GTK2 (only for Drqman). Subversion and GCC are already installed in OSX 10.5.
  • The best way to install the rest of the dependencies is to use MacPorts. The documentation can be found here.
  • Install SCons and GTK2:
    sudo port install scons
    sudo port install gtk2
    
  • If you have problems installing GTK2 you should install Xquartz like mentioned here.
  • The old way: Checkout DrQueue 0.64.x from source with Subversion:
    svn co https://ssl.drqueue.org/svn/branches/0.64.x
    
  • The new way: Clone DrQueue sources with Git:
    git clone https://ssl.drqueue.org/git/drqueue.git
    
  • Build DrQueue with SCons:
    cd 0.64.x
    scons (build with Drqman)
    scons build_drqman=false (build without Drqman)
    
  • Install DrQueue to /usr/local/drqueue:
    sudo scons install
    

Install DrQueue from continuous build package

  • Download a Drqueue build for OSX:
    wget https://ssl.drqueue.org/files/continuous_builds/drqueue-0.64.x-OSX-10.5-x86-latest.tar.gz
    
  • Extract the build archive:
    tar -xvzf  drqueue-0.64.x-OSX-10.5-x86-latest.tar.gz
    
  • Copy the extracted files to /usr/local/drqueue:
    sudo cp -rv usr/local/drqueue /usr/local/
    

Setup the DrQueue master

  • This requires the setup of a NFS or Samba server in OSX. The directories /usr/local/drqueue/log and /usr/local/drqueue/tmp have to be exported to the network (only when running slaves on different machines than the master). TODO
  • Configure needed environment variables:
    export DRQUEUE_ROOT=/usr/local/drqueue
    export DRQUEUE_MASTER=127.0.0.1
    export PATH=$PATH:$DRQUEUE_ROOT/bin
    
  • Configure IPC kernel settings like described here:
  • Start the master daemon:
    master.Darwin.i386 -o
    

Setup a DrQueue slave

  • This requires the setup of a NFS or Samba client in OSX. The directories /usr/local/drqueue/log and /usr/local/drqueue/tmp from the master have to be mounted (only when running slaves on different machines than the master). TODO
  • Configure needed environment variables:
    export DRQUEUE_ROOT=/usr/local/drqueue
    export DRQUEUE_MASTER=IP_FROM_MASTER ('127.0.0.1' when running the slave on the same machine)
    export PATH=$PATH:$DRQUEUE_ROOT/bin
    
  • Configure IPC kernel settings like described here:
  • Start the slave daemon:
    slave.Darwin.i386 -o
    

Universal Binaries

  • You can create Universal Binaries when you add this in 'scons.conf':
    universal_binary = True
    
  • When only building without Drqman, everything should build without problems.
  • When building with Drqman, you will need every dependency built also as universal. You can achieve that by appending to '/opt/local/etc/macports/variants.conf':
    +universal