Loading...
 

Wineskin Support Forum Help

Forums » Wineskin Support Forum » Building a Custom engine on El Capitan

Building a Custom engine on El Capitan

I know there are other posts about that, but I had a different problem. Since I'm using El Capitan Wineskin failed to install gcc4.2, so I used Homebrew to install it with these commands:

brew tap homebrew/dupes
brew install apple-gcc42


After that, I tried to build the engine again, but then that happened:

*********************************************************
Build environment being set up
DO NOT RUN ANY WINESKIN BASED PORTS WHILE THIS IS RUNNING
OR IT WILL TOTALLY SCREW THINGS UP!!!!
*********************************************************
 
checking build system type... x86_64-apple-darwin15.3.0
checking host system type... x86_64-apple-darwin15.3.0
checking whether make sets $(MAKE)... no
checking for gcc... gcc-4.2
checking whether the C compiler works... no
configure: error: in `/Users/Vitor/Desktop/wine-1.9.0-TS2':
configure: error: C compiler cannot create executables
See `config.log' for more details
An error occurred during Wine Configure, build halted.
Cleaning up changes made for the build, if any...


What should I do in order to make it work? Thanks in advance.



I had to use this method in order to allow El Capitan to make changes to some XCode files in order to accomplish my first build on the new OS...I'm not entirely sure if your issue is relative to the problem I encountered. I didn't need Homebrew or anything like that though.

 

http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/ 



I was unable to make it work on Yosemite myself. Try adding CC=clang CXX=clang to the end of the 'Wine configure Arguments'.

 



I've used Homebrew because I didn't wanted to use rootless. It's an unsafe method and probably we can find another way to build engine, without it.

 


Post new message

Attach file Maximum size: 10.00 Mb
Post new reply

Show posts: