OSX/CI: lokalize fails to build on branch frameworks

David Faure faure at kde.org
Sat Dec 20 12:26:25 UTC 2014


On Wednesday 19 November 2014 20:18:54 Marko Käning wrote:
> Hi,
> 
> I was giving lokalize a try on OSX/CI, but it failed, as it couldn’t locate
> hunspell properly, which is installed via MacPorts on the OSX/CI system
> below prefix /opt/local:
> 
> ---
> 
> $ port installed hunspell*
> The following ports are currently installed:
>   hunspell @1.3.3_0 (active)
>   hunspell-dict-en_GB @2008-04-24_0 (active)
> 
> $ port contents hunspell | grep config
>   /opt/local/lib/pkgconfig/hunspell.pc
> 
> $ ./build.sh lokalize
> Calling build script
> BUILD FAILED
> ==========================================
> 
> ---
> 
> The build logs states that the needed cmake file is missing:
> 
> ---
> 
> CMake Error at src/CMakeLists.txt:4 (find_package):
>   By not providing "FindHUNSPELL.cmake" in CMAKE_MODULE_PATH this project
> has asked CMake to find a package configuration file provided by
> "HUNSPELL", but CMake did not find one.
> 
>   Could not find a package configuration file provided by "HUNSPELL" with
> any of the following names:
> 
>     HUNSPELLConfig.cmake
>     hunspell-config.cmake
> 
>   Add the installation prefix of "HUNSPELL" to CMAKE_PREFIX_PATH or set
>   "HUNSPELL_DIR" to a directory containing one of the above files.  If
>   "HUNSPELL" provides a separate development package or SDK, be sure it has
>   been installed.
> 
> ---
> 
> and it is not surprising this error arises, as it is indeed not in the
> MacPorts package!
> 
> I figure lokalize needs for hunspell some additional configure options
> then... Or, it could make use of pkgconfig.
> Any hints?

I'm not sure the lokalize developers read kde-frameworks-devel.

I guess they were relying on FindHUNSPELL.cmake from kdelibs 4
which is now in extra-cmake-modules/attic/modules, i.e. it's disabled.
You or the lokalize developers should ask kde-buildsystem or look in the 
archives there (or in the wiki) for the procedure for reviving a cmake module.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list