Boris Samorodov
2016-12-25 22:13:45 UTC
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 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.
--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve