-
Notifications
You must be signed in to change notification settings - Fork 671
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
[OS X] Improve client build and packaging instructions #5594
Comments
Hi, we finally got it to build successfully, I am posting the steps we followed and some friendly suggestions for the documentation :) : We eventually managed to build first the standard owncloud and then our customized version. We identified two separate problems that were stopping us: We also had to call packages manually as we coulnd't figure out the right parameters from the error using the .sh version: So I guess we have to apologize for misunderstanding part of the documentation. Specify absolute path (With some example path given) for all operations pertaining the mix and match of owncloud and qtkeychain otherwise it is terribly easy to mixup what goes where and the number of libs not found by simple path mistake gives few clews as to where we screwed up. We still don't know, as we eventually used the brew supplied keychain. The documentation makes abundant use of "install" as a word and target dir, but it is not always clear if what is meant is a system install, a build dir, an include dir or what. This can probably be fixed by slightly more abundant comments. The make install part is "NOT" optional for a functional installer being built, and should either be mentioned in the "#installer" documentation or the build phase. I also feel it would probably also help if the different build processes were in consecutive sections throughout the process so Mac from scratch to installer, windows same, unix same, jumping back and forth is confusing when unfamiliar with the project and tech. It would also help immensely if a default "will work for most of you guys" cmake command was provided and leaving advanced options for the more savvy users, whereas it is currenty the opposite as a complicated unexplained command is given: this is not: TL:DR: Thanks in advance, |
Could you please send a pull request with documentation fixes? :) |
@Delta-38 thanks for the details. I'm going to step through the process this afternoon and see what I find. |
It's been a while since I looked at this. But I'm looking at it this week. I'm thinking that the simplest way to resolve it going forward is to create a shell script that can be run on macOS. |
Yes I think that would be a perfectly fine solution.
2017-05-02 14:38 GMT+02:00 Matthew Setter <notifications@github.com>:
… It's been a while since I looked at this. But I'm looking at it this week.
I'm thinking that the simplest way to resolve it going-forward is to create
a shell script that can be run on macOS.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5594 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGyNKmfMLlGCwbXSgEwu_VCwfZRsGAgQks5r1yO1gaJpZM4MZSrr>
.
|
I've gone through the steps and have been able to build it. But there are steps that I don't understand, which I need more information on before I can document it. And I agree that the process isn't documented correctly (and is overly complicated). |
Thanks for the effort, we appreciate what you are doing and look forward to
the revised documentation. We know one does not simply walk into mordor :)
2017-05-24 15:25 GMT+02:00 Matthew Setter <notifications@github.com>:
… I've gone through the steps and have been able to build it. But there are
steps that I don't understand, which I need more information on before I
can document it. And I agree that the process isn't documented correctly
(and is overly complicated).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5594 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGyNKjUIKE3DWKnb-ngCMNnTqnm4rghxks5r9C-vgaJpZM4MZSrr>
.
|
Sorry, I see that I dropped the proverbial ball on this one. Picking it up again to conclusion now. |
hi @ALL, I've also built a client installer for MAC OSX after a trial and error process. I'd like to share some info with you. Main references: os and software versions:
Problems & Solutions:
|
Hello, we are trying to build the Mac client for owncloud (after successfully building the windows and Linux clients) however, even following the instructions to the letter, and trying on several different development Macs at our office, we cannot get it to complete.
We are trying to build on a Mac with OSX 10.12 and have tried both building with qt4 (with the corresponding option on ) and with qt5 (trie 5.6, 5.7 and about to try with 5.8...)
We have faced the following issues:
1)The instructions for MacOSX aren't very clear as to the actual folder structure that has to be attained relative to the client and qtkeychain projects, there is frequent reference to install-prefix dirs, but it is unclear as to wheter the qtkeychain cmake and the client cmake should aim at the same folder or not. Other references to build-dir, install-dir are often unclear as to what they refer to.
2) Is there a way to use the installed version of Qt (The ones coming with the Qt installer rather than the brew version? ) This is a recent iMac and after 140 minutes it is still stuck in the brew install qt5 ... step... (The comments related to other sections of the install process have already been run on other machines here)
4)We also get an error in the creation of the package where it says macosx.pkgproj is not a packages project file. (On the machine that got furthest with the build attempts).
4.1) On this machine the owncloud.app runs, but the created package won't run on other Macs, we tried with running macdeployqt over the .app but it didn't help.
I understand it is a lot to ask and probably several separate comple issues, but we are stumped and we would love to get some help with the build.
We feel that the Mac build process documentation could use some love, a probably a bit less optimism. :)
Paolo Manili
Client configuration
Client version:2.3.0
Operating system: OSX 10.12
OS language: Italian
The text was updated successfully, but these errors were encountered: