Skip to content

Installation on CentOS 7.3

Pavel Kirichenko edited this page Jul 25, 2017 · 2 revisions

Prerequisites

sudo yum install autoconf automake libtool make glib2-devel libevent-devel mono-core

Install the mono-devel or set environment variables, otherwise does not find mono:

sudo yum install mono-devel

or

export MONO_MODULE_CFLAGS="-D_REENTRANT -I/usr/lib64/pkgconfig/../../include/mono-2.0"
export MONO_MODULE_LIBS="-L/usr/lib64/pkgconfig/../../lib64 -lmono-2.0 -lm -lrt -ldl -lpthread"

Autosonf requires exactly dmcs, but there are only mcs, so do the link:

sudo ln -s /usr/bin/mcs /usr/bin/dmcs

Installation

git clone https://github.com/xplicit/HyperFastCgi.git
cd ./HyperFastCgi 
./autogen.sh --prefix=/usr
make
sudo make install