First, building fastcgi daemon. This is a daemon process, which will be connected by http server (like nginx/apache) to process fastcgi requests. Elliptics client is build on top of this lib.
sudo apt-get install automake1.9 libfcgi-dev libxml2-dev pkg-config autoconf-archive libcurl4-openssl-dev
git clone https://github.com/lmovsesjan/Fastcgi-Daemon.git cd Fastcgi-Daemon sudo dpkg -i ../libfastcgi-daemon2_2.10-15_amd64.deb sudo dpkg -i ../fastcgi-daemon2_2.10-15_amd64.deb sudo dpkg -i ../fastcgi-daemon2-init_2.10-15_amd64.deb sudo dpkg -i ../libfastcgi-daemon2-dev_2.10-15_amd64.deb sudo dpkg -i ../libfastcgi2-syslog_2.10-15_amd64.deb
Building elliptics fastcgi backend. You need to edit debian/control file and remove lines with libgeobase3-dev and elliptics-regional-module dependencies. Let's proceed with building the module
git clone https://github.com/reverbrain/elliptics-fastcgi.git sudo dpkg -i ../elliptics-fastcgi_1.4-2-ell2.20_amd64.deb