-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Wine via Homebrew fails to install because of clang and missing gcc #22181
Comments
Please post the full troubleshooting information in a gist; we at least need your |
Can you provide all the information requested there, please? Thanks! |
Thanks for the speedy reply. Brew Doctor: https://gist.github.com/Spottedstar/c3039886133d41d60843 |
Last one should be |
I cannot fit the whole entry into one gist brew install -v wine 2>&1 https://gist.github.com/Spottedstar/31166c95747a4e2437be This is the result |
You have a custom OpenAL framework which doesn't provide the same architectures that Wine's building for. Not sure what architecture that is, ld doesn't seem to be aware. What do you get for:
You can fix your build by moving that OpenAL out of the way. |
file /Library/Frameworks//OpenAL.framework/OpenAL https://gist.github.com/Spottedstar/c798908be420ad8d169f I noticed it says "ppc". I assure you, I'm running an Intel. |
You're running an Intel but that framework is PowerPC only. You should remove the entire framework - it'll only cause further problems. |
How do I do that? |
|
rm -r /Library/Frameworks/OpenAL.framework/ Mitchell$ rm -r /Library/Frameworks/OpenAL.framework/ EDIT: Manually removing the OpenAL.framework folder didn't seem to solve the problem. |
You'll need admin privileges, yeah. You can also Can I see a new build log after it's removed? |
Sorry, for my lack of knowledge on the subject. Where do I find the build log? |
Just redo: |
Whatever the problem was it is solved and the installation of wine was successful. But, I do have more lingering questions. Such as, how to run ISO files through wine. Is that possible? |
We don't provide usage support for Wine, sorry. |
For usage, I'd suggest asking at the official Wine forums. Glad your build problem is solved! |
Some help with this would be nice. I've tried for a few days to get it sorted out but to no avail. Running OS X 10.8.4
GISTS:
Brew Doctor: https://gist.github.com/Spottedstar/c3039886133d41d60843
Brew --config: https://gist.github.com/Spottedstar/15cadf800c0b4d6ca1e1
brew install foo 2>&1: https://gist.github.com/Spottedstar/c8da0f0ffb3d30103bed
brew install -v wine 2>&1: https://gist.github.com/Spottedstar/b918d8d5eed3daaf87e1
==> Installing wine
==> Downloading http://downloads.sourceforge.net/project/wine/Source/wine-1.6.ta
Already downloaded: /Library/Caches/Homebrew/wine-1.6.tar.bz2
==> Downloading patches
################################################################## 100.0%
==> Patching
patching file dlls/gdi32/freetype.c
Hunk #1 succeeded at 2777 (offset -4 lines).
Hunk #2 succeeded at 2787 (offset -4 lines).
Warning: Clang currently miscompiles some parts of Wine. If you have gcc, you
can get a more stable build with:
brew install wine --use-gcc
==> ./configure --prefix=/usr/local/Cellar/wine/1.6 --disable-win16 --without-mp
==> make install
make[1]: *** [openal32.dll.so] Error 2
make: *** [dlls/openal32] Error 2
make: *** Waiting for unfinished jobs....
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./opencl.spec opencl.o -o opencl.dll.so ../../libs/port/libwine_port.a -framework OpenCL -L/opt/X11/lib -L/usr/local/lib -Wl,-headerpad_max_install_names -L/opt/X11/lib -arch i386 -m32 -lxslt
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./opencl.spec opencl.o -o opencl.dll.fake ../../libs/port/libwine_port.a -framework OpenCL -L/opt/X11/lib -L/usr/local/lib -Wl,-headerpad_max_install_names -L/opt/X11/lib -arch i386 -m32 -lxslt
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
Mitchell:~ Mitchell$ brew install wine --use-gcc
Error: GCC could not be found
Mitchell:~ Mitchell$ brew update
Already up-to-date.
Mitchell:~ Mitchell$
The text was updated successfully, but these errors were encountered: