Navigation


Changeset 238:62eaf631eb61 in freeDiameter


Ignore:
Timestamp:
Mar 8, 2010, 2:52:01 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix compilation issue when gnutls is not in standard directory

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • INSTALL.FreeBSD

    r234 r238  
    3333  (replace "cmake" by "mercurial" in the previous command)
    3434
    35 4) Install flex and bison.
     354) Install flex and bison, same way.
    3636
    37375) Retrieve freeDiameter source code:
     
    4444   
    45457) 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 ../freeDiameter
     46   # /usr/local/bin/cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ../freeDiameter
    4747
    48488) make, run, enjoy :)
     49
     50------
     51STATUS
     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  
    1212  SET_TARGET_PROPERTIES(${EXTNAME} PROPERTIES SUFFIX ".fdx" )
    1313ENDMACRO(FD_ADD_EXTENSION)
     14
     15# The extensions include the headers of freeDiameter that contains gnutls objects
     16FIND_PACKAGE(GNUTLS REQUIRED)
     17INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIRS})
     18find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h)
     19If ( NOT GCRYPT_INCLUDE_DIR )
     20        MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent")
     21Endif ( NOT GCRYPT_INCLUDE_DIR )
     22INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR})
    1423
    1524###########################
Note: See TracChangeset for help on using the changeset viewer.