Hi Guys, I'm a newbie, running my first windows app on a Macbook. OS X 10.6.8 2.2 GHz Intel Core 2 Duo 2 GB 667 MHz DDR2 SDRAM When I tried to install X11, both the original X11 app and the update told me it is already installed on my Mac. Here's the error messages from Term: $ wine setup.exe wine: created the configuration directory '/Users/horacemann/.wine' Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:systray:initialize_systray Could not create tray window Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. fixme:storage:create_storagefile Storage share mode not implemented. err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot fixme:iphlpapi:NotifyAddrChange (Handle 0xfaf53c, overlapped 0xfaf520): stub wine: configuration in '/Users/horacemann/.wine' has been updated. Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. fixme:storage:create_storagefile Storage share mode not implemented. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:msi:msi_dialog_run_message_loop Failed to create dialog L"SetupInitialization" err:msi:msi_dialog_run_message_loop Failed to create dialog L"InstallWelcome" err:msi:msi_dialog_run_message_loop Failed to create dialog L"SetupProgress" err:msi:msi_dialog_run_message_loop Failed to create dialog L"SetupCompleteSuccess" $ Then I tried it again and got: $ wine setup.exe Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! err:ntdll:RtlpWaitForCriticalSection section 0x7bc97d14 "loader.c: loader_section" wait timed out in thread 001c, blocked by 001d, retrying (60 sec) Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:systray:initialize_systray Could not create tray window Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. fixme:storage:create_storagefile Storage share mode not implemented. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:msi:msi_dialog_run_message_loop Failed to create dialog L"SetupInitialization" err:msi:msi_dialog_run_message_loop Failed to create dialog L"SetupResume" err:msi:msi_dialog_run_message_loop Failed to create dialog L"SetupProgress" err:msi:msi_dialog_run_message_loop Failed to create dialog L"SetupCompleteSuccess" $ Any thoughts? Thanks! --Prahas
Reboot your computer after installing XQuartz
How do I install XQuartz? And thanks! On Sat, May 5, 2012 at 7:13 AM, qparis <wineforum-user at winehq.org> wrote:> Reboot your computer after installing XQuartz > > > > >
> How do I install XQuartz? ?And thanks!google is your friend, and to answer your question. You install xquartz just like you install any other mac application http://xquartz.macosforge.org/landing/
jordan wrote:> Hey again, > >For some strange reason, I've NEVER been able to get Wine to run on various macs using MacPorts or Fink builds (even WineBottler and Ryans scripts required this) without setting the DYLD_BACKUP_LIBRARY_PATH to point to the Wine libraries. I HIGHLY recommend using MacPorts and/or Fink to install Wine rather than 'rolling your own' for this reason. James
jjmckenzie wrote:> > jordan wrote: > > Hey again, > > > > > > > For some strange reason, I've NEVER been able to get Wine to run on various macs using MacPorts or Fink builds (even WineBottler and Ryans scripts required this) without setting the DYLD_BACKUP_LIBRARY_PATH to point to the Wine libraries. > > I HIGHLY recommend using MacPorts and/or Fink to install Wine rather than 'rolling your own' for this reason. > > Jamesits DYLD_FALLBACK_LIBRARY_PATH and it needs to point to the X11 lib folder... for a normal XQuartz install it would be. export DYLD_FALLBACK_LIBRARY_PATH=/opt/X11/lib for macports its done automatically for you, but it does... export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib if you on an older Mac that cannot use the newer XQuartz installs... you may have various issues, but the statement would be... export DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib or on some 10.4 installs with original X11 export DYLD_FALLBACK_LIBRARY_PATH=/usr/X11R6/lib Its best to use the newest version of XQuartz, which is basically what Macports builds for you as well.
Why is dbus even needed? This shouldn't be required on OSX
I think Macports and Fink both compile Wine with dbus for some reason... I add a --without-dbus and Wine still runs fine, because its set to use native stuff and not dbus... but of course there is a dbus port for mac and it *can* use it... just like you *can* use v4l, mpg123 and stuff instead of Quicktime, but theres no good reason too usually.
Fink and MacPorts both use dbus for all sorts of things especially since dbus has launchd support. Resistance is futile, you will be assimilated... dbus is usually automatically installed due to dependencies and loaded into launchd when installed. The conventional wisdom is that everyone says to issue the following command(s): sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist However, the secret sauce is to add the following to your environment (either in .cshrc or the environment.plist file): export DBUS_SESSION_BUS_ADDRESS="launchd:env=DBUS_FINK_SESSION_BUS_SOCKET" or for tcsh style shells: setenv DBUS_SESSION_BUS_ADDRESS "launchd:env=DBUS_FINK_SESSION_BUS_SOCKET"
no that line I copied from their webpage, not the script. Thanks for pointing that out. My script is latest. The script does output some text at the very end with the env vars you need to set. I don't know what you mean by "refresh SDL". ??
I guess we really aren't supposed to discuss the osxwinebuilder script here on this forum, but I thought the whole point of that script is that it downloads everything necessary, including SDL, and builds it in a self contained directory, it does not install anything into /usr for example. So if I start with an empty directory and run the script, it should just work. I see that the script is using version 1.2.14 of SDL library, that library is currently up to version 1.2.15, but it may be by design that wine needs to use 1.2.14, I do not know. Nonetheless, I don't understand why someone else ran the script and it worked fine, while I run the script and get compile error related to SDL somehow. Actually I am not able to build older wine versions such as 1.4 anymore now either. WTF? Here is the error I got: Code: libtool: link: gcc -g -O2 -arch i386 -m32 -mmmx -msse -msse2 -msse3 -mfpmath=sse -I/Users/sjs/wine/wine-1.5.5/include -I/opt/X11/include -dynamiclib -o build/.libs/libSDL-1.2.0.dylib build/.libs/SDL.o build/.libs/SDL_error.o build/.libs/SDL_fatal.o build/.libs/SDL_audio.o build/.libs/SDL_audiocvt.o build/.libs/SDL_audiodev.o build/.libs/SDL_mixer.o build/.libs/SDL_mixer_MMX.o build/.libs/SDL_mixer_MMX_VC.o build/.libs/SDL_mixer_m68k.o build/.libs/SDL_wave.o build/.libs/SDL_cdrom.o build/.libs/SDL_cpuinfo.o build/.libs/SDL_active.o build/.libs/SDL_events.o build/.libs/SDL_expose.o build/.libs/SDL_keyboard.o build/.libs/SDL_mouse.o build/.libs/SDL_quit.o build/.libs/SDL_resize.o build/.libs/SDL_rwops.o build/.libs/SDL_getenv.o build/.libs/SDL_iconv.o build/.libs/SDL_malloc.o build/.libs/SDL_qsort.o build/.libs/SDL_stdlib.o build/.libs/SDL_string.o build/.libs/SDL_thread.o build/.libs/SDL_timer.o build/.libs/SDL_RLEaccel.o build/.libs/SDL_blit.o build/.libs/SDL_blit_0.o build/.libs/SDL_blit_1.o build/.libs/SDL_blit_A.o build/.libs/SDL_blit_N.o build/.libs/SDL_bmp.o build/.libs/SDL_cursor.o build/.libs/SDL_gamma.o build/.libs/SDL_pixels.o build/.libs/SDL_stretch.o build/.libs/SDL_surface.o build/.libs/SDL_video.o build/.libs/SDL_yuv.o build/.libs/SDL_yuv_mmx.o build/.libs/SDL_yuv_sw.o build/.libs/SDL_joystick.o build/.libs/SDL_nullevents.o build/.libs/SDL_nullmouse.o build/.libs/SDL_nullvideo.o build/.libs/SDL_diskaudio.o build/.libs/SDL_dummyaudio.o build/.libs/SDL_sysloadso.o build/.libs/mmx_main.o build/.libs/mmxp2_32.o build/.libs/x86_main.o build/.libs/x86p_16.o build/.libs/x86p_32.o build/.libs/SDL_QuartzEvents.o build/.libs/SDL_QuartzGL.o build/.libs/SDL_QuartzVideo.o build/.libs/SDL_QuartzWM.o build/.libs/SDL_QuartzWindow.o build/.libs/SDL_x11dga.o build/.libs/SDL_x11dyn.o build/.libs/SDL_x11events.o build/.libs/SDL_x11gamma.o build/.libs/SDL_x11gl.o build/.libs/SDL_x11image.o build/.libs/SDL_x11modes.o build/.libs/SDL_x11mouse.o build/.libs/SDL_x11video.o build/.libs/SDL_x11wm.o build/.libs/SDL_x11yuv.o build/.libs/XF86DGA.o build/.libs/XF86DGA2.o build/.libs/SDL_dgaevents.o build/.libs/SDL_dgamouse.o build/.libs/SDL_dgavideo.o build/.libs/XF86VMode.o build/.libs/Xv.o build/.libs/Xinerama.o build/.libs/xme.o build/.libs/SDL_systhread.o build/.libs/SDL_syssem.o build/.libs/SDL_sysmutex.o build/.libs/SDL_syscond.o build/.libs/SDL_coreaudio.o build/.libs/SDL_sysjoystick.o build/.libs/AudioFilePlayer.o build/.libs/AudioFileReaderThread.o build/.libs/CDPlayer.o build/.libs/SDLOSXCAGuard.o build/.libs/SDL_syscdrom.o build/.libs/SDL_systimer.o -L/Users/sjs/wine/wine-1.5.5/lib -L/opt/X11/lib -framework CoreServices -lz -lGL -lGLU -arch i386 -m32 -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-framework -Wl,OpenGL -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,AudioToolbox -Wl,-framework -Wl,AudioUnit -Wl,-framework -Wl,IOKit -framework CoreServices -install_name /Users/sjs/wine/wine-1.5.5/lib/libSDL-1.2.0.dylib -compatibility_version 12 -current_version 12.3 -Wl,-single_module Undefined symbols: "__XGetRequest", referenced from: _SDL_XF86DGAInstallColormap in XF86DGA.o _SDL_XF86DGASetVidPage in XF86DGA.o _SDL_XF86DGASetViewPort in XF86DGA.o _SDL_XF86DGADirectVideoLL in XF86DGA.o _SDL_XF86DGAViewPortChanged in XF86DGA.o _SDL_XF86DGAQueryDirectVideo in XF86DGA.o _SDL_XF86DGAGetVidPage in XF86DGA.o _SDL_XF86DGAGetViewPortSize in XF86DGA.o _SDL_XF86DGAGetVideoLL in XF86DGA.o _SDL_XDGACreateColormap in XF86DGA2.o _SDL_XDGAChangePixmapMode in XF86DGA2.o _SDL_XDGASync in XF86DGA2.o _SDL_XDGAGetViewportStatus in XF86DGA2.o _SDL_XDGACopyTransparentArea in XF86DGA2.o _SDL_XDGACopyArea in XF86DGA2.o _SDL_XDGAFillRectangle in XF86DGA2.o _SDL_XDGASelectInput in XF86DGA2.o _SDL_XDGAInstallColormap in XF86DGA2.o _SDL_XDGASetViewport in XF86DGA2.o _SDL_XDGASetMode in XF86DGA2.o _SDL_XDGAQueryModes in XF86DGA2.o _SDL_XDGACloseFramebuffer in XF86DGA2.o _SDL_XDGAOpenFramebuffer in XF86DGA2.o _SDL_XDGASetClientVersion in XF86DGA2.o _SDL_XDGAQueryVersion in XF86DGA2.o _SDL_XF86VidModeGetGammaRampSize in XF86VMode.o _SDL_XF86VidModeSetViewPort in XF86VMode.o _SDL_XF86VidModeLockModeSwitch in XF86VMode.o _SDL_XF86VidModeSwitchMode in XF86VMode.o _SDL_XF86VidModeGetGamma in XF86VMode.o _SDL_XF86VidModeSetGamma in XF86VMode.o _SDL_XF86VidModeSetClientVersion in XF86VMode.o _SDL_XF86VidModeQueryVersion in XF86VMode.o _SDL_XF86VidModeGetViewPort in XF86VMode.o _SDL_XF86VidModeGetGammaRamp in XF86VMode.o _SDL_XF86VidModeSetGammaRamp in XF86VMode.o _SDL_XF86VidModeGetDotClocks in XF86VMode.o _SDL_XF86VidModeGetAllModeLines in XF86VMode.o _SDL_XF86VidModeGetModeLine in XF86VMode.o _SDL_XF86VidModeGetMonitor in XF86VMode.o _SDL_XF86VidModeAddModeLine in XF86VMode.o _SDL_XF86VidModeSwitchToMode in XF86VMode.o _SDL_XF86VidModeValidateModeLine in XF86VMode.o _SDL_XF86VidModeModModeLine in XF86VMode.o _SDL_XF86VidModeDeleteModeLine in XF86VMode.o _SDL_XineramaQueryScreens in Xinerama.o _SDL_XineramaIsActive in Xinerama.o _SDL_XPanoramiXGetScreenSize in Xinerama.o _SDL_XPanoramiXGetScreenCount in Xinerama.o _SDL_XPanoramiXGetState in Xinerama.o _SDL_XPanoramiXQueryVersion in Xinerama.o _XiGMiscFullScreen in xme.o _XiGMiscChangeResolution in xme.o _XiGMiscQueryResolutions in xme.o _XiGMiscQueryViews in xme.o _XiGMiscQueryVersion in xme.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [build/libSDL.la] Error 1 could not run 'make -j3' in /Users/sjs/wine/build/SDL-1.2.14 - exiting