[plt-scheme] drscheme fails at runtime (linux, plt-scheme-4.2.5)

From: Imran Rafique (imran at rafique.org)
Date: Wed May 19 17:57:52 EDT 2010

Mathew (thanks for responding, btw),

Xft seems to be enabled.
''configure --help' says that xft support is enabled by default, and I
didn't disable it manually (I only did --disable-shared)

$ pwd

$ grep -iC2 xft config.log
configure:10964: result: yes
configure:11241: checking for cairo_create in -lcairo
configure:11276: g++ -o conftest -O2 -march=x86-64 -pipe    -pthread
conftest.cpp -lcairo  -L/usr/lib64 -L/usr/X11R6/lib64  -lGL -lXrender -lXft
-lXrender -lfontconfig -lfreetype -lX11   -lcairo   -ldl -lm  -ldl -lm
-rdynamic >&5
configure:11282: $? = 0
configure:11300: result: yes
X_CFLAGS=' -I/usr/include/freetype2   -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  '
X_EXTRA_LIBS=' -lGL -lXrender -lXft -lXrender -lfontconfig -lfreetype -lX11
  -lcairo   -lpng -lz -ljpeg'
X_LIBS=' -L/usr/lib64 -L/usr/X11R6/lib64'

            Imran Rafique

On Wed, May 19, 2010 at 5:20 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> At Tue, 18 May 2010 15:35:01 -0700, Imran Rafique wrote:
> > The error msg is:
> > X Error of failed request:  BadValue (integer parameter out of range for
> > operation)
> >   Major opcode of failed request:  45 (X_OpenFont)
> >   Value in failed request:  0x5e0040b
> >   Serial number of failed request:  14804
> >   Current serial number in output stream:  14805
> >
> > [...]
> >
> > I'm guessing that there needs to be some post-install font configuration
> > that needs to be done (mkfontdir?), but I don't see plt-scheme trying to
> > install its own fonts anywhere (blindness on my part notwithstanding!).
> Does
> > plt-scheme install any of its own fonts for drscheme, or does it expect a
> > specific font to already be available on the local x server (in which
> case,
> > which one is it?).
> No, PLT Scheme doesn't install any fonts.
> There are two font modes: old-stle X11 fonts and Fontconfig/Xft fonts.
> The mode depends partly on the way that PLT Scheme is compiled (with Xf
> support or not) and partly on what's available from the X server at
> run-time.
> When you configure, does the configure script say that Xft support is
> enabled?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100519/1f099cb2/attachment.html>

Posted on the users mailing list.