[racket-dev] mzscheme executable broken when using --enable-shared
I tried a build with `--enable-shared' and the generated `mzscheme'
executable worked for me, so it's not just `--enable-shared' that
causes the problem.
If you run the `starter' executable in the Racket "lib" directory, do
you get an error like this?
lib/starter: this is an unconfigured starter
The `mzscheme' and `mred' executables are created by cloning and
configuring `starter', so something could be going wrong either in the
creation of `starter' or in copying and configuring it.
Thanks,
Matthew
At Fri, 15 Apr 2011 11:28:51 +0200, Marijn wrote:
> > On Fri, Apr 15, 2011 at 10:51, Marijn <hkBst at gentoo.org> wrote:
> >> On 04/13/11 14:15, Marijn wrote:
> >>> Hi,
> >>>
> >>> racket currently still installs a mzscheme executable that (on my
> >>> system) does this:
> >>>
> >>> $ mzscheme
> >>> read failed to read all 31 bytes from file /usr/bin/mzscheme
> >>> Aborted
> >>>
> >>> Marijn
> >>
> >> Does anyone know what this broken file is about or am I the only one
> >> seeing this?
>
> On 04/15/11 11:05, Pierpaolo Bernardi wrote:
> > See:
> http://docs.racket-lang.org/scheme/compat-exe.html?q=mzscheme#(idx._(gentag._0._
> (lib._scribblings/scheme/scheme..scrbl)))
> >
> > Or search "mzscheme" in the Help Desk. In windows, it works as advertised.
> >
> > Cheers
> > P.
>
> Okay, I see there that it is supposed to be equivalent to "racket -I
> scheme/init", but that command works fine.
>
> On 04/15/11 11:08, Eli Barzilay wrote:
> > Random guess -- maybe it's a result of using shared libraries? (Our
> > linux builds are not using that configuration.)
>
> Yes, I am building with --enable-shared. Both mzscheme and mred are
> broken with the same error, drscheme works fine.
>
> Marijn