Commit 4e093ac7 authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Fix issue about gcrypt for Fedora, and added INSTALL file for this distribution

parent 17b035bb
### Very short install notes for Fedora (tested on Fedora 13)
# Please refer to other INSTALL files for more detailed instructions.
Dependencies on Fedora 13 (from minimal system):
# yum install cmake make gcc flex bison lksctp-tools-devel gnutls-devel libgcrypt-devel
# yum install mercurial
Fetching the latest source:
# hg clone http://www.freediameter.net/hg/freeDiameter
# cd freeDiameter
Compiling in a separate directory:
# mkdir test.build
# cd test.build
# cmake ..
# make
......@@ -59,6 +59,16 @@ Endif ( NOT GCRYPT_INCLUDE_DIR )
MARK_AS_ADVANCED(GCRYPT_INCLUDE_DIR)
INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR})
# Also we need libgcrypt to... display its version :(
find_library(GCRYPT_LIBRARY
NAMES gcrypt
)
If ( NOT GCRYPT_LIBRARY )
MESSAGE(SEND_ERROR "Unable to find libgcrypt, please install libgcrypt or equivalent")
Endif ( NOT GCRYPT_LIBRARY )
SET(FD_LIBS ${FD_LIBS} ${GCRYPT_LIBRARY})
# Build the executable
ADD_EXECUTABLE(freeDiameterd ${FD_COMMON_SRC} ${FD_COMMON_GEN_SRC} main.c)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment