[Wine] Re: gdi32.dll error
arcana666
wineforum-user at winehq.org
Tue Feb 24 20:27:41 CST 2009
Thanks to James' tip with the LD_LIBRARY_PATH, I just managed to compile a working version as well. I have MacPorts installed and no Fink.
I edited the configure script and at around line 17875 there's a code block that looks like this:
Code:
case $build_os in
cygwin*|mingw32*)
LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
;;
darwin*|macosx*)
;;
linux*|solaris*) if test -z "$LDRPATH_LOCAL"
then
LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
fi
;;
*)
LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
;;
esac
I commented out the darin / macosx line like this:
Code:
#darwin*|macosx*)
# ;;
Then from the command line I exported the paths to my libs like this:
Code:
export LD_LIBRARY_PATH=/opt/local/lib:/usr/lib:/usr/X11/lib
And then did the usual stuff:
Code:
./configure
make depend
make
More information about the wine-users
mailing list