Bug 317480 - CMake error when compiling with kdesrc-build: CMake Error at messageviewer/grantleefilters/CMakeLists.txt
Summary: CMake error when compiling with kdesrc-build: CMake Error at messageviewer/gr...
Status: RESOLVED NOT A BUG
Alias: None
Product: kdepim
Classification: Applications
Component: messageviewer (show other bugs)
Version: GIT (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 10:34 UTC by Branislav Bardak
Modified: 2013-03-30 19:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
cmake.log (4.55 KB, text/plain)
2013-03-28 10:37 UTC, Branislav Bardak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Branislav Bardak 2013-03-28 10:34:17 UTC
CMake Error at messageviewer/grantleefilters/CMakeLists.txt:3 (INCLUDE):
  include called with wrong number of arguments.  Include only takes one
  file.
CMake Error at messageviewer/grantleefilters/CMakeLists.txt:8 (grantlee_add_plugin):
  Unknown CMake command "grantlee_add_plugin".
-- Configuring incomplete, errors occurred!

Current git commit where the error occurs for me:
214691c (HEAD, origin/master, origin/HEAD, master) Start to implement download header theme

Reproducible: Always

Steps to Reproduce:
When running:
kdesrc-build --no-install kdepim
Actual Results:  
It fails at the "Running cmake..."-build step

Expected Results:  
It should have at least configured the build process with cmake, and ideally compiled it afterwards as well
Comment 1 Branislav Bardak 2013-03-28 10:37:33 UTC
Created attachment 78451 [details]
cmake.log
Comment 2 Laurent Montel 2013-03-28 12:43:08 UTC
which grantlee source do you have .?
Comment 3 Branislav Bardak 2013-03-28 20:03:56 UTC
libgrantlee-dev
Version: 0.1.4-1

I'm running a debian-based system, Linux Mint Debian Edition.
Comment 4 Laurent Montel 2013-03-29 11:15:02 UTC
So update to 0.3
Regards
Comment 5 Branislav Bardak 2013-03-30 19:00:57 UTC
Yes, installing 0.3 packages of grantlee solved the problem.

Thanks.

For other debian users running into the same problem and running a stable or testing distribution, where the latest grantlee packages are 0.1.4, install the three packages from the experimental repo. You can download them from:
http://packages.debian.org/source/experimental/grantlee

Just be sure to remove  the old grantlee packages first, and install the core0 package before installing the gui0 or -dev package, to satisfy their dependencies.