Op 16 jun 2011, om 23:03 heeft Alexander Hansen het volgende geschreven: > So it definitely is looking at Xquartz even though it isn't supposed to, > and needs to be made not to do so. I'm not sure why wine is ignoring > the --x-includes and --x-libs settings from configure. > > Sjors: Do you have /opt/X11/bin/xmkmf ? If you do, then there might be > a simple workaround as well as a simple solution for the package.
Hi Alexander,
I have already removed Xquartz from most of my system. I tried restoring it,
and then Wine built, but the restored X configuration was unable to run any
applications by itself. Therefore, I've removed it again.
When Wine built with Xquartz half-installed, I compared the two build logs in
`diff`, and the first relevant difference is at:
> -checking for XEvent.xcookie... no
> +checking for XEvent.xcookie... yes
And 7000 lines later;
> gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/X11/include
> -D__WINESRC__ [...] -I//sw/lib/system-openssl/include -g -O2 -o event.o
> event.c
> -In file included from event.c:45:
> -../../include/windef.h:207: error: conflicting types for 'BOOL'
> -[...]
> -### execution of /var/tmp/tmp.2.vYwAeU failed, exit code 2
> +gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/X11/include
> -D__WINESRC__ [...] -I//sw/lib/system-openssl/include -g -O2 -o graphics.o
> graphics.c
So suddenly, XEvent.xcookie is found, and Wine builds again. However, starting
Wine gives me a bunch of errors regarding shared libraries in /opt/X11 that
couldn't be found, because I removed them. I'm now rebuilding wine again
without Xquartz installed, to see if that helps.
A lot of Fink FAQ entries are, by the way, outdated in regards to X11. They
should be updated to no longer recommend XQuartz...
---- Less relevant Wine bug discussion below this point -----
> In addition, there is a missing dependency:
> <Sjors>
>
> checking gettext-po.h usability... no
>
> checking gettext-po.h presence... no
>
> checking for gettext-po.h... no
This is true, I don't have this file on my system (at least not where Fink will
use it).
> Which appears to get linked by:
>
> /sw32/bin/wmc:
> libgettextpo2-shlibs: /sw32/lib/libgettextpo.0.dylib
> <SYSTEM>: /usr/lib/libSystem.B.dylib
> <SYSTEM>: @executable_path/../lib/libwine.1.dylib
>
> /sw32/bin/wrc:
> libgettextpo2-shlibs: /sw32/lib/libgettextpo.0.dylib
> <SYSTEM>: /usr/lib/libSystem.B.dylib
> <SYSTEM>: @executable_path/../lib/libwine.1.dylib
Apparantly this dependency has been notably missing from my Wine installs for
longer:
sjors@smbp:/usr$ dpkg -S bin/wmc
wine: /sw/bin/wmc
sjors@smbp:/usr$ otool -L /sw/bin/wmc
/sw/bin/wmc:
@executable_path/../lib/libwine.1.dylib (compatibility version 1.0.0,
current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.10)
My wine is built without gettextpo. In Fink, libgettextpo2-shlibs is installed,
but libgettextpo2-dev isn't. Indeed, as you say, all packages should build
alike, so either wine should build --without-libgettextpo, or it should be
added as a dependency.
Now that we're talking about the Wine package anyway, Damian, is there any
reason you specifically list --disable-win16 in your Wine package? It makes
Wine unable to run DOS/win16 games, which is a pity - but I haven't tried if
Wine builds or works with win16 support enabled, so that might be the reason ;-)
Sjors
PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
