On 2005-12-23 16:18, Stephen J. Turnbull wrote:
Please don't remove the mailing list from the addressee list.
Sorry but that and sorry for not being able to follow up on this issue
before now.
>> Mats, please post the output of "grep -i XFT
src/config.h".
Mats> % grep -i XFT src/config.h
Mats> #define EMACS_CONFIG_OPTIONS "'--with-site-prefixes=/opt/csw'
[omitted]firefox-1.5
Mats> /* Compile with support for Xft? */
Here's the problem:
Mats> /* #undef USE_XFT */
Mats> #define USE_XFT_MENUBARS 1
Mats> #define USE_XFT_TABS 1
Mats> #define USE_XFT_GAUGE 1
The only way I can see that this would happen is if configure failed
to detect necessary support (headers or libraries). configure is
supposed to die with a fatal error, but there is a bug in 21.5.24 that
allowed configure to continue without really complaining. This bug
has been fixed in CVS.
Can you update from CVS and try again? You may also want to check
config.log to see what (if anything) failed, and fix that before
retrying the build. I'm pretty sure that you'll find that something
isn't being found, maybe you need a --site-prefixes option or so.
OK, I updated from CVS today and did try to build it again but now it
bailed out at:
cc -c -v -g -I. -I/opt/as/xemacs/src/xemacs-21.5/lwlib/../src
-DHAVE_CONFIG_H -I/opt/csw/include/freetype2 -I/opt/csw/include
-I/usr/openwin/include lwlib-fonts.c
"/usr/openwin/include/X11/Xutil.h", line 117: syntax error before or at:
Bool
"/usr/openwin/include/X11/Xutil.h", line 120: syntax error before or at:
Pixmap
"/usr/openwin/include/X11/Xutil.h", line 123: syntax error before or at:
Pixmap
"/usr/openwin/include/X11/Xutil.h", line 161: syntax error before or at:
Atom
"/usr/openwin/include/X11/Xutil.h", line 170: syntax error before or at:
typedef
"/usr/openwin/include/X11/Xutil.h", line 177: syntax error before or at:
typedef
"/usr/openwin/include/X11/Xutil.h", line 183: syntax error before or at:
typedef
"/usr/openwin/include/X11/Xutil.h", line 206: syntax error before or at:
typedef
"/usr/openwin/include/X11/Xutil.h", line 207: syntax error before or at:
XPointer
"/usr/openwin/include/X11/Xutil.h", line 239: syntax error before or at:
typedef
"/usr/openwin/include/X11/Xutil.h", line 253: syntax error before or at:
typedef
"/usr/openwin/include/X11/Xutil.h", line 286: syntax error before or at:
typedef
"/usr/openwin/include/X11/Xutil.h", line 295: syntax error before or at:
VisualID
"/usr/openwin/include/X11/Xutil.h", line 332: syntax error before or at:
extern
"/usr/openwin/include/X11/Xutil.h", line 336: warning: syntax requires
";" after last struct/union member
"/opt/csw/include/X11/extensions/Xrender.h", line 44: zero-sized
struct/union
"/opt/csw/include/X11/extensions/Xrender.h", line 46: syntax error
before or at: typedef
"/opt/csw/include/X11/extensions/Xrender.h", line 50: syntax error
before or at: XRenderDirectFormat
...
+ a lot more of the same errors/warnings ending with:
"lwlib-fonts.c", line 84: warning: syntax requires ";" after last
struct/union member
"lwlib-fonts.c", line 108: zero-sized struct/union
"lwlib-fonts.c", line 110: warning: syntax requires ";" after last
struct/union member
"lwlib-fonts.c", line 111: zero-sized struct/union
"lwlib-fonts.c", line 115: warning: syntax requires ";" after last
struct/union member
cc: acomp failed for lwlib-fonts.c
gmake[1]: *** [lwlib-fonts.o] Error 2
gmake[1]: Leaving directory `/opt/as/xemacs/src/xemacs-21.5/lwlib'
gmake: *** [lwlib] Error 2
I've also fixed another bug, which prevented proper reporting of
Xft
support. If USE_XFT is defined, then the line
" - Compiling in support for Xft antialiased fonts (EXPERIMENTAL)."
should appear near the top of the window system report in Installation
(and at the end of the configure run). You can also make sure by
looking into src/config.h, if you like.
I see it in Installation and a grep in src/config.h gives:
#define EMACS_CONFIG_OPTIONS "'--with-site-prefixes=/opt/csw'
'--with-site-includes=/opt/csw/include/freetype2'
'--with-site-runtime-libraries=/opt/csw/lib /usr/lib /usr/dt/lib
/usr/openwin/lib' '--with-xft=emacs,menubars,tabs,gauges'
'--with-menubars=lucid' '--with-scrollbars=motif'
'--with-dialogs=motif'
'--with-widgets=motif' '--with-xpm' '--with-jpeg'
'--with-png'
'--with-tiff' '--with-pdump' '--with-mule'
'--with-package-path=/opt/as/xemacs/lib/site-packages:/opt/as/xemacs/lib/xemacs-packages'
'--prefix=/opt/as/xemacs/xemacs-21.5' 'CC=cc'"
/* Compile with support for Xft? */
#define USE_XFT 1
#define USE_XFT_MENUBARS 1
#define USE_XFT_TABS 1
#define USE_XFT_GAUGE 1
/MOL