On 05/07/2011 11:12 PM, David C. Rankin wrote:
On 05/07/2011 05:47 AM, Serghei Amelian wrote:
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim
-I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt
-I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libcaldav -o
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You pointing /usr/include/libcaldav, instead /usr/include/libcaldav-0.6.2.
Show me output of "pkg-config libcaldav --variable=pkgincludedir".
[...]
Thanks Serghei:
23:09 trinity:~> pkg-config libcaldav --variable=pkgincludedir
/usr/include/libcaldav
How do I fix this? Do I need to rebuild libcaldav with different flags?
I think I have it solved. There were 3 files that needed fixing:
Changelog (that is where the 'Version' is pulled from):
--- libcaldav-0.6.5/ChangeLog
+++ libcaldav-0.6.5/ChangeLog 2011-05-08 00:56:11.000000000 -0500
@@ -1,3 +1,9 @@
+libcaldav (0.6.5)
+ * Fix bug to be able to integrate the debian libcaldav
+ source with Arch PKGBUILD Patch provided by Timothy Pearson
+
+-- David Rankin <drankinatty(a)gmail.com> Sun, 8 May 2011 22:51:03 +0100
+
libcaldav (0.6.2)
* Fix bug to be able to handle HTTP HEADER lines split
over multiple lines. Patch provided by Timothy Pearson
Makefile.am:
--- libcaldav-0.6.5/src/Makefile.am
+++ libcaldav-0.6.5/src/Makefile.am 2011-05-08 01:16:47.000000000 -0500
@@ -37,7 +37,7 @@
get-freebusy-report.c \
get-freebusy-report.h
-libcaldav_includedir=$(includedir)/libcaldav-@VERSION@
+libcaldav_includedir=$(includedir)/libcaldav
libcaldav_include_HEADERS = caldav.h
noinst_HEADERS = \
Makefile.in:
--- libcaldav-0.6.5/src/Makefile.in
+++ libcaldav-0.6.5/src/Makefile.in 2011-05-08 01:16:15.000000000 -0500
@@ -284,7 +284,7 @@
get-freebusy-report.c \
get-freebusy-report.h
-libcaldav_includedir = $(includedir)/libcaldav-@VERSION@
+libcaldav_includedir = $(includedir)/libcaldav
libcaldav_include_HEADERS = caldav.h
noinst_HEADERS = \
add-caldav-object.h \
The caldav.h is now installed in /usr/include/libcaldav. I'm starting the
kdepim build and we will see if it builds clean this time :)
--
David C. Rankin, J.D.,P.E.