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
