Building on Linux ----------------- Archlinux --------- Install the following packages from the official repos or build them from the AUR: * gengetopt * confuse * nanomsg * json-c * libdaemon * libmicrohttpd Centos 7 -------- Install the following packages from the official repos or from EPEL: * gengetopt (EPEL) * libconfuse and libconfuse-devel (EPEL) * json-c and json-c-devel * libdaemon and libdaemon-devel nanomsg you have to build on your own. Fedora 20 --------- Install the following packages from the official repos: * gengetopt * libconfuse and libconfuse-devel * json-c and json-c-devel * libdaemon and libdaemon-devel nanomsg you have to build on your own. Ubuntu 14.04 ------------ Install the following packages from the official repos: * gengetopt * libconfuse0 and libconfuse-dev * libjson-c2 and libjson-c-dev * libdaemon0 and libdaemon-dev * libmicrohttpd and libmicrohttpd-dev nanomsg you have to build on your own. Building on FreeBSD ------------------- FreeBSD 10 ---------- Install the following packages via 'pkg install' (pkgng) or via ports: * gengetopt * libconfuse * json-c * nanomsg * libdaemon * libmicrohttpd NetBSD 6 -------- Install the following packages via 'pkgin install': * gengetopt * libconfuse * json-c * libdaemon * libmicrohttpd nanomsg you have to build on your own: ./configure --prefix=/usr/local gmake gmake install Make sure '/usr/pkg/bin' is part of your PATH (for 'pkg-config' to be found). Make sure '/usr/pkg/lib' and '/usr/local/lib' are part of your LD_LIBRARY_PATH. Building on Windows ------------------- * Any Visual Studio compiler should do fine * gengetopt: easiest is to install Cygwin and build your own version, we just need the gengetopt.exe binary to generate the command line parser. Alternatively you can build the *_cmdline.* files on Unix and copy them to Windows: # open a Cygwin shell ./configure --prefix=/usr/local/bin make make install * confuse: # Download the ZIP version # Open windows\msvs.net.sln # Choose Debug/Release # eventually convert the solutions # build # create layout with bin, lib, include # copy dlls into bin, libs into lib, *.h into include * pthreads-win32: for pthread emulation on Windows # open a Visual Studio Command line nmake clean vc-inlined-debug * nanomsg: # Install cmake for Windows # open a Visual Studio Command line C:\Program Files\CMake\bin\cmake.exe . # Open nanomsg.sln # Choose Debug/Release # Build the solution # create layout with bin, lib, include # copy dlls into bin, libs into lib, *.h into include * json-c: # Use local fork of json-c for Windows in 3rdParty/json-c # Open windows\json-c.sln # Choose Debug/Release # build # copy *.h to Include\json-c directory # copy static *.lib from windows to lib * glib2 # Get the GTK+ 3.x all in one package, building glib by hand is not so easy on Windows * biruda # open a Visual Studio Command line set PATH=%PATH%;c:\cygwin\bin nmake /f NMakefile