[plt-scheme] DivaScheme on DrScheme 352.6 won't install (fwd)

From: Kyle Smith (airfoil at bellsouth.net)
Date: Tue Oct 31 09:16:07 EST 2006

On Mon, 23 Oct 2006, Robby Findler wrote:

> At a higher-level, did you consider distributing DivaScheme via PLaneT?
> It is designed to handle issues like this.

 >Yeah, I'm embarrassed to say that I had forgotten about PLaneT as a 
way to distribute a tool like this; I was still under the mistaken 
 >impression that PLaneT-distributed DrScheme extensions didn't work.  
I'll fix that in the next release.

Thanks for your reply, I finally figured out how to get DivaScheme 
installed, on my WinXP Pro box.   I thought I would post the solution in 
case anyone else should run into a similar problem.  To recap the 
original problem, on attempting to install DivaScheme from a downloaded 
.plt file the installer put the files in my: (build-path 
(find-system-path 'addon-dir) (version) "collects") -> 
#<path:C:\Documents and Settings\kyle\Application Data\PLT 
Scheme\352.6\collects> directory, which was fine, but when it went to 
compile the package it looked for the files in my: 
current-library-collection-paths -> (#<path:C:\Program\PLT\collects>) 
directory and failing to find the installed files, aborted the 
installation.   I tried adding my user path to the collects path, but 
the installer still could not find the files.  Then I tried moving the 
files from my user directory directly into my 
current-library-collection-paths directory, however, the installer, now 
finding the files complained about a conflict with a previous installation.

For a while I was resigned to waiting for the next release when it would 
be available on PlaneT.  Then, while researching tools for a unrelated 
project, I ran into a program called setup.ss in the Help Desk, located 
in collects\setup.  Reading the doc.txt file it looked like it might do 
the trick, since it's capable of recompiling your entire collects 
directory tree, or just a single package.

Solution:

1) Loaded setup.ss into definition window
2) (require setup) from interactive window
3) Restart DrScheme

Step 2 went much quicker than I thought, since I had not specified the 
-l option to select a particular package to refresh.  Mainly because I 
don't use the command line version of mzscheme, so I wasn't sure I even 
had the option from DrScheme to specify a command line argument.

At any rate, DivaScheme came right up when I pressed F4,  so problem 
solved.  Hope this helps anyone who may run into a similar hitch in 
installation.

--kyle

Kyle Smith
airfoil at bellsouth.net





Posted on the users mailing list.