Hello Boris,
...
Am 25.12.2016 um 22:26 schrieb Boris Samorodov:
> Hi All,
> 
> This is just FYI since I do not know if it's relevant to other OSes.
> 
> I try to compile the new version at FreeBSD. It compiles only with
> the following patch. The needed functionality is part of FreeBSD
> libc, so (in terms of the CMakeList.txt) HAVE_DL should be 1, but
> -ldl is not needed (and gives an error while compiling).
> 
> % diff -uC7 src/CMakeLists.txt.orig src/CMakeLists.txt 
>  
>  
>     FreeBSD pts/3 0
> *** src/CMakeLists.txt.orig     2016-12-09 13:36:53.000000000 +0300
> --- src/CMakeLists.txt  2016-12-26 00:23:45.681868000 +0300
> ***************
> *** 59,73 ****
>    CHECK_LIBRARY_EXISTS(dl dlopen "dlfcn.h" HAVE_DL)
>    IF(HAVE_DL)
>      SET( EXTRA_LIBS ${EXTRA_LIBS} dl )
>    ELSE(HAVE_DL)
>      FIND_PATH(DL_INCLUDE_DIR dlfcn.h)
>      IF(DL_INCLUDE_DIR)
>        SET( HAVE_DL 1 )
> -     SET( EXTRA_LIBS ${EXTRA_LIBS} dl )
>      ENDIF(DL_INCLUDE_DIR)
>    ENDIF(HAVE_DL)
> 
>    FIND_PATH(LTDL_INCLUDE_DIR ltdl.h )
>    IF(LTDL_INCLUDE_DIR)
>      SET( HAVE_LTDL 1 )
>      SET( EXTRA_LIBS ${EXTRA_LIBS} ltdl )
> --- 59,72 ----


The issue you raise might have side effects, which needs to be checked
on windows before applying to master.

It's quite a pity that we do not have  FreeBSD in OBS to easily test
during development.

Thanks for the patch. I opened an issue on github for it:
https://github.com/oyranos-cms/oyranos/issues/28

Thanks and best regards
Kai-Uwe

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Oyranos-devel mailing list
Oyranos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oyranos-devel

Reply via email to