I'm still trying to get KDE4 working but now it fails on building textproc/soprano port:
in the MacroEnsureVersion.cmake file on line 27 i have:
in the CMakeLists.txt on line 96 i have:
I don't really understand the way cmake macros work, to me it seems something is shifted in these macros as he tries to parse math expression with a string and pkg-config gets some math expression instead of package name? I'm ready to give any additional info that's needed to solve this issue. Thanks.
Code:
CMake Error at cmake/modules/MacroEnsureVersion.cmake:27 (MATH):
math cannot parse the expression: "/usr/local/bin/redland-config:
pkg-config does not know about package redland*10000 +
/usr/local/bin/redland-config: pkg-config does not know about package
redland*100 + /usr/local/bin/redland-config: pkg-config does not know about
package redland": syntax error, unexpected exp_DIVIDE, expecting
exp_OPENPARENT or exp_NUMBER (1)
Call Stack (most recent call first):
CMakeLists.txt:96 (macro_ensure_version)
in the MacroEnsureVersion.cmake file on line 27 i have:
Code:
27 MATH(EXPR found_vers_num "${found_major_vers}*10000 + ${found_minor_vers}*100 + ${found_patch_vers}")
in the CMakeLists.txt on line 96 i have:
Code:
96 macro_ensure_version( "1.0.5" ${REDLAND_VERSION} REDLAND_VERSION_GOOD )
I don't really understand the way cmake macros work, to me it seems something is shifted in these macros as he tries to parse math expression with a string and pkg-config gets some math expression instead of package name? I'm ready to give any additional info that's needed to solve this issue. Thanks.