<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi guys.<div><br></div><div>Just subscribed to the list, so greetings to everyone.</div><div><br></div><div>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.</div><div><br></div><div>I'm following the instructions as defined here: <a href="http://doc.owncloud.org/desktop/1.2/building.html">http://doc.owncloud.org/desktop/1.2/building.html</a></div><div><br></div><div>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).</div><div><br></div><div>I'm trying to follow the Generic Build Instructions (<a href="http://doc.owncloud.org/desktop/1.2/building.html#generic-build-instructions">http://doc.owncloud.org/desktop/1.2/building.html#generic-build-instructions</a>), managed to clone ocsync and mirall.  However, building csync fails with the following error:</div><div><br></div><div>In openSUSE, running the cmake command line shows the following:</div><div><div></div><blockquote type="cite"><div>-- Could NOT find CMocka (missing:  CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR) </div><div>-- Found SQLite3: /usr/lib/libsqlite3.so</div><div>CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):</div><div>  Could NOT find Iniparser (missing: INIPARSER_LIBRARIES</div><div>  INIPARSER_INCLUDE_DIRS)</div><div>Call Stack (most recent call first):</div><div>  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)</div><div>  cmake/Modules/FindIniparser.cmake:36 (find_package_handle_standard_args)</div><div>  src/CMakeLists.txt:14 (find_package)</div></blockquote><div><br></div></div><div>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.</div><div><br></div><div>In CentOS, running the cmake command line shows the following:</div><div><div></div><div><b id="internal-source-marker_0.12384372786618769" style="font-family: Times; "><blockquote type="cite"><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">-- Could NOT find CMocka  (missing:  CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR)</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">-- checking for module 'sqlite3'</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">--   package 'sqlite3' not found</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">CMake Error at cmake/Modules/FindSQLite3.cmake:82 (message):</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">  Could not find SQLite3</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Call Stack (most recent call first):</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">  src/CMakeLists.txt:13 (find_package)</span></blockquote></b></div><div><br></div></div><div>Again, cannot find where to install cmocka from.  However, it also complains that sqlite is not installed.  It seems to be installed though:</div><div><b id="internal-source-marker_0.12384372786618769" style="font-family: Times; "><blockquote type="cite"><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">[mbudiman@localhost ocsync-build]$ su -c 'yum install sqlite'</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Password:</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Loaded plugins: fastestmirror, refresh-packagekit, security</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Loading mirror speeds from cached hostfile</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; "> * base: <a href="http://mirror.trouble-free.net">mirror.trouble-free.net</a></span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; "> * epel: <a href="http://mirror.metrocast.net">mirror.metrocast.net</a></span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; "> * extras: <a href="http://mirrors.advancedhosters.com">mirrors.advancedhosters.com</a></span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; "> * updates: <a href="http://centos.mirror.ndchost.com">centos.mirror.ndchost.com</a></span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">isv_ownCloud_devel                                   <span class="Apple-tab-span" style="white-space: pre;">   </span>| 1.3 kB <span class="Apple-tab-span" style="white-space: pre;"> </span>00:00<span class="Apple-tab-span" style="white-space: pre;">     </span> </span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Setting up Install Process</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Package sqlite-3.6.20-1.el6.x86_64 already installed and latest version</span><br><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Nothing to do</span></blockquote></b></div><div><b style="font-family: Times; "><span style="font-size: 15px; font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; "><br></span></b></div><div><b style="font-family: Times; "><span style="font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">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.</span></b></div><div><b style="font-family: Times; "><span style="font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; "><br></span></b></div><div><b style="font-family: Times; "><span style="font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Thanks.</span></b></div><div><b style="font-family: Times; "><span style="font-family: Arial; font-weight: normal; vertical-align: baseline; white-space: pre-wrap; ">Muljadi Budiman.</span></b></div></body></html>