[plt-scheme] newbie installation problem on kubuntu edgy
On Sat, Apr 21, 2007 at 12:57:11PM +0800, Ronny wrote:
> 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!
>
I had problems installing mzscheme and drscheme in Debian etch just a
week or two ago (you don't mention which distro you're using, as far as
I could see ...)
To solve it, I had to *purge* (not just delete) drscheme and mzscheme,
then start over by first deleting slib. (this cost me gnucash, by the
way). Then I installed mzscheme, which worked, and then drscheme, and
then reinstalled slib and gnucash.
It's too bad etch got frozen with this bug still in it. It seems to ba
a bug in some sort of catalog/dependency file when the mzscheme was
created -- apparently it has to match something in slib or there's hell
to pay.
-- hendrik