Hello Boris,
...
Am 25.12.2016 um 23:13 schrieb Boris Samorodov:
> Hi All,
> 
> I get the following at the configure stage:
> [...]
> -- Looking for libintl.h
> -- Looking for libintl.h - not found
> [...]
> 
> However, libintl is installed at the system:
> ---
> % ls -l /usr/local/include/libintl.h
> -rw-r--r--  1 root  wheel  16654 Dec 10 04:41 /usr/local/include/libintl.h
> 
> % ls -l /usr/local/lib/libintl.*
> -rw-r--r--  1 root  wheel  110318 Dec 10 04:41 /usr/local/lib/libintl.a
> lrwxr-xr-x  1 root  wheel      16 Dec 10 04:41 /usr/local/lib/libintl.so 
> -> libintl.so.8.1.5
> lrwxr-xr-x  1 root  wheel      16 Dec 10 04:41 
> /usr/local/lib/libintl.so.8 -> libintl.so.8.1.5
> -rw-r--r--  1 root  wheel   55245 Dec 10 04:41 
> /usr/local/lib/libintl.so.8.1.5
> ---
> 
> Seems that the relevant checks do not look at /usr/local prefix:
> ---
> CHECK_INCLUDE_FILE(libintl.h HAVE_LIBINTL_H)
> FIND_LIBRARY( LIBINTL_LIBRARIES NAMES intl libintl libintl-8 )
> IF(LIBINTL_LIBRARIES)
>    SET( EXTRA_LIBS ${EXTRA_LIBS} ${LIBINTL_LIBRARIES} )
>    SET( EXTRA_LIBS_CORE ${EXTRA_LIBS_CORE} ${LIBINTL_LIBRARIES} )
> ELSE(LIBINTL_LIBRARIES)
>    MESSAGE( "-- libintl not found" )
> ENDIF(LIBINTL_LIBRARIES)
> ---
> 
> Any help is appreciated. Thanks.
> 

I believe to remember, there is the possibility to suggest paths for
library and include file search to the cmake macros.

If you are familiar with cmake, you could try yourself. Here is the docu:
https://cmake.org/cmake/help/v3.0/command/find_path.html

I am astound that the standard /usr/local prefix is not supported by
default in the search.

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