Hi Paul,

A lot of changement about OpenSync project...

I run under Linux Debian SID.

To build OpenSync from SVN, I advice you use for the moment the revision
r5276
(all plugins aren't still ported ; evolution doesn't work)

$ mkdir -p /usr/local/src/opensync
$ cd /usr/local/src/opensync

The opensync core :
$ svn checkout -r5276 http://svn.opensync.org/trunk opensync

The command line tool :
$ svn checkout -r5276 http://svn.opensync.org/osynctool/trunk osynctool

The Evolution plugin :
$ svn checkout -r5276 http://svn.opensync.org/plugins/evolution2 evolution

The vformat plugin :
$ svn checkout -r5276 http://svn.opensync.org/format-plugins/vformat
vformat

To build :
$ cd /usr/local/src/opensync/opensync
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local /usr/local/src/opensync/opensync
$ make
$ make install

You can check the file "/usr/local/lib/pkgconfig/libopensync.pc".
As far as I'm concerned, I have :
  prefix=/usr
  exec_prefix=/usr/lib
  libdir=/usr/lib
  includedir=/usr/include
  datadir=/usr/share/libopensync1
  plugindir=/usr/lib/libopensync1/plugins
  configdir=/usr/share/libopensync1/defaults
  capabilitiesdir=/usr/share/libopensync1/capabilities
  descriptionsdir=/usr/share/libopensync1/descriptions
  schemasdir=/usr/share/libopensync1/schemas
  formatsdir=/usr/lib/libopensync1/formats

  Name: opensync
  Description: OpenSync synchronization framework
  Version: 0.39-snapshot
  Libs: -L/usr/lib -lopensync
  Cflags: -I/usr/include/libopensync1

(I have built opensync debian package => so my prefix is /usr)

For each, plugin :
$ cd /usr/local/src/opensync/<plugin>
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local /usr/local/src/opensync/<plugin>
$ make
$ make install


Then, for Barry opensync plugin :
$ cd /usr/local/src
$ git clone git://repo.or.cz/barry.git barry
$ cd barry
$ ./buildgen.sh
$ ./configure --enable-gui
$ make && make install
$ cd opensync-plugin-0.4x
$ ./configure
$ make && make install

Warning, for the Barry, you have to use the last GIT revision (with my last
patch).

Regards,

Nicolas VIVIEN




On Wed, 4 Mar 2009 22:13:11 +0000, "Paul O'Keefe" <p...@megabelle.net>
wrote:
> I got opensync to build with cmake but I can't get their sync tool to
build
> (msynctool-gui). There is a missing symbol. 
> ------Original Message------
> From: Chris Frey
> Sender: 
> To: barry list
> ReplyTo: barry list
> Subject: Re: [Barry-devel] opensync 4.x....
> Sent: Mar 4, 2009 5:02 PM
> 
> On Wed, Mar 04, 2009 at 02:17:47PM -0500, Paul O'Keefe wrote:
>> Is there a single document that provides build instructions for the next
>> generation of opensync tools including something that covers how to get
>> the new multi-sync gui to build?
>> 
>> It seemed so easy with the 0.22 version of that code...
> 
> :-)
> 
> Well, to be fair, the 0.22 version was a stable release version.
> 
> With 0.4x (it's called 0.3x until it reaches stable), you need to build
> it from source, and the opensync tree uses cmake now.
> 
> Probably the best set of instructions is the README file in the opensync
> tree.
> 
> The Barry opensync-0.4x plugin still uses autoconf, so just set your
> PKG_CONFIG_PATH environment variable to wherever you installed opensync,
> and compile as usual.
> 
> Nicolas is the opensync-0.4x expert here, so if you have more specific
> questions, I'm sure he has the answer. :-)
> 
> - Chris
> 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to