[plt-scheme] newbie installation problem on kubuntu edgy

From: Ronny (plt-scheme at develo.biz)
Date: Sat Apr 21 22:45:30 EDT 2007

I installed it from the ubuntu repositories, using apt-get install 
drscheme mzscheme, as I *though* that was the easiest... Anyway, 
installing the version I downloaded from the path you mentioned worked 
fine. Thanks!

Thanks everyone for all your responses to my very simple problem :) I 
already have a good feeling about my choice of Scheme version. Hopefully 
when I will actually start programming I can repay the favors by helping 
other newbies :)

And I will consult a kubuntu forum on the X errors...

Ronny.

jos koot wrote:
> How did you download DrScheme? From 
> http://download.plt-scheme.org/drscheme/ you can find a self 
> installing script plus a two line instruction how to run the installer.
>  
> (((((lambda(x)((((((((x x)x)x)x)x)x)x)x))
>     (lambda(x)(lambda(y)(x(x y)))))
>    (lambda(x)(x)x))
>   (lambda()(printf "Greetings, Jos~n"))))
>
>     ----- Original Message -----
>     *From:* Ronny <mailto:plt-scheme at develo.biz>
>     *To:* plt-scheme at list.cs.brown.edu
>     <mailto:plt-scheme at list.cs.brown.edu>
>     *Sent:* Saturday, April 21, 2007 6:57 AM
>     *Subject:* [plt-scheme] newbie installation problem on kubuntu edgy
>
>     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.
>     _________________________________________________
>       For list-related administrative tasks:
>       http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070422/004478d0/attachment.html>

Posted on the users mailing list.