[os x] Po directories gettext check fails

Orville Bennett illogical1 at gmail.com
Thu Jan 1 18:27:22 CET 2009


On Jan 1, 2009, at 11:29 AM, Allen Winter wrote:

> On Thursday 01 January 2009 11:18:10 am Orville Bennett wrote:
> snip
>>
>>>>
>
> You might need to install libintl separately as well.
> Or install a glibc that comes with libintl.
Y'know after trying the command again it seems it is intl.h which  
isn't being found.

Output
--->  Configuring amarok
Error: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_kde_amarok/work/build" && cmake --prefix=/ 
opt/local ../amarok-2.0 -DBUILD_SHARED_LIBS=ON - 
DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON - 
DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"  
-DCMAKE_INSTALL_PREFIX=/opt/local -DPHONON_INCLUDE_DIR=/opt/local/ 
include -DPHONON_LIBRARY=/opt/local/lib/libphonon.dylib - 
DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk - 
DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev "  
returned error 1

 >> snip <<

-- Looking for include files HAVE_LIBINTL_H
-- Looking for include files HAVE_LIBINTL_H - not found.
CMake Error at /opt/local/share/apps/cmake/modules/FindGettext.cmake: 
58 (message):
   Could NOT find Gettext
Call Stack (most recent call first):
   po/CMakeLists.txt:1 (find_package)


-- Configuring incomplete, errors occurred!

libintl is however installed.
~$ ll /opt/local/include/libintl.h
-rw-r--r--  2 root  admin    14K Jan  1 01:50 /opt/local/include/ 
libintl.h


More information about the Kde-buildsystem mailing list