I just want to share my experience of the installation of SyncEvolution on RHEL 5.3:

== Prerequisites ==

Some packages are necessary for compilation from source.

 yum search libtool glib2-devel intltool boost-devel sqlite-devel

The boost libraries provided by RedHat are too old, therefore a new package is compiled from source.

 yum install bzip2-devel python-devel libicu-devel
 wget 
http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/10/SRPMS/boost-1.34.1-18.fc10.src.rpm
 rpmbuild --rebuild boost-1.34.1-18.fc10.src.rpm
 rpm -i /usr/src/redhat/RPMS/x86_64/boost-1.34.1-18.x86_64.rpm 
/usr/src/redhat/RPMS/x86_64/boost-devel-1.34.1-18.x86_64.rpm

== Preparation of Makefile.am ==

Because of an old version of automake, the docdir has to be set in Makefile-gen.am and src/Makefile-gen.am

diff --git a/Makefile-gen.am b/Makefile-gen.am
index f304225..5584175 100644
--- a/Makefile-gen.am
+++ b/Makefile-gen.am
@@ -1,3 +1,4 @@
+docdir = ${datadir}/doc/${PACKAGE}
 ## Process this file with automake to produce Makefile.in

 ACLOCAL_AMFLAGS = -I m4 -I m4-repo
diff --git a/src/Makefile-gen.am b/src/Makefile-gen.am
index 15d9e33..b6eea3f 100644
--- a/src/Makefile-gen.am
+++ b/src/Makefile-gen.am
@@ -1,3 +1,4 @@
+docdir = ${datadir}/doc/${PACKAGE}
 BACKENDS = @BACKENDS@

 service_in_files = org.syncevolution.service.in


== Compilation ==

Finally, SyncEvolution can be built and installed.

 ./autogen.sh
 mkdir -p src/synthesis-workdir/m4
 ./configure -with-synthesis-src=http://git.moblin.org/libsynthesis.git 
--disable-ebook --disable-ecal
 make
 make install

--
NEUE MOBILNUMMER: +43 660 4859550

Franz Knipp, Dipl.-Ing.
---------------------------------------------------------------------
[email protected]
+43 660 4859550
https://www.xing.com/profile/Franz_Knipp
---------------------------------------------------------------------
m-otion GmbH
Favoritenstr 4-6/III, 1040 Wien
+43 1 205705 (Fax 99)
---------------------------------------------------------------------
www.m-otion.com
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to