andy5995 Posted August 19, 2018 Report Share Posted August 19, 2018 Can anyone help me fix this osx build? I'm trying to test building 0ad on Travis using High Sierra, and installing the dependencies with brew. current build log script used to install dependencies travis.yml output from brew Quote Link to comment Share on other sites More sharing options...
asterix Posted August 19, 2018 Report Share Posted August 19, 2018 I believe @wraitii and @vladislavbelov have access to OSX. Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted August 20, 2018 Report Share Posted August 20, 2018 Did you use official build instructions for macOS: BuildInstructions? Because I don't see build-osx-libs.sh in logs, so that's the problem I think. Quote Link to comment Share on other sites More sharing options...
andy5995 Posted August 20, 2018 Author Report Share Posted August 20, 2018 I thought I'd see if I could get it built using brew to install the dependencies. The official build instructions seem kind of old; they don't mention brew or recent version of xcode. I figured some instructions for building using brew would be easier to maintain than the build-osx-libs.sh script, and easier for developers new to the project. Or did I miss something? Is there a reason that brew isn't being suggested? Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted August 20, 2018 Report Share Posted August 20, 2018 41 minutes ago, andy5995 said: I thought I'd see if I could get it built using brew to install the dependencies. If you try to build the game with a different build system, you'd need to know which dependencies are needed. Because it seems, that you didn't install SpiderMonkey. 41 minutes ago, andy5995 said: The official build instructions seem kind of old; they don't mention brew or recent version of xcode. Old != invalid. Also we can't use brew yet, because brew supports well only 10.11+, 10.5–10.10 are supported on a best-effort basis (https://docs.brew.sh/Installation), but we support 10.9+ (for bundles 10.7+). 41 minutes ago, andy5995 said: I figured some instructions for building using brew would be easier to maintain than the build-osx-libs.sh script, and easier for developers new to the project. I don't think that the brew can fully replace the script, because we need to use custom compilation options and to patch some libraries anyway. 1 Quote Link to comment Share on other sites More sharing options...
andy5995 Posted August 20, 2018 Author Report Share Posted August 20, 2018 I wasn't suggesting it was invalid. Sounds like there's not much point to me continuing with this then. Thank you for the explanation, @vladislavbelov Quote Link to comment Share on other sites More sharing options...
Stan` Posted August 20, 2018 Report Share Posted August 20, 2018 I believe @wraitii is using brew though. Maybe there could be an alternative option. 1 Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted August 20, 2018 Report Share Posted August 20, 2018 1 hour ago, stanislas69 said: I believe @wraitii is using brew though. Maybe there could be an alternative option. I'd call it an additional option, because we have some custom things. Brew can be an alternative option in case we remove these custom things. 1 Quote Link to comment Share on other sites More sharing options...
wraitii Posted August 22, 2018 Report Share Posted August 22, 2018 I do have a custom setup using brew for most libraries, but I still use the script for some because it doesn't work otherwise. It's also a super-hack and brew is very much not nice if you're aiming at using the same versions across multiple computers as it's not always possible to access a specific version. 1 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 4, 2018 Report Share Posted December 4, 2018 @andy5995 Looking at the build error it seems like it didn't install the correct version of SpiderMonkey. Do you still want to try again ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.