Created attachment 94960 [details]
When I try to build SyncEvolution 1.4 with the akonadi backend, I get the following error:
checking Akonadi/Collection usability... no
checking Akonadi/Collection presence... no
checking for Akonadi/Collection... no
configure: error: akonadi.pc not found. Install it to compile with the Akonadi backend enabled.
"kde4-config --path include" gives "/usr/include/" and "/usr/include/KDE/Akonadi/Collection" exists.
The problem seems to be that path to the QString include file is missing in CPPFLAGS:
configure:21857: checking Akonadi/Collection presence
configure:21857: g++ -E -I/usr/include/ -I/usr/include//KDE -I/usr/include/qt4 conftest.cpp
In file included from /usr/include//KDE/Akonadi/../../akonadi/collection.h:25:0,
/usr/include/akonadi/entity.h:24:19: fatal error: QString: No such file or directory
I have attached the configure log.
Created attachment 94964 [details] [review]
This patch solves the problem for me.
Thanks for the report and the patch. I have committed it to the git repo.
Fix is in master and SyncEvolution 1.4.1 (currently available as individual download and from the "unstable" repo on syncevolution.org).