Owncloud sync

Discussions Regarding Software

Moderator: Moderators

Owncloud sync

Postby ludenticus » Thu Jul 12, 2012 6:48

I installed ownCloud under KDE 4.8 (Sabayon 9 updated by July 11, 2012 with sabayon.org repo) and is running perfectly well. I can copy files to an internet folder (and also access them) under dolphin. However, I haven't managed to sync my documents. On the official ownCloud site (http://owncloud.org/sync-clients/), they suggest to install their «client», which consist of csync and mirall: none of them is on Sabayon repos.

I found a gentoo ebuild (https://github.com/Weuxel/portage-owncloud-client), but didn't succed in unmasking, no matter if added to the overlay or downloaded directly with git clone. After that, I tried to compile them myself as recommended (http://owncloud.org/dev/sync-clients/linux-build/) .But then again, it required log4c, which is not on sabayon either. Downloaded and installed from source (http://log4c.sourceforge.net/). There has been an error while applying the «make» command. This is the output.

Code: Select all
$ cmake -DCMAKE_BUILD_TYPE="Debug" -DLOG_TO_CALLBACK=ON ../csync

-- Found SQLite3: /usr/lib/libsqlite3.so
-- Found Iniparser: /usr/lib/libiniparser.so
-- Found Libsmbclient: /usr/lib/libsmbclient.so
-- latex command LATEX_COMPILER not found but usually required. You will probably get warnings and user inetraction on doxy run.
-- makeindex command MAKEINDEX_COMPILER not found but usually required.
-- dvips command DVIPS_CONVERTER not found but usually required.
-- Generate /home/eduardo/Downloads/buildcsync/doc/doxy.config from doxy.config.in
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

LOG_TO_CALLBACK

Code: Select all
$ make

[ 27%] Built target cstdlib
[ 31%] Building C object src/CMakeFiles/csync.dir/csync_config.c.o
/home/eduardo/Downloads/csync/src/csync_config.c: In function ‘csync_config_load’:
/home/eduardo/Downloads/csync/src/csync_config.c:55:3: error: passing argument 1 of ‘iniparser_load’ discards ‘const’ qualifier from pointer target type
/usr/include/iniparser.h:262:14: note: expected ‘char *’ but argument is of type ‘const char *’
/home/eduardo/Downloads/csync/src/csync_config.c:60:3: error: passing argument 2 of ‘iniparser_getint’ discards ‘const’ qualifier from pointer target type
/usr/include/iniparser.h:154:5: note: expected ‘char *’ but argument is of type ‘const char *’
/home/eduardo/Downloads/csync/src/csync_config.c:65:7: error: passing argument 2 of ‘iniparser_getint’ discards ‘const’ qualifier from pointer target type
/usr/include/iniparser.h:154:5: note: expected ‘char *’ but argument is of type ‘const char *’
/home/eduardo/Downloads/csync/src/csync_config.c:70:7: error: passing argument 2 of ‘iniparser_getboolean’ discards ‘const’ qualifier from pointer target type
/usr/include/iniparser.h:203:5: note: expected ‘char *’ but argument is of type ‘const char *’
make[2]: *** [src/CMakeFiles/csync.dir/csync_config.c.o] Error 1
make[1]: *** [src/CMakeFiles/csync.dir/all] Error 2
make: *** [all] Error 2

I am no programmer nor software developer. I have already tried every solution, with no success. I requested this ebuild in bugzilla, but I know this is not that easy to add because there is not even an «official» package on gentoo.

The question is: how can I get my files synced?

Thanks in advance
ludenticus
Baby Hen
 
Posts: 1
Joined: Thu Jul 12, 2012 6:13

Return to Software in General

Who is online

Users browsing this forum: Lemuriano, sireangelus and 1 guest