[Owncloud] Greetings & question on how to build desktop sync client

Muljadi Budiman mul at radialogica.com
Mon Mar 11 19:16:35 UTC 2013


Hi guys.

Just subscribed to the list, so greetings to everyone.

I have a question on how to set up a proper dev environment to build the desktop sync client.  Building for Windows is desirable, but willing to start from just building successfully in a Linux environment.

I'm following the instructions as defined here: http://doc.owncloud.org/desktop/1.2/building.html

I have set up a 32-bit OpenSuse 12.2 linux system as well as a 64-bit CentOS 6.3 system (both in VMs running in Parallels with OSX Mountain Lion as host).

I'm trying to follow the Generic Build Instructions (http://doc.owncloud.org/desktop/1.2/building.html#generic-build-instructions), managed to clone ocsync and mirall.  However, building csync fails with the following error:

In openSUSE, running the cmake command line shows the following:
> -- Could NOT find CMocka (missing:  CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR) 
> -- Found SQLite3: /usr/lib/libsqlite3.so
> CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
>   Could NOT find Iniparser (missing: INIPARSER_LIBRARIES
>   INIPARSER_INCLUDE_DIRS)
> Call Stack (most recent call first):
>   /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
>   cmake/Modules/FindIniparser.cmake:36 (find_package_handle_standard_args)
>   src/CMakeLists.txt:14 (find_package)

The documentation specifies I need for resolve some dependencies to sqlite3 and iniparser.  I can't seem to find any repo that has iniparser - Can't seem to find any repo that has cmocka as well.  So any help here would be appreciated.

In CentOS, running the cmake command line shows the following:
> -- Could NOT find CMocka  (missing:  CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR)
> -- checking for module 'sqlite3'
> --   package 'sqlite3' not found
> CMake Error at cmake/Modules/FindSQLite3.cmake:82 (message):
>   Could not find SQLite3
> Call Stack (most recent call first):
>   src/CMakeLists.txt:13 (find_package)


Again, cannot find where to install cmocka from.  However, it also complains that sqlite is not installed.  It seems to be installed though:
> [mbudiman at localhost ocsync-build]$ su -c 'yum install sqlite'
> Password:
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Loading mirror speeds from cached hostfile
>  * base: mirror.trouble-free.net
>  * epel: mirror.metrocast.net
>  * extras: mirrors.advancedhosters.com
>  * updates: centos.mirror.ndchost.com
> isv_ownCloud_devel                                   	| 1.3 kB 	00:00	 
> Setting up Install Process
> Package sqlite-3.6.20-1.el6.x86_64 already installed and latest version
> Nothing to do


Any help to get compilation to work will be greatly appreciated.  I know enough about Linux, but my main expertise is in Windows development, so my apologies if my questions seem too beginner.

Thanks.
Muljadi Budiman.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130311/6553bafe/attachment.html>


More information about the Owncloud mailing list