[racket] help with error messages when installing socket from Planet?

From: George Oliver (georgeolivergo at gmail.com)
Date: Thu Jul 22 02:59:44 EDT 2010

hi, I'm a beginner with Racket and ran into this when trying to install 
socket from within DrRacket:

#

Welcome to DrRacket, version 5.0 [3m].
Language: scheme; memory limit: 256 MB.
 > (require (planet vyzo/socket))
Error [CALL] 121 in _constants.c: Bad place for function call, starting 
tok is scheme_make_immutable_sized_byte_string.
Error [CALL] 120 in _constants.c: Bad place for function call, starting 
tok is scheme_make_immutable_sized_byte_string.
Error [CALL] 118 in _constants.c: Bad place for function call, starting 
tok is scheme_make_immutable_sized_byte_string.
Error [CALL] 117 in _constants.c: Bad place for function call, starting 
tok is scheme_make_immutable_sized_byte_string.
Error [CALL] 116 in _constants.c: Bad place for function call, starting 
tok is scheme_make_immutable_sized_byte_string.
Error [CALL] 25 in _constants.c: Bad place for function call, starting 
tok is scheme_intern_symbol.
make: failed to make C:\Documents and Settings\george\Application 
Data\Racket\planet\300\5.0\cache\vyzo\socket.plt\3\2\compiled\native\win32\i386\3m\_constants.c; 
xform: Errors converting
open-input-file: cannot open input file: "C:\Documents and 
Settings\george\Application 
Data\Racket\planet\300\5.0\cache\vyzo\socket.plt\3\2\_constants.rkt" 
(The system cannot find the file specified.; errno=2)
setup-plt: error: during Early Install for <planet>/vyzo\socket.plt\3\2 
(mzsocket)
setup-plt:   make: failed to make C:\Documents and 
Settings\george\Application 
Data\Racket\planet\300\5.0\cache\vyzo\socket.plt\3\2\compiled\native\win32\i386\3m\_constants.c; 
xform: Errors converting
setup-plt: error: during making for <planet>/vyzo\socket.plt\3\2 (mzsocket)
setup-plt:   open-input-file: cannot open input file: "C:\Documents and 
Settings\george\Application 
Data\Racket\planet\300\5.0\cache\vyzo\socket.plt\3\2\_constants.rkt" 
(The system cannot find the file specified.; errno=2)
open-input-file: cannot open input file: "C:\Documents and 
Settings\george\Application 
Data\Racket\planet\300\5.0\cache\vyzo\socket.plt\3\2\_constants.rkt" 
(The system cannot find the file specified.; errno=2)
 > (require (only socket/test run-tests))
. only: not a require sub-form in: (only socket/test run-tests)

#


I've read something on the list that said:

the problem was that *Planet* (or `raco setup') would drop
entries from "cache.rktd" when the corresponding package has "info.ss"
instead of "info.rkt". Of course, almost all *Planet* packages currently
use "info.ss"


And though socket does use an info.ss, I'm not sure if this is the 
problem here. Can anyone point me in the right direction?


thanks, George


Posted on the users mailing list.