1
0
mirror of https://github.com/kakwa/uts-server synced 2024-06-29 15:12:58 +02:00
uts-server/docs/install.rst

1.0 KiB

Dependencies

Runtime dependencies

List of dependencies uts-server relies on to run:

Build dependencies

List of dependencies needed to build civetweb:

  • cmake
  • either gcc or clang

Compilation

uts-server is compiled using cmake:

# If civetweb is already present on the system
$ cmake .
$ make

# If civetweb is not present
# this will get the proper tag of civetweb from upstream and compile it
$ cmake . -DBUNDLE_CIVETWEB=ON
$ make

# Compile with debug flags
$ cmake . -DDEBUG=ON
$ make

# Compile statically
$ cmake . -DSTATIC=ON
$ make

# Sometimes it might be necessary to link against glibc/dl.
# In that case, the resulting binary is only partially static,
# but it's not possible to do better than that.
$ cmake . -DSTATIC=ON -DLINK_DL=ON
$ make