Closed Panthro closed 10 years ago
@Panthro on which distro are you trying to build?
Here is a blog about building mirall in a vagrant box using opensuse : http://deepdiver1975.wordpress.com/2013/12/05/building-the-owncloud-client-for-windows-on-opensuse-12-3-using-a-vagrant-box/
Maybe this helps.
Yes, it seems to be an issue on your build setup as one tool seems to segfault:
/bin/sh: line 1: 17530 Segmentation fault /usr/bin/i686-w64-mingw32-windres -i /root/owncloud/mirall-build/src/ownCloud.rc -o /root/owncloud/mirall-build/src/ownCloud_res.o --include-dir=/root/owncloud/mirall/src
make[2]: *** [src/ownCloud_res.o] Error 139
But please seek out for help on this on mailinglist or forum, not here in the bugtracker. Thanks.
@DeepDiver1975 it was OpenSuse 12.2 on an ec2 instance.
@dragotin Didn't mean to say that the app itself has an issue, but at least the documentation does, as it's extremely hard for someone without opensuse (or any rpm based) knowledge to sucessfully cross compile.
Yes, maybe, but honestly, cross compiling is not an easy thing. But how can we solve this problem? openSUSE has that great set of packages which make it comparably easy to compile the client for windows. If other distros don't offer that, I mean, that is not our fault, right? We try to use the easiest way to work with.
You could ask at your distro if they have cross compile packages, figure out how to use them and help us documenting it.
But see what @DeepDiver1975 posted, that should help you along.
Cross compiling is a nightmare lol
Already working on that link, looks promising, I'll post any feedback.
One of the reasons I posted the issue here is to open up the issue to the Google world! :+1:
And also, I only came here after 4 hours of digging, searching, trying....tried 2 different distros of open suse, trie 32b and 64b versions, some packages I had to find using rpmfind (which seriously I think it's the issue).
I have no idea if ubuntu have got this sort of things, but would be lovely to have something like:
apt-get install owncloud-client-build
git clone bla bla bla
cmake
make
Experiencing the same kind of challenge when compiling I've made a set of bash scripts that might come in handy when (cross) compiling. One can also code sign and theme the clients. See http://owncloud.10557.n7.nabble.com/Build-scripts-desktop-clients-td13112.html and https://github.com/owncloud/administration/tree/master/build-clients The scripts a full of comments and there's a general manual.
I have tried all I could with the instructions provided at: https://github.com/owncloud/mirall/blob/master/doc/building.rst
Every single attempt have lead to the same error.
I have tried with the source packages in the page http://owncloud.org/sync-clients/ I have tried with what's in the master from github, absolutely nothing works.
Let me share my command sequence first, so if you find anything wrong just by the commands there's no need to read the rest
commands:
Now the outputs (with commands)