-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Howto] Build 1.7.0 for Mac #2490
Comments
This helps me a lot to understand the build system and to build it successfully for all platforms: https://github.com/owncloud/administration/tree/master/build-clients |
Thanks @pierrejochem . But those scripts are only up to 1.6.4 as far as I can tell. And the process with 1.7 for Mac is significantly different. Since I can't get it built by following the official instructions I can't help with updating these scripts either. |
You just need to add the hash key from 1.7.0 to the config file. What are you using as build system? There is also a daily build for OSX somewhere as far as i know. |
@pierrejochem At a glance the scripts are written to generate a dmg, not an installer package which is a significant change in the build process for the Mac client with 1.7. So it's a lot more than just adding a hash. My build environment is a 10.9.5 VM. I need to customize the update url as well as build numbers and version suffixes. If it wasn't for the need to customize I'd be happy with the official 1.7.0 from owncloud.org. Dailies are definitely not suitable for a production environment like ours. |
Sorry, I was two weeks a bit 'out of business', but now I'm on top of it ! |
@kwillems mind to paste the link to your blog again here? Thanks a lot! |
@dragotin: indeed, i forgot. (it was caused becaused I knew @scolebrook and @pierrejochem know what I'm chatting about) When I'm talking about the build scripts I mean these ones: http://owncloud.10557.n7.nabble.com/Build-scripts-desktop-clients-td13112.html |
The build scripts are updated https://github.com/owncloud/administration/tree/master/build-clients ! |
@kwillems Thanks for your efforts. I'll be working on this again next week. I've had a quick read of the scripts and it looks like it will resolve all my issues and questions on both win and mac. |
Thanks for your update. I'm just trying to build the client on mac. Building and packaging seems to work, but I get a "Segmentation fault 11" or the output below after the client starts the sync process (after configuring server, user account and folders). I'm on Yosemite. Here is my build process: http://pastebin.com/i0Crc6uQ Here is the application output: http://pastebin.com/FvYTmUKb |
@anx-mr This is a know issue at the moment. Therefore you should build the Mac client on Mavericks instead on Yosemite. |
okay thanks for the info! |
When I build it on Mavericks it also works on Mavericks, but not on Yosemite. Is this also a known issue or should it work? $ ./owncloud Maybe this helps: http://pastebin.com/hnNTgMHW |
I can't get it work on Yosemite :( I tried to build it on different Mavericks systems - but it only runs on Mavericks... |
Hum ... did you use a recent checkout of the build scripts ? |
Yes, without any modifications. Also yesterday on a clean Mavericks with the following steps:
Install pkg on Mavericks -> working |
I cannot find the problem ... |
@anx-mr @mrauter This commit might possibly help you: #2627 (comment) |
I've updated my build VM with brew update/upgrade, checked out 1.7.0 and can't build the Mac client successfully.
Here is the cmake command I'm using:
cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX=~/Desktop/mirall/install ~/Desktop/mirall/mirall
This is run from ~/Desktop/mirall/mirall-build. This part seems to work. The following make seems to compile successfully and mirall-build is full of stuff. But ../install is empty so the create_mac.sh script doesn't work.
Incidentally, the script says the install prefix dir comes first followed by build dir and the build documentation has it the other way around. I've tried both without success.
Unable to copy item at path '/Users/me/Desktop/mirall/mirall-build/../install/owncloud.app' because the item could not be found
I can see the correct path in mirall-build/cmake_install.cmake for CMAKE_INSTALL_PREFIX. But nothing gets copied to the install directory and the create_mac.sh clearly expects it to be populated with something.
Either something is missing in the documentation or this script has a bug of some kind.
The text was updated successfully, but these errors were encountered: