<div dir="ltr"><div>My students are having a hard time with Racket 5.92. Libraries are not placed correctly, a lot of things do not compile any more, etc. A couple of example will show what I mean.<br><br><br></div><div>Here are the compilation steps:<br>
<br></div><div>./configure --disable-futures --disable--places --prefix=/usr/local<br></div><div>make<br></div><div>make install<br><br></div><div>After a long time, compilation ends without a single warning. From the shell, one can run racket without problem, but drracket complains about a missing gracket. After copying gracket to /usr/local/lib, everything works. I also made a copy of libmzgc.a and libracket3m.a to /usr/local/lib.<br>
<br></div><div>The next step is compiling the vim editor. Here are the steps:<br><br></div><div>./configure --enable-mzschemeinterp --prefix=/usr/local<br><br></div><div>make<br><br></div><div>These steps work flawlessly for racket 5.3.6, but produces the following errors for 5.92:<br>
<br>usr/local/share/racket/collects"' -o objects/window.o window.c<br>c-mods mzscheme_base.c ++lib scheme/base<br>make[1]: c-mods: Command not found<br>make[1]: [mzscheme_base.c] Error 127 (ignored)<br>gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DMZ_PRECISE_GC -I/usr/local/include/racket -DMZSCHEME_COLLECTS='"/usr/local/share/racket/collects"' -o objects/if_mzsch.o if_mzsch.c<br>
if_mzsch.c:691:3: error: #error MzScheme >=4 must include mzscheme_base.c, for MinGW32 you need to define MZSCHEME_GENERATE_BASE=yes<br>make[1]: ** [objects/if_mzsch.o] Erro 1<br>make[1]: Leaving directory `/home/rosa/src/vim/src'<br>
make: ** [first] Error 2<br>~/src/vim$ ./configure --enable-pythoninterp --enable-mzschemeinterp --prefix=/usr/local<br><br></div><div>I would appreciate if a member of this group could compile Vim for Racket 5.92 and tell me what my students did wrong.<br>
</div><div><br></div><div>By the way, following a suggestion of Matthew Flat, I also compiled Racket with the --enable-libs option, but it does not make any difference.<br><br></div></div>