[racket] Racket 5.92

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Mon Jan 27 08:23:57 EST 2014

Just checking:
  Do the installer  "Source + built packages source" from
http://racket-lang.org/download/ work?

/Jens Axel


2014-01-27 Eduardo Costa <edu500ac at gmail.com>:
> 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.
>
>
> Here are the compilation steps:
>
> ./configure --disable-futures --disable--places --prefix=/usr/local
> make
> make install
>
> 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.
>
> The next step is compiling the vim editor.  Here are the steps:
>
> ./configure  --enable-mzschemeinterp --prefix=/usr/local
>
> make
>
> These steps work flawlessly for racket 5.3.6, but produces the following
> errors for 5.92:
>
> usr/local/share/racket/collects"'   -o objects/window.o window.c
> c-mods mzscheme_base.c ++lib scheme/base
> make[1]: c-mods: Command not found
> make[1]: [mzscheme_base.c] Error 127 (ignored)
> 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
> if_mzsch.c:691:3: error: #error MzScheme >=4 must include mzscheme_base.c,
> for MinGW32 you need to define MZSCHEME_GENERATE_BASE=yes
> make[1]: ** [objects/if_mzsch.o] Erro 1
> make[1]: Leaving directory `/home/rosa/src/vim/src'
> make: ** [first] Error 2
> ~/src/vim$ ./configure --enable-pythoninterp --enable-mzschemeinterp
> --prefix=/usr/local
>
> I would appreciate if a member of this group could compile Vim for Racket
> 5.92 and tell me what my students did wrong.
>
> 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.
>
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>



-- 
--
Jens Axel Søgaard


Posted on the users mailing list.