Skip to content
Ligustah edited this page Sep 17, 2011 · 1 revision

croc-fcgi only supports 32 bit compilation, so you will need to compile 32 bit binaries of libfcgi as well.

First clone the croc-fcgi repository somewhere to your machine.

Then get and compile libfcgi. To do this download the package from fastcgi.com and build it with -m32

wget http://www.fastcgi.com/dist/fcgi.tar.gz
tar -xf fcgi.tar.gz
cd fcgi-2.4.0      (version might differ)
CC="gcc -m32" CXX="g++ -m32" ./configure --libdir=`pwd`
make
make install

This will leave all the library files in the current directory. Now copy the libfcgi.a to fcgi-croc/lib and run

./build.sh

If it fails to start you might have to copy the libfcgi.so* files to /usr/lib32/

Clone this wiki locally