[plt-scheme] Problems using MrEd in v299.400

From: Emilio Lopes (eclig at gmx.net)
Date: Sun Oct 16 11:02:55 EDT 2005

Hi,

I'm having trouble using MrEd from v299.400 on Debian GNU/Linux 3.1.

Compilation (I'm installing from the sources) and installation went
smooth and also mzscheme works fine.  But when trying to use graphical
programs I get the following error message:

   ~% /usr/local/stow/plt-scheme-299.400/bin/mred
   X Error of failed request:  BadPixmap (invalid Pixmap parameter)
     Major opcode of failed request:  55 (X_CreateGC)
     Resource id in failed request:  0xc0007e
     Serial number of failed request:  438
     Current serial number in output stream:  449
   [Last command exited with status 1]

Here are the contents of lib/buildinfo:

   CC=gcc
   CFLAGS=-g -O2   -Wall
   OPTIONS=
   MZOPTIONS=
   LDFLAGS=
   LIBS=-ldl -lm  -rdynamic
   CXX=g++
   CXXFLAGS=-g -O2   -Wall
   MROPTIONS= -DOPERATOR_NEW_ARRAY -DUSE_GL -DWX_USE_XRENDER -DWX_USE_XFT -DWX_USE_LIBPNG -DWX_USE_LIBJPEG
   X_CFLAGS= -I/usr/X11R6/include -I/usr/include -I/usr/include/freetype2 -I/usr/X11R6/include
   X_LIB= -L/usr/X11R6/lib
   MRLIBS=-lSM -lICE -lXaw -lXmu -lXt -lX11 -lXext  -lGL -lXrender -lXft -lX11 -lfreetype -lz -lfontconfig -L/usr/X11R6/lib -lXren
   MRLDFLAGS=-L/usr/X11R6/lib

Here are the shared library dependencies of `mred':

   ~% ldd /usr/local/stow/plt-scheme-299.400/bin/mred
           libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40020000)
           libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40029000)
           libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0x40041000)
           libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4009c000)
           libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x400b2000)
           libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40103000)
           libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401ca000)
           libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x401d8000)
           libXrender.so.1 => /usr/lib/libXrender.so.1 (0x40248000)
           libXft.so.2 => /usr/lib/libXft.so.2 (0x40250000)
           libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40263000)
           libz.so.1 => /usr/lib/libz.so.1 (0x402d0000)
           libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x402e2000)
           libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40311000)
           libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40337000)
           libdl.so.2 => /lib/tls/libdl.so.2 (0x40355000)
           libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40358000)
           libm.so.6 => /lib/tls/libm.so.6 (0x40412000)
           libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40434000)
           libc.so.6 => /lib/tls/libc.so.6 (0x4043d000)
           /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
           libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40573000)
           libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40583000)
           libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40592000)

Am I missing something obvious?  Please let me know if you need more
information.

Thanks in advance for your help.

-- 
Emílio C. Lopes
Munich, Germany


Posted on the users mailing list.