Re: [Xquartz-dev] 2.3.2_beta3 on Tiger in X11R7.2
Am 19.11.2008 um 21:09 schrieb Jeremy Huddleston:
http://xquartz.macosforge.org/trac/wiki/DeveloperInfo? version=17#MacPortsFinkGentooConflicts
I think I am following these descriptions and recommendations. Adding -I /usr/X11/share/aclocal as first element of ACLOCAL resolved the XTrans issue. One issue from the modular build is not solved by this: autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I /usr/X11/share/aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: `/usr/local/share/aclocal/libtool.m4' is serial 50, less than 52 in `aclocal.m4' Use `--force' to replace newer libtool files with this version. autoreconf: libtoolize failed with exit status: 1 ***** autogen.sh failed on xserver/ None of my my libtool.m4 files has a serial greater or equal to 52. Manually applying some force (autoreconf -fvi) helps, but modular build is not possible yet. I ran again into: X11Controller.m: In function '-[X11Controller install_window_menu:]': X11Controller.m:156: error: 'NSUInteger' undeclared (first use in this function) X11Controller.m:156: error: (Each undeclared identifier is reported only once X11Controller.m:156: error: for each function it appears in.) X11Controller.m:156: error: parse error before ']' token X11Controller.m:166: error: parse error before ']' token 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!) quartzAudio.c: In function 'QuartzAudioInit': quartzAudio.c:340: error: 'AudioDeviceIOProcID' undeclared (first use in this function) quartzAudio.c:340: error: (Each undeclared identifier is reported only once quartzAudio.c:340: error: for each function it appears in.) quartzAudio.c:340: error: parse error before 'sInputIOProcID' quartzAudio.c:341: warning: implicit declaration of function 'AudioDeviceCreateIOProcID' quartzAudio.c:341: warning: nested extern declaration of 'AudioDeviceCreateIOProcID' quartzAudio.c:341: error: 'sInputIOProcID' undeclared (first use in this function) quartzKeyboard.c: In function 'QuartzReadSystemKeymap': quartzKeyboard.c:859: error: 'currentKeyLayoutRef' undeclared (first use in this function) quartzKeyboard.c:859: error: (Each undeclared identifier is reported only once quartzKeyboard.c:859: error: for each function it appears in.) quartzKeyboard.c:715: warning: unused variable 'currentKeyLayoutDataRef' threadSafety.c:34:22: error: execinfo.h: No such file or directory stub.c: In function ‘set_x11_path’: stub.c:71: error: ‘kLSUnknownCreator’ undeclared (first use in this function) stub.c:71: error: (Each undeclared identifier is reported only once stub.c:71: error: for each function it appears in.) stub.c:112: error: ‘kLSApplicationNotFoundErr’ undeclared (first use in this function) So it looks to be merely a Leopard project ... 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). For the afternoon I'll start another compilation with the two fixes (NSUInteger and -I/usr/X11/include) -- Greetings Pete We also sponsor National Invisible Chronic Illness Awareness Week annually in September. Join the millions
On Nov 20, 2008, at 04:35, Peter Dyballa wrote:
Am 19.11.2008 um 21:09 schrieb Jeremy Huddleston:
http://xquartz.macosforge.org/trac/wiki/DeveloperInfo?version=17#MacPortsFin...
I think I am following these descriptions and recommendations. Adding -I /usr/X11/share/aclocal as first element of ACLOCAL resolved the XTrans issue. One issue from the modular build is not solved by this:
autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I /usr/X11/share/aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: `/usr/local/share/aclocal/libtool.m4' is serial 50, less than 52 in `aclocal.m4' Use `--force' to replace newer libtool files with this version. autoreconf: libtoolize failed with exit status: 1 ***** autogen.sh failed on xserver/
None of my my libtool.m4 files has a serial greater or equal to 52. Manually applying some force (autoreconf -fvi) helps, but modular build is not possible yet.
Yes, the one that you had in fink does... You were running Fink's libtoolize before. You should redo everything from scratch or just do a 'glibtoolize --force --copy'
I ran again into:
X11Controller.m: In function '-[X11Controller install_window_menu:]': X11Controller.m:156: error: 'NSUInteger' undeclared (first use in this function) X11Controller.m:156: error: (Each undeclared identifier is reported only once X11Controller.m:156: error: for each function it appears in.) X11Controller.m:156: error: parse error before ']' token X11Controller.m:166: error: parse error before ']' token
As I said, try changing those to size_t or unsigned.
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
You need to install xfixesproto first. I should add that to the dependencies in configure.ac ...
...sources/X11R7.2/lib/libXfixes/include/X11/extensions/Xfixes.h /usr/X11R7.2/include/X11/extensions/Xfixes.h
Oh, well it's installed then... just not getting picked up... BTW, don't use /usr/X11R7.2. Please just use /usr/X11
and although I have -I/usr/X11R7.2/include I'll add another -I/usr/ X11/include!)
quartzAudio.c: In function 'QuartzAudioInit': quartzAudio.c:340: error: 'AudioDeviceIOProcID' undeclared (first use in this function) quartzAudio.c:340: error: (Each undeclared identifier is reported only once quartzAudio.c:340: error: for each function it appears in.) quartzAudio.c:340: error: parse error before 'sInputIOProcID' quartzAudio.c:341: warning: implicit declaration of function 'AudioDeviceCreateIOProcID' quartzAudio.c:341: warning: nested extern declaration of 'AudioDeviceCreateIOProcID' quartzAudio.c:341: error: 'sInputIOProcID' undeclared (first use in this function)
Hmm... ok, I'll put in a conditional for that to use the old code path on Tiger...
quartzKeyboard.c: In function 'QuartzReadSystemKeymap': quartzKeyboard.c:859: error: 'currentKeyLayoutRef' undeclared (first use in this function) quartzKeyboard.c:859: error: (Each undeclared identifier is reported only once quartzKeyboard.c:859: error: for each function it appears in.) quartzKeyboard.c:715: warning: unused variable 'currentKeyLayoutDataRef'
Ok, thanks...
threadSafety.c:34:22: error: execinfo.h: No such file or directory
hmm...
stub.c: In function ‘set_x11_path’: stub.c:71: error: ‘kLSUnknownCreator’ undeclared (first use in this function) stub.c:71: error: (Each undeclared identifier is reported only once stub.c:71: error: for each function it appears in.) stub.c:112: error: ‘kLSApplicationNotFoundErr’ undeclared (first use in this function)
Yeah, that just won't work... we'll have to do something "special" for Tiger...
So it looks to be merely a Leopard project ...
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).
For the afternoon I'll start another compilation with the two fixes (NSUInteger and -I/usr/X11/include)
participants (2)
-
Jeremy Huddleston
-
Peter Dyballa