On 11.03.2013 20:23, Qingping Hou wrote:
Hi Muljadi,
I am not a SUSE user, so my comment might not be very useful for you.
But anyway, following dependencies are what I installed for my mirall
build on Ubuntu.
We are providing packages for the software through the openSUSE Build
Service, also for Ubuntu and other Linuxes, as you know OBS is a cross
distribution packaging tool.
See http://en.opensuse.org/Portal:Build_Service for more information.
We are providing packages of client and server, but also the ones you
need to build the software. Help to improve the packaging would be very
much appreciated.
Details:
For ocsync:
libsqlite3-dev libneon27-dev
These should come with any serious distribution.
> libiniparser-dev
This can be found in openSUSE Buildservice, repository
isv:ownCloud:community.
libsmbclient-dev libssh-dev
Not needed, these are soft deps for csync.
For mirall:
libqtkeychain-dev libocsync-dev
qtkeychain is also in isv:ownCloud:community
On Mon, Mar 11, 2013 at 3:16 PM, Muljadi Budiman <[email protected]> wrote:
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@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.
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud