[Xquartz-dev] 2.3.2_beta3 on Tiger in X11R7.2
Jeremy Huddleston
jeremyhu at apple.com
Thu Nov 20 10:48:46 PST 2008
On Nov 20, 2008, at 09:16, Peter Dyballa wrote:
>
> Am 20.11.2008 um 16:01 schrieb Peter Dyballa:
>
>> There are also a lot more errors, like for example:
>>
>> x-selection.h:36:35: error: X11/extensions/Xfixes.h: No such file or
>> directory
>> x-selection.h:101: error: parse error before
>> 'XFixesSelectionNotifyEvent'
>> x-selection.h:102: fatal error: method definition not in
>> @implementation context
>>
>> (which I have in:
>>
>> ...sources/X11R7.2/lib/libXfixes/include/X11/extensions/Xfixes.h
>> /usr/X11R7.2/include/X11/extensions/Xfixes.h
>>
>> and although I have -I/usr/X11R7.2/include I'll add another -I/usr/
>> X11/include!)
>
> With this addition the failure went away ...
Nuke your /usr/X11R7.2 and just use /usr/X11 please... you should have
a symlink from /usr/X11R6 pointing to /usr/X11 for backwards
compatability...
>> There are also glapi.h and glapitable.h missing. 1.5.99.1 and
>> 1.3.99.0 have both files in xserver/glx resp. xserver/GL/mesa/glapi.
>> Could be it's my fault that I have Mesa 7.2 prepared (I can go back
>> to Mesa 7.0.2).
>
> These C header were found when I left away --disable-glx from from
> configure's invocation. Letting enabling happen automatically
> introduced new errors, that may come from the fact that I was
> compiling with Mesa 7.2.0:
<snip/>
> Could be Mesa again.
It is. The 1.4 server branch needs to be compiled with mesa-7.0 ...
See:
http://xquartz.macosforge.org/trac/wiki/DeveloperInfo#xserver
> The error in xserver/hw/xquartz/pbproxy/x-selection.m changed to:
>
> x-selection.m: In function '-[x_selection x_active:]':
> x-selection.m:360: error: nested functions are disabled, use -
> fnested-functions to re-enable
> x-selection.m:360: error: syntax error before 'changeCount'
> x-selection.m:361: error: 'NSInteger' undeclared (first use in this
> function)
> x-selection.m:361: error: (Each undeclared identifier is reported
> only once
> x-selection.m:361: error: for each function it appears in.)
> x-selection.m:371: error: 'countNow' undeclared (first use in this
> function)
> x-selection.m:373: error: 'changeCount' undeclared (first use in
> this function)
> x-selection.m: In function '-[x_selection handle_image:pasteboard:]':
Actually, try putting this in pbproxy.h:
#include <AvailabilityMacros.h>
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
#if __LP64__ || NS_BUILD_32_LIKE_64
typedef long NSInteger;
typedef unsigned long NSUInteger;
#else
typedef int NSInteger;
typedef unsigned int NSUInteger;
#endif
#endif
> x-selection.m:1228: warning: use '-fobjc-exceptions' to enable
> Objective-C exception syntax
> Multiple include guards may be useful for:
> /usr/include/assert.h
Hmm...
> The supposed non-Leopard errors are still the same. Later I'll retry
> with Mesa 7.0.2 – and NSInteger changed to a simple int? Or size_t?
> I still do not use --enable-integrated-xpbproxy, I am leaving it for
> later tries.
If you see '--enable-integrated-xpbproxy' as an option, you are not
using the latest sources. Make sure you update git.
-------------- 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/20081120/84765dc5/attachment.bin>
More information about the Xquartz-dev
mailing list