| 1 | = Compile ocsync from source on Ubuntu 12.04 = |
| 2 | |
| 3 | == Download ocsync source tarball == |
| 4 | |
| 5 | * [Source] http://owncloud.org/sync-clients/ |
| 6 | {{{ |
| 7 | jazz@precise:~$ wget http://download.owncloud.com/download/ocsync-0.60.1.tar.bz2 |
| 8 | jazz@precise:~$ tar jxvf ocsync-0.60.1.tar.bz2 |
| 9 | }}} |
| 10 | |
| 11 | == Setup Develop Environment == |
| 12 | |
| 13 | * [Reference] http://gremu.net/blog/2010/building-csync-ubuntu-910/ |
| 14 | * resolving dependencies : |
| 15 | - CMake |
| 16 | - check |
| 17 | - log4c |
| 18 | - sqlite3 |
| 19 | - libiniparser |
| 20 | - libsmbclient |
| 21 | - libssh |
| 22 | {{{ |
| 23 | jazz@precise:~$ sudo apt-get install build-essential cmake check liblog4c3 liblog4c-dev libsqlite3-0 libsqlite3-dev libsmbclient-dev |
| 24 | }}} |
| 25 | * installing libiniparser |
| 26 | {{{ |
| 27 | jazz@precise:~$ wget http://ndevilla.free.fr/iniparser/iniparser-3.1.tar.gz |
| 28 | jazz@precise:~$ tar zxvf iniparser-3.1.tar.gz |
| 29 | jazz@precise:~$ (cd iniparser/; make; sudo cp libiniparser.* /usr/lib) |
| 30 | }}} |