[Xquartz-dev] Tiger fixes in 1.4.2-apple24

Jeremy Huddleston jeremyhu at apple.com
Sat Nov 22 15:48:55 PST 2008


On Nov 22, 2008, at 14:56, Peter Dyballa wrote:

>
> Am 22.11.2008 um 02:31 schrieb Jeremy Huddleston:
>
>> Try using that when building xorg-server-1.4.2-apple24 to skip  
>> building all the GL stuff.

You need to get the latest git or apply this patch:

http://cgit.freedesktop.org/xorg/xserver/diff/?h=xorg-server-1.4-apple&id=2df934fc735c5be8951914ac83987a7021886328&id2=eb6f884d4fdf3d891dca3f5351549f4e6ac423f1

> I configured with:
>
> 	./configure --prefix=/usr/X11 --enable-maintainer-mode --with-mesa- 
> source=.../Mesa-7.0.4 --enable-builddocs --enable-xquartz --disable- 
> glx --disable-aiglx

If you have --disable-glx, you shouldn't have --with-mesa-source or  
need --disable-aiglx

> It still runs into

<snip>

Apply the patch mentioned above.

> and also into
>
> In file included from main.m:31:
> x-selection.h:36:35: error: X11/extensions/Xfixes.h: No such file or  
> directory
> .. /System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h
> ... /System/Library/Frameworks/AppKit.framework/Headers/ 
> AppKitDefines.h
> In file included from main.m:31:
> x-selection.h:101: error: parse error before  
> 'XFixesSelectionNotifyEvent'
> x-selection.h:102: fatal error: method definition not in  
> @implementation context
> compilation terminated.
>
> although I do have:
>
> -rw-r--r-- 1 pete admin 7307 22. Nov 14:52 /usr/X11/include/X11/ 
> extensions/Xfixes.h
> Obviously the Makefile or such is faulty – or am I supposed to have - 
> I/usr/X11/include among the CFLAGS or CPPFLAGS although I pass -- 
> prefix? After I added this element I simply re-configured and then I  
> simply re-compiled. Pbproxy's main.m did not make a problem again,  
> but:

Yeah, go ahead and just put -I/usr/X11/include in your CPPFLAGS for  
now... that should pick it up... or just do this:

cd /usr/include
sudo ln -s ../X11/include/X11

> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning prebinding  
> disabled because of undefined symbols
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> _bootstrap_strerror
> collect2: ld returned 1 exit status
> make[4]: *** [Xquartz] Error 1
>
> (one last Leopard function?) and later a lot of warnings about  
> multiple definitions of symbols. I'll make a new try, after a 'make  
> distclean', and remove the Fink content.

That should be fixed in git now.

--Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5708 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20081122/41a774e7/attachment.bin>


More information about the Xquartz-dev mailing list