Build

  • Download the sources (verify the MD5/SHA1 checksums if you want)
  • Extact them
    tar -xf spawn-fcgi-1.6.0.tar.gz
  • Use either the automake or cmake build system

automake build

./configure --prefix=/usr
make
su make install

cmake build (requires cmake 2.6.0) - http://www.cmake.org/

cmake -D CMAKE_INSTALL_PREFIX:string=/usr .
make
su make install

install into temporary directory for packaging

Use

DESTDIR=/tmp/spawn-fcgi-package make install

instead of su make install