OSX/CI: lokalize fails to build on branch frameworks

Marko Käning mk-lists at email.de
Wed Nov 19 19:18:54 UTC 2014


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?

Greets,
Marko


More information about the Kde-frameworks-devel mailing list