[Owncloud] Greetings & question on how to build desktop sync client
Muljadi Budiman
mul at radialogica.com
Mon Mar 11 20:27:13 UTC 2013
Hi Daniel.
Your email sheds the most light - the others provided clues and I seem to have managed to get ocsync to compile.
It seems that both systems require libiniparser-devel and sqlite-devel packages. I'm assuming the -devel packages contains libraries & header files that would otherwise not be installed with the regular packages.
I'll try to continue on from here - I am thankful for the fast help that I've received from the mailing list.
Thanks.
Muljadi Budiman.
On Mar 11, 2013, at 2:31 PM, Daniel Molkentin <danimo at owncloud.com> wrote:
> Hi,
>
> One word of advice: Do _not_ try to get files arbitrarily via wget unless explicitly advised in the tutorial!
> That being said, CMocka is not strictly required, only to run the auto-test.
>
> Muljadi: To me it looks like you have not installed the -devel or -dev packages of libiniparser and sqlite.
>
> Cheers,
> Daniel
>
> Am 11.03.2013 um 20:27 schrieb Michael:
>
>> Often there will not be packages for a program in the distribution's
>> package manager. You may need to download those programs off the
>> internet somewhere. Generally you just download the file(wget is a
>> good program for this), uncompress it(tar), compile it(make), and
>> install it(make install).
>> Just Google "openSuse install cmoka"
>>
>> On Mon, Mar 11, 2013 at 2:16 PM, Muljadi Budiman <mul at radialogica.com> 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 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.
>>>
>>> _______________________________________________
>>> Owncloud mailing list
>>> Owncloud at kde.org
>>> https://mail.kde.org/mailman/listinfo/owncloud
>>>
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
>
> --
> www.owncloud.com - Your Data, Your Cloud, Your Way!
>
> ownCloud GmbH, GF: Markus Rex, Holger Dyroff
> Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130311/89cd56f8/attachment.html>
More information about the Owncloud
mailing list