Changeset 238:62eaf631eb61 in freeDiameter
- Timestamp:
- Mar 8, 2010, 2:52:01 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
INSTALL.FreeBSD
r234 r238 33 33 (replace "cmake" by "mercurial" in the previous command) 34 34 35 4) Install flex and bison .35 4) Install flex and bison, same way. 36 36 37 37 5) Retrieve freeDiameter source code: … … 44 44 45 45 7) Run cmake for freeDiameter (add other flags as you see fit, see INSTALL for more details) 46 # cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ../freeDiameter46 # /usr/local/bin/cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ../freeDiameter 47 47 48 48 8) make, run, enjoy :) 49 50 ------ 51 STATUS 52 ------ 53 *) clock_nanosleep: 54 This function will prevent the build of the tests, it needs to be fixed (TODO) 55 Workaround: use -DSKIP_TESTS:BOOL=ON 56 57 *) -
extensions/CMakeLists.txt
r167 r238 12 12 SET_TARGET_PROPERTIES(${EXTNAME} PROPERTIES SUFFIX ".fdx" ) 13 13 ENDMACRO(FD_ADD_EXTENSION) 14 15 # The extensions include the headers of freeDiameter that contains gnutls objects 16 FIND_PACKAGE(GNUTLS REQUIRED) 17 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIRS}) 18 find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h) 19 If ( NOT GCRYPT_INCLUDE_DIR ) 20 MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent") 21 Endif ( NOT GCRYPT_INCLUDE_DIR ) 22 INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR}) 14 23 15 24 ###########################
Note: See TracChangeset
for help on using the changeset viewer.