Error running an app on a Mac
Error running an app on a Mac
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
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
Error running an app on a Mac
How do I install XQuartz? And thanks!
On Sat, May 5, 2012 at 7:13 AM, qparis <[email protected]> wrote:
On Sat, May 5, 2012 at 7:13 AM, qparis <[email protected]> wrote:
Reboot your computer after installing XQuartz
Error running an app on a Mac
google is your friend, and to answer your question. You installHow do I install XQuartz? And thanks!
xquartz just like you install any other mac application
http://xquartz.macosforge.org/landing/
Error running an app on a Mac
I promise I'll improve fast.
XQuartz installed. Restarted. Re-ran 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:process:__wine_kernel_init boot event wait timed out
and then it just hung there...
Just a bit more help please...
--Prahas
On Sat, May 5, 2012 at 7:31 AM, jordan <[email protected]> wrote:
XQuartz installed. Restarted. Re-ran 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:process:__wine_kernel_init boot event wait timed out
and then it just hung there...
Just a bit more help please...
--Prahas
On Sat, May 5, 2012 at 7:31 AM, jordan <[email protected]> wrote:
google is your friend, and to answer your question. You installHow do I install XQuartz? And thanks!
xquartz just like you install any other mac application
http://xquartz.macosforge.org/landing/
Error running an app on a Mac
Hey again,
posting. ie: google search the error you are getting;
I've onloy included a couple of them;
http://kzar.co.uk/blog/topic/mac - try this solution. you will need
to open a terminal to apply these commands.
http://old.nabble.com/Meld-fails-to-sta ... 18152.html
Launchd isn't providing the socket path, because by default it is
disabled. (that appears to be your problem, anyway).
NOTE: if /Library/LaunchDaemons/org.freedesktop.dbus-system.plist &&
/Library/LaunchAgents/org.freedesktop.dbus-session.plist do NOT exist
on your system, then you will probably need to build dbus using
macports (as it provides these files).
I believe this 'should' be installed though...
NOTE: if using 'sudo' does not work, then instead of;
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
instead of
sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
the -w argument from what i read is supposed to apply it for all
users, and that is why you would use sudo. So if that doesn't work,
applying the top command should work.
cheerz
Google is your friend, so try improving your googling skills beforeI promise I'll improve fast. ;-)
posting. ie: google search the error you are getting;
I've turned up a number of threads elsewhere, about similar issues.Dynamic session lookup supported but failed: launchd did not provide a
socket path, verify that org.freedesktop.dbus-session.plist is loaded!
err:process:__wine_kernel_init boot event wait timed out
I've onloy included a couple of them;
http://kzar.co.uk/blog/topic/mac - try this solution. you will need
to open a terminal to apply these commands.
http://old.nabble.com/Meld-fails-to-sta ... 18152.html
Launchd isn't providing the socket path, because by default it is
disabled. (that appears to be your problem, anyway).
NOTE: if /Library/LaunchDaemons/org.freedesktop.dbus-system.plist &&
/Library/LaunchAgents/org.freedesktop.dbus-session.plist do NOT exist
on your system, then you will probably need to build dbus using
macports (as it provides these files).
I believe this 'should' be installed though...
NOTE: if using 'sudo' does not work, then instead of;
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
instead of
sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
the -w argument from what i read is supposed to apply it for all
users, and that is why you would use sudo. So if that doesn't work,
applying the top command should work.
cheerz
Error running an app on a Mac
Oops. typo;
sorry, cheerzNOTE: if using 'sudo' does not work, then use;
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
instead of
sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
Error running an app on a Mac
Hi All,
After two hours on Google, I plead for help:
* running Jordan's sudo launchctl command got rid of the dynamic session error,
so all I'm left with, after typing
$ wine setup.exe
(to run my program) is a long wait followed by :
err:process:__wine_kernel_init boot event wait timed out
after that -- just hangs...
Any more thoughts?
--Prahas
Macbook
OS X 10.6.8
2.2 GHz Intel Core 2 Duo
2 GB 667 MHz DDR2 SDRAM
After two hours on Google, I plead for help:
* running Jordan's sudo launchctl command got rid of the dynamic session error,
so all I'm left with, after typing
$ wine setup.exe
(to run my program) is a long wait followed by :
err:process:__wine_kernel_init boot event wait timed out
after that -- just hangs...
Any more thoughts?
--Prahas
Macbook
OS X 10.6.8
2.2 GHz Intel Core 2 Duo
2 GB 667 MHz DDR2 SDRAM
Error running an app on a Mac
Well, that is at lteast part of the problem, resolved* running Jordan's sudo launchctl command got rid of the dynamic session error,
so all I'm left with, after typing
Unfortunately, that error message is fairly generic and isn't very$ wine setup.exe
(to run my program) is a long wait followed by :
err:process:__wine_kernel_init boot event wait timed out
after that -- just hangs...
Any more thoughts?
telling. is that really all that is output??
Could you try running;
env WINEDEBUG=+all wine yourapp.exe
this should output debugging information verbosely. You could then
copy/paste the output to pastebin.com, and post what a link to it from
the list, as well as posting relavant chunks what looks like it might
be problematic, in the ouput.
also, have you looked at the Wine app database for your application,
to see if there are possibly any hints, as this problem could've
cropped up for other users of that app?
cheerz
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Re: Error running an app on a Mac
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.jordan wrote:Hey again,
I HIGHLY recommend using MacPorts and/or Fink to install Wine rather than 'rolling your own' for this reason.
James
Error running an app on a Mac
Hey, James.
someone sort out Mac-specific wine issues / at least the 'launchd
bit').... In the past i've used wine in OSX, but these days i only use
wine in Archlinux and mostly just for using VST plugins + the odd
other windows app.
Could you point user 'Prahas' - the original poster to some useful
info, that you think might be helpful?
cheerz
Ironically, i don't use Wine on my Mac. (ironic, because i am helpingFor 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.
someone sort out Mac-specific wine issues / at least the 'launchd
bit').... In the past i've used wine in OSX, but these days i only use
wine in Archlinux and mostly just for using VST plugins + the odd
other windows app.
Could you point user 'Prahas' - the original poster to some useful
info, that you think might be helpful?
cheerz
Re: Error running an app on a Mac
its DYLD_FALLBACK_LIBRARY_PATH and it needs to point to the X11 lib folder...jjmckenzie wrote: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.jordan wrote:Hey again,
I HIGHLY recommend using MacPorts and/or Fink to install Wine rather than 'rolling your own' for this reason.
James
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.
Re: Error running an app on a Mac
Hey guys,jordan wrote:Hey again,
Google is your friend, so try improving your googling skills beforeI promise I'll improve fast. ;-)
posting. ie: google search the error you are getting;
I've turned up a number of threads elsewhere, about similar issues.Dynamic session lookup supported but failed: launchd did not provide a
socket path, verify that org.freedesktop.dbus-session.plist is loaded!
err:process:__wine_kernel_init boot event wait timed out
I've onloy included a couple of them;
http://kzar.co.uk/blog/topic/mac - try this solution. you will need
to open a terminal to apply these commands.
http://old.nabble.com/Meld-fails-to-sta ... 18152.html
Launchd isn't providing the socket path, because by default it is
disabled. (that appears to be your problem, anyway).
NOTE: if /Library/LaunchDaemons/org.freedesktop.dbus-system.plist &&
/Library/LaunchAgents/org.freedesktop.dbus-session.plist do NOT exist
on your system, then you will probably need to build dbus using
macports (as it provides these files).
I believe this 'should' be installed though...
NOTE: if using 'sudo' does not work, then instead of;
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
instead of
sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
the -w argument from what i read is supposed to apply it for all
users, and that is why you would use sudo. So if that doesn't work,
applying the top command should work.
cheerz
I'm also trying to run my first Windows app on a Mac, but can't figure out what I'm doing. I've been googling and trying to figure this stuff out on my own for a little over a week, and I figure its time to just ask for help.
I'm running Mac OS X v10.6.8 and have been following this http://www.davidbaumgold.com/tutorials/wine-mac/ guide so far, but I'm having trouble with Part 4 - Installing Windows Programs Using Wine. I've downloaded Xcode 3.2.6, Macports, configured Macports, installed Wine using Macports (I couldn't find it anywhere on my computer, but the guide I'm following said if my terminal was ready for another command, that it was properly finished) and downloaded the .exe file that I need, but now I'm trying to download Dungeons & Dragons Online and I can't figure out what I'm doing wrong.
I've done this in both my Mac's terminal and in Xcode:
Open the terminal, enter $ cd downloads, then $ ls, then $ wine ddostandard.exe, but instead of installing the game, I get this message:
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Can someone please tell me what I'm doing wrong? If it helps, I'd be happy to take screenshots and show you exactly what I have and what folders they're in or whatever else would help, but I just don't think I'm ever going to be able to figure this out on my own.
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Error running an app on a Mac
On Wed, May 23, 2012 at 2:37 AM, Katy <[email protected]> wrote:
James
This has been discussed on the list before. Google for it.Can someone please tell me what I'm doing wrong? If it helps, I'd be happy to take screenshots and show you exactly what I have and what folders they're in or whatever else would help, but I just don't think I'm ever going to be able to figure this out on my own.
James
Re: Error running an app on a Mac
I've googled it and can't find anything, or if I am finding it, I don't recognize what I'm looking at and pass it up. I've NEVER used my terminal, Windows, Wine, Xcode, Macports or any of these devices before, and need some sort of Wine for Dummies manual.jjmckenzie wrote:On Wed, May 23, 2012 at 2:37 AM, Katy <[email protected]> wrote:This has been discussed on the list before. Google for it.Can someone please tell me what I'm doing wrong? If it helps, I'd be happy to take screenshots and show you exactly what I have and what folders they're in or whatever else would help, but I just don't think I'm ever going to be able to figure this out on my own.
James
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Error running an app on a Mac
On Wed, May 23, 2012 at 12:45 PM, doh123 <[email protected]> wrote:
Ryan's build script and he does not use it, but he also disables HAL
support.
James
Don't know. MacPorts seems to want to use it. I just looked atWhy is dbus even needed?
Ryan's build script and he does not use it, but he also disables HAL
support.
Correct. However Fink also uses dbus for some reason.This shouldn't be required on OSX
James
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.
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"
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"
I've had the most success on OSX by using the build script from google code:
Instructions are on that osxwinebuilder site. the script downloads everything needed, configures and builds it. It just works. You don't have to mess around with launchd at all.
That being said, I did that for wine 1.5.4 and it was wonderful, but I just tried it for 1.5.5 and the build is broken during SDL, not sure why. You can probably use the script with the --stable flag to build 1.4 though.
It just kind of worked when I did it. Don't forget to set a couple of ENV vars before trying to run wine:
Code: Select all
export DYLD_FALLBACK_LIBRARY_PATH="${HOME}/wine/wine-1.2.1/lib:/usr/X11/lib:/usr/lib"
export PATH="${HOME}/wine/wine-1.2.1/bin:${PATH}"
That being said, I did that for wine 1.5.4 and it was wonderful, but I just tried it for 1.5.5 and the build is broken during SDL, not sure why. You can probably use the script with the --stable flag to build 1.4 though.
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Error running an app on a Mac
On Sun, May 27, 2012 at 4:43 PM, Dewdman42 <[email protected]> wrote:
of the script. Please update.
James
James
Wine 1.2.1 is way outdated. Looks like you are using an old versionI've had the most success on OSX by using the build script from google code:
It just kind of worked when I did it. Don't forget to set a couple of ENV vars before trying to run wine:
Code:
export DYLD_FALLBACK_LIBRARY_PATH="${HOME}/wine/wine-1.2.1/lib:/usr/X11/lib:/usr/lib"
export PATH="${HOME}/wine/wine-1.2.1/bin:${PATH}"
of the script. Please update.
James
The 1.5.5 build worked just fine on my system. You may have to refresh SDL.
Instructions are on that osxwinebuilder site. the script downloads everything needed, configures and builds it. It just works. You don't have to mess around with launchd at all.
That being said, I did that for wine 1.5.4 and it was wonderful, but I just tried it for 1.5.5 and the build is broken during SDL, not sure why. You can probably use the script with the --stable flag to build 1.4 though.
James
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Error running an app on a Mac
On Tue, May 29, 2012 at 12:06 PM, Dewdman42 <[email protected]> wrote:
everything installed. I'm testing a new version of a program and
built 1.5.5 for this purpose.
James
This means re-install it. I just ran the script on Snow Leopard andno 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". ??
everything installed. I'm testing a new version of a program and
built 1.5.5 for this purpose.
James
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:
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: Select all
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