[plt-scheme] newbie installation problem on kubuntu edgy

From: Ronny (plt-scheme at develo.biz)
Date: Sat Apr 21 00:57:11 EDT 2007

Hi everyone, I have decided that learning Scheme is the right way to 
enlightenment, and after careful study found plt-scheme to be the one to 
try. Unfortunately I ran into trouble already before I could get it 
installed, and I would be very happy if someone could shed some light on 
the meaning of the error messages I got.
I first tried sudo apt-get install mzscheme drscheme, installed all 
dependent packages and checked the checkbox that showed up asking me if 
I want to start the web server. I received various error messages, the 
one that particularly bothered me was the one saying that drscheme 
depends on mzscheme, which was not properly configured (the actual 
message has disappeared from the end of the console buffer):

So I tried:
$ /etc/init.d/mzscheme start
Starting web server: mzserver ... start-stop-daemon: stat 
/usr/lib/plt/bin/mzscheme: No such file or directory (No such file or 
directory)
failed

Based on this, I tried reconfiguring it, with no luck, but then I 
figured that I might satisfy it by copying /usr/bin/mzscheme into the 
directory above, which gave me this result (together with the X errors 
below, which I don't understand but I know are not related to plt-scheme):

$ sudo dpkg-reconfigure mzscheme
/usr/sbin/dpkg-reconfigure: mzscheme is broken or not fully installed
DESTROY created new reference to dead object ' Qt::VBoxLayout' during 
global destruction.

After a bit of trouble I managed to get the packages removed, so I could 
start over:

$ sudo apt-get install mzscheme
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  drscheme slib
The following NEW packages will be installed:
  mzscheme
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/5070kB of archives.
After unpacking 25.4MB of additional disk space will be used.
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
DESTROY created new reference to dead object ' Qt::VBoxLayout', <> line 
1 during global destruction.
Preconfiguring packages ...
Selecting previously deselected package mzscheme.
(Reading database ... 122021 files and directories currently installed.)
Unpacking mzscheme (from .../mzscheme_1%3a352-1_i386.deb) ...
Setting up mzscheme (352-1) ...
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
Use of uninitialized value in join or string at 
/usr/share/perl5/Debconf/DbDriver/Stack.pm line 104, <GEN1> line 2.
Use of uninitialized value in substitution (s///) at 
/usr/share/perl5/Debconf/Format/822.pm line 83, <GEN6> line 1.
Use of uninitialized value in concatenation (.) or string at 
/usr/share/perl5/Debconf/Format/822.pm line 84, <GEN6> line 1.

Now I have to throw in the towel. I am not (yet) experienced enough with 
linux to solve this problem by myself, hence my mail to this list.
Any hint to get me in the right direction will be greatly appreciated!

Ronny.


Posted on the users mailing list.