Package: racket
Version: 8.10+dfsg1-2
Severity: wishlist
Dear Maintainer,
We are updating the Debian package for SWIG (a generator of scripting
interfaces to C/C++ code), in order to include support for
MzScheme/Racket.
However, it does not work because the file mzdyn.o is needed and
cannot be found anywhere. Indeed, this file is mentioned in the Racket
documentation.[*]
The SWIG's configure script try to find the path for that file by
running this command:
mzscheme --eval '(begin (require dynext/link) (with-handlers (((lambda args
#t) (lambda args #f))) (for-each (lambda (x) (printf "~a" x))
(expand-for-link-variant (current-standard-link-libraries)))))'
which yields:
/usr/lib/racket/mzdyn.o
Subsequently, the activation of the MzScheme support fails because this
path does not exist.
I see that, in the source for the Debian package racket, there is a
file src/bc/dynsrc/mzdyn.c, that could be compiled into mzdyn.o and
installed in /usr/lib/racket/.
Do you think that this would be possible?
Best,
Rafael Laboissière
[*]
https://docs.racket-lang.org/inside/Writing_Racket_Extensions.html#(part._.C.G.C_.Extensions)