Stephen J. Turnbull wrote:
Rodney Sparapani writes:
> Aha! I'm not sure who to blame here. But, <X11/Xutil.h> says
> /* You must include <X11/Xlib.h> before including this file */
> However, Xrender.h doesn't do that. Now, why doesn't <X11/Xutil.h>
> just include <X11/Xlib.h> and be done with it, I don't know.
Neither does Gentoo Linux, I guess. My copy of Xutil.h has both that
comment *and* a #include <X11/Xlib.h>. :-)
> I guess we have another fine addition to the PROBLEMS file for Solaris.
Have you gotten a build yet? I don't see any great harm in
#include'ing it somewhere (probably just before #include'ing
Xft.h). These headers are all #ifndef _XLIB_H_ etc.
I'll stick that in, probably tomorrow. Thanks for doing the digging!
Steve
Hi Steve:
Yes, I got a build by modifying Xrender.h. However, I'm having a problem,
but I suspect that has to do with my .Xdefaults? I just recently installed
Xft so I don't really know anything about it.
on:rsparapa:% xemacs-beta -q -no-site-file &
[1] 23073
don:rsparapa:% Unable to find any usable XFT font, even the defaults!
Fatal error (6).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Your version of XEmacs was distributed with a PROBLEMS file that may
describe
your crash, and with luck a workaround. Please check it first, but do report
the crash anyway.
Please report this bug by invoking M-x report-emacs-bug, or by selecting
`Send Bug Report' from the Help menu. If that won't work, send ordinary
email to `xemacs-beta(a)xemacs.org'. *MAKE SURE* to include this entire
output from this crash, especially including the Lisp backtrace, as well as
the XEmacs configuration from M-x describe-installation (or equivalently,
the file `Installation' in the top of the build tree).
*Please* try *hard* to obtain a C stack backtrace; without it, we are
unlikely
to be able to analyze the problem. Locate the core file produced as a result
of this crash (often called `core' or `core.<process-id>', and located in
the directory in which you started XEmacs or your home directory), and type
gdb /usr/local/bin/xemacs-beta core
then type `where' at the debugger prompt. No GDB on your system? You may
have DBX, or XDB, or SDB. (Ask your system administrator if you need help.)
If no core file was produced, enable them (often with `ulimit -c unlimited')
in case of future recurrance of the crash.
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
make-font-instance("-dt-interface user-bold-r-normal-l
sans-17-170-72-72-m-100-iso8859-1" #<x-device on
"markov.biostat.mcw.edu:0.0" 0x7b77b> t)
# bind (device name)
try-font-name("-dt-interface user-bold-r-normal-l
sans-17-170-72-72-m-100-iso8859-1" #<x-device on
"markov.biostat.mcw.edu:0.0" 0x7b77b>)
# bind (device font)
x-make-font-bold-core("-dt-interface user-bold-r-normal-l
sans-17-170-72-72-m-100-iso8859-1" #<x-device on
"markov.biostat.mcw.edu:0.0" 0x7b77b>)
# bind (device font)
x-make-font-bold("-dt-interface user-bold-r-normal-l
sans-17-170-72-72-m-100-iso8859-1" #<x-device on
"markov.biostat.mcw.edu:0.0" 0x7b77b>)
# bind (mapper G6859 G6858 devtype tag-set x G6857 ffpdev devtype-spec
prop inst-list locale)
frob-face-inst-list(global (((default x x-resource) . "-dt-interface
user-bold-r-normal-l sans-17-170-72-72-m-100-iso8859-1") ((default tty)
. "normal") ((default x) . "Monospace-12") ((default x) .
"Sazanami
Mincho-12")) font window-system)
# bind (thunk inst-list locale sp)
frob-locale(#<font-specifier global=(((default x x-resource) .
"-dt-interface user-bold-r-normal-l sans-17-170-72-72-m-100-iso8859-1")
((default tty) . "normal") ((default x) . "Monospace-12") ((default x)
.
"Sazanami Mincho-12")) fallback=#<font-specifier global=((x x-resource)
. "-dt-interface user-bold-r-normal-l
sans-17-170-72-72-m-100-iso8859-1") fallback=(((tty) . "normal") ((x) .
"Monospa
ce-12") ((x) . "Sazanami Mincho-12")) 0x2066> 0x14009> global
(((default
x x-res
ource) . "-dt-interface user-bold-r-normal-l
sans-17-170-72-72-m-100-iso8859-1")
((default tty) . "normal") ((default x) . "Monospace-12") ((default x)
.
"Sazan
ami Mincho-12")) (font . window-system))
# bind (ms-this-spec ms-specs ms-result ms-exact-p ms-tag-set ms-maparg
ms-loc
ale ms-func ms-specifier)
map-specifier(#<font-specifier global=(((default x x-resource) .
"-dt-interfac
e user-bold-r-normal-l sans-17-170-72-72-m-100-iso8859-1") ((default
tty) . "nor
mal") ((default x) . "Monospace-12") ((default x) . "Sazanami
Mincho-12")) fallb
ack=#<font-specifier global=((x x-resource) . "-dt-interface
user-bold-r-normal-
l sans-17-170-72-72-m-100-iso8859-1") fallback=(((tty) . "normal") ((x)
. "Monos
pace-12") ((x) . "Sazanami Mincho-12")) 0x2066> 0x14009> frob-locale
global (fon
t . window-system) nil nil)
# bind (locale)
map-over-locales(global)
# bind (do-something orig-instance check-differences domain
do-later-stages ff
pdev)
# (unwind-protect ...)
# bind (--letf-save--6854 --letf-bound--6855)
# (unwind-protect ...)
# bind (--letf-save--6850 --letf-bound--6851)
# (unwind-protect ...)
# bind (--letf-save--6846 --letf-bound--6847)
# (unwind-protect ...)
# bind (--letf-save--6842 --letf-bound--6843)
# (unwind-protect ...)
# bind (--letf-save--6838 --letf-bound--6839 standard-face-mapping
frob-mappin
g tty-props win-prop frobbed-face unfrobbed-face exact-p tag-set locale
face)
Face-frob-property(bold global nil nil default bold font (highlight)
(tty (lam
bda (x) t) x x-make-font-bold gtk gtk-make-font-bold mswindows
mswindows-make-fo
nt-bold msprinter mswindows-make-font-bold) (([default] . [bold])
([bold] . t) (
[italic] . [bold-italic]) ([bold-italic] . t)))
# bind (exact-p tags locale face)
make-face-bold(bold global)
# bind (Face-frob-property-device-considered-current device)
init-global-faces(#<x-device on "markov.biostat.mcw.edu:0.0" 0x7b77b>)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (unwind-protect ...)
# (unwind-protect ...)
make-device(x nil)
# bind (display)
make-x-device(nil)
init-x-win()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " §" [error-data data nil] 1)))
)
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
[1] + IOT instruction xemacs-beta -q -no-site-file
Rodney
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta