RunClientFromTrunk

Overview

Thanks to Roman for these steps on building and running the Ubuntu One client from trunk. The steps below assume you have completely removed all Ubuntu One client packages, config files, and metadata.

Configure & Build

  •    $ cd ~/canonical/ubuntuone
       bzr branch lp:ubuntuone-storage-protocol
       bzr branch lp:ubuntuone-client
       cd ubuntuone-storage-protocol
       python setup.py clean
       python setup.py build
       sudo python setup.py install
       cd ../ubuntuone-client
       ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-protocol=/usr/local/lib/python2.6/dist-packages
       sudo make install
       sudo ln -s /usr/local/lib/python2.6/dist-packages/ubuntuone/storageprotocol/ /usr/lib/python2.6/dist-packages/ubuntuone 

n.b. I hope nobody takes this as an unwelcome addition, but I got up to "sudo make install" and got an error "make: *** No rule to make target `install'. Stop." Any ideas?

Run

The following will start syncdaemon, connect, authorize, initialize the ~/Ubuntu One/ folder, and then report the status of the syncdaemon.

  •    $ /usr/libexec/ubuntuone-syncdaemon &
       u1sdtool --connect
       u1sync --authorize
       u1sync --init ~/Ubuntu\ One/
       u1sdtool -status 

UbuntuOne/RunClientFromTrunk (last edited 2010-12-08 08:23:24 by rcrath)