[Owncloud] Build fails: csync.h not found
Randolph Carter
RandolphCarter at fantasymail.de
Tue Jul 23 15:51:48 UTC 2013
Me again; I have to say I'm also very new to building owncloud client,
but I think I now
found the source of your problem:
You are currently referencing the ocsync build directory for
CSYNC_INCLUDE_PATH.
But for the include directory, it has to be the actual source path for
ocsync!
Only for the build directory you have to reference your ocsync_build
directory.
Randolph
On 2013-07-23 17:41, Randolph Carter wrote:
> Hi,
>
> Are you sure you have the latest version of ocsync as stated in the doc
> here:
> https://github.com/owncloud/mirall/blob/master/doc/building.rst#generic-build-instructions
>
> When you check the git repo referenced there in the subfolder src:
> http://git.csync.org/users/freitag/csync.git/tree/src
> you will see that the csync.h is there.
>
> Hope that helps,
> Randolph
>
> On 2013-07-23 14:18, Andreas Demmer wrote:
>> Hi,
>>
>> I tried to build the git master owncloud-client from source. I already
>> succeeded with ocsync, but mirall fails. I used the -D* params to specify
>> where to look for csync:
>>
>> ademmer at spectre:~/Source/other/mirall_build> cmake -DLIB_SUFFIX=64 -
>> DCMAKE_INSTALL_PREFIX=kde4-config --prefix -
>> DCSYNC_BUILD_PATH=/home/ademmer/Source/other/ocsync_build -
>> DCSYNC_INCLUDE_PATH=/home/ademmer/Source/other/ocsync_build/src ../mirall
>>
>> But the build fails with:
>> /home/ademmer/Source/other/mirall/src/mirall/syncfileitem.h:6:19: fatal error:
>> csync.h: file or directory not found
>> compilation terminated.
>>
>> There really is no "csync.h" in /home/ademmer/Source/other/ocsync_build/src
>> but a "csync_version.h". Any suggestions? :(
>>
>> Yours,
>> Andreas
>>
>>
>>
>> _______________________________________________
>> 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
>
More information about the Owncloud
mailing list