[plt-scheme] Install error: access from an uncertified context...

From: Michael Schuerig (michael at schuerig.de)
Date: Thu Mar 5 11:35:59 EST 2009

Installing PLT Scheme (i.e. make install) fails with the error message 
appended below when there are planet packages installed already. I've 
tried this with the current release, 4.1.4, and SVN trunk, the effect 
is the same in both cases.

Specifically, I've first removed any existing ~/.plt-scheme/planet 
directory, then installed PLT Scheme successfully, installed a few 
planet packages (see further below), then run make install a second 
time.

I don't understand how things work nearly well enough, to diagnose the 
cause of this problem. The only workaround I've found is to remove the 
planet cache an reinstall packages again after installing PLT Scheme.

make install is a somewhat time-consuming operation. AFAICT, make is 
only used to trigger some scheme code that ploughs ahead "blindly". 
Would it be possible for this code to take dependencies into account 
and only rebuild things that need it?

Michael


setup-plt: error: during making for 
<planet>/mflatt/scribble-paper.plt/2/0
setup-plt:   standard-module-name-resolver: collection not found: 
#<path:scribble/lp/lang> in any of: 
(#<path:/home/michael/.plt-scheme/4.1.4/collects> 
#<path:/tmp/plt/lib/plt/collects>)
setup-plt: error: during Building docs 
for /home/michael/.plt-scheme/planet/300/4.1.4/cache/mflatt/scribble-paper.plt/2/0/scribble.scrbl
setup-plt:   standard-module-name-resolver: collection not found: 
#<path:at-exp/lang> in any of: 
(#<path:/home/michael/.plt-scheme/4.1.4/collects> 
#<path:/tmp/plt/lib/plt/collects>)
setup-plt: error: during Building docs 
for /home/michael/.plt-scheme/planet/300/4.1.4/cache/cce/scheme.plt/1/3/manual.scrbl
setup-plt:   compile: access from an uncertified context to unexported 
variable from 
module: "/tmp/plt/lib/plt/collects/scheme/private/stxloc.ss" in: 
relocate
make[1]: *** [install-3m] Error 1
make[1]: Leaving directory `/tmp/build'
make: *** [install] Error 2


$ planet show
Normally-installed packages:
  cce   scheme.plt      1 3
  cobbe contract-utils.plt      3 0
  dherman       struct.plt      2 4
  dyoo  version-case.plt        1 8
  mflatt        scribble-paper.plt      2 0
  ryanc require.plt     1 3
  schematics    schemeunit.plt  2 11
  soegaard      galore.plt      4 1


-- 
Michael Schuerig
mailto:michael at schuerig.de
http://www.schuerig.de/michael/


Posted on the users mailing list.