When I try to build Jazz I get the following error:
% make
*** ERROR IN "kernel/syntax/header.scm"@190.3 -- Ill-formed special
form: macro-make-repl-context
failed
I downloaded jazz_stable from github and am running Gambit v4.4.1 on a
PowerPC Mac. Any Ideas?
BTW the URL for the github download on your website seems to be wrong;
there's a colon between github.com and jazzscheme, whereas I think it
should be a forward slash.
On Fri, Feb 27, 2009 at 3:59 PM, Paul Onions <wibbl...@mac.com> wrote:
> Hi,
> When I try to build Jazz I get the following error:
> % make > *** ERROR IN "kernel/syntax/header.scm"@190.3 -- Ill-formed special > form: macro-make-repl-context > failed
> I downloaded jazz_stable from github and am running Gambit v4.4.1 on a > PowerPC Mac. Any Ideas?
If this is what I think, it's a fixed bug. It was due to an incompatible change Marc Feely did to an internal Gambit function that Jazz uses. The fix didn't get pushed on stable yet. I will push it now.
I think you will be the first person building Jazz on a PowerPC. I would be very interested in knowing how it goes.
> BTW the URL for the github download on your website seems to be wrong; > there's a colon between github.com and jazzscheme, whereas I think it > should be a forward slash.
On what page exactly is that? I checked the http://www.jazzscheme.org/download.htm page and the link is correct: git:// github.com/jazzscheme/jazz_dev.git
On Feb 27, 9:38 pm, Guillaume Cartier <gcart...@jazzscheme.org> wrote:
> If this is what I think, it's a fixed bug. It was due to an incompatible
> change Marc Feely did to an internal Gambit function that Jazz uses. The fix
> didn't get pushed on stable yet. I will push it now.
> I think you will be the first person building Jazz on a PowerPC. I would be
> very interested in knowing how it goes.
Okay, but now I can't start up gsc in the jazz directory. I get:
JazzScheme needs Gambit version 404001 stamp 20090224172537 or higher
to build
See INSTALL for details on installing the latest version of Gambit
will have to investigate...
> > BTW the URL for the github download on your website seems to be wrong;
> > there's a colon between github.com and jazzscheme, whereas I think it
> > should be a forward slash.
On Fri, Feb 27, 2009 at 5:32 PM, Paul Onions <wibbl...@mac.com> wrote:
> On Feb 27, 9:38 pm, Guillaume Cartier <gcart...@jazzscheme.org> wrote: > > If this is what I think, it's a fixed bug. It was due to an incompatible > > change Marc Feely did to an internal Gambit function that Jazz uses. The > fix > > didn't get pushed on stable yet. I will push it now.
> > I think you will be the first person building Jazz on a PowerPC. I would > be > > very interested in knowing how it goes.
> Okay, but now I can't start up gsc in the jazz directory. I get:
> JazzScheme needs Gambit version 404001 stamp 20090224172537 or higher > to build > See INSTALL for details on installing the latest version of Gambit
> will have to investigate...
That's normal. What happened is that Marc Feeley did some incompatible changes to Gambit that broke Jazz *after* he released 404001. Because of that I updated the latest Jazz to force people to have that version of Gambit (that's the stamp 20090224172537). You simply need to go in your Gambit directory and update to the latest by pulling from the Gambit repo (make update).
> > > BTW the URL for the github download on your website seems to be wrong; > > > there's a colon between github.com and jazzscheme, whereas I think it > > > should be a forward slash.
> > On what page exactly is that? I checked thehttp:// > www.jazzscheme.org/download.htmpage and the link is correct: git:// > > github.com/jazzscheme/jazz_dev.git
On Feb 27, 10:53 pm, Guillaume Cartier <gcart...@jazzscheme.org>
wrote:
> That's normal. What happened is that Marc Feeley did some incompatible
> changes to Gambit that broke Jazz *after* he released 404001. Because of
> that I updated the latest Jazz to force people to have that version of
> Gambit (that's the stamp 20090224172537). You simply need to go in your
> Gambit directory and update to the latest by pulling from the Gambit repo
> (make update).
Yes, I thought as much. Okay Gambit is now rebuilt (but "make check"
fails on test 5, though haven't had chance to investigate that yet).
When I try to build Jazz I now get:
; compiling jazz/dialect/language/_language...cc1(94058) malloc: ***
mmap(size=569843712) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
cc1: out of memory allocating 569843480 bytes after a total of 0 bytes
*** ERROR IN jazz.compile-source -- C compilation or link failed while
compiling "/usr/local/jazz/lib/jazz/src/jazz/dialect/language/
_language.jazz"
*** ERROR IN jazz.make-product -- failed
failed
so I have a problem allocating that amount of memory, even though I
have about 1 Gig free according to Activity Monitor.
Is the size of memory allocated here related to my use of --enable-
single-host in the Gambit build process? Will experiment...
On Feb 28, 10:23 am, Paul Onions <wibbl...@mac.com> wrote:
> Is the size of memory allocated here related to my use of --enable-
> single-host in the Gambit build process? Will experiment...
Yes it does depend on that option. I've rebuilt Gambit without it and
now Jazz builds, but "make jedi" fails. I'm currently downloading the
latest version of Xquartz from macosforge to see if that helps. Will
let you know how I get on...
On Feb 28, 3:07 pm, Paul Onions <wibbl...@mac.com> wrote:
> On Feb 28, 10:23 am, Paul Onions <wibbl...@mac.com> wrote:
> > Is the size of memory allocated here related to my use of --enable-
> > single-host in the Gambit build process? Will experiment...
> Yes it does depend on that option. I've rebuilt Gambit without it and
> now Jazz builds, but "make jedi" fails. I'm currently downloading the
> latest version of Xquartz from macosforge to see if that helps. Will
> let you know how I get on...
No, didn't help. I get:
; compiling jazz/platform/carbon/clipboard...clipboard.c: In function
‘___H__20_clipboard_2e_o1_23_2’:
clipboard.c:442: error: ‘___hp’ undeclared (first use in this
function)
clipboard.c:442: error: (Each undeclared identifier is reported only
once
clipboard.c:442: error: for each function it appears in.)
*** ERROR IN jazz.compile-source -- C compilation or link failed while
compiling "/usr/local/jazz/lib/jazz/src/jazz/platform/carbon/
clipboard.jazz"
*** ERROR IN jazz.make-product -- failed
failed
Fixed. Thanks for spotting that one! It actually only occurs with
--enable-single-host turned off. We where wrongly using ___S32BOX to return
and int from C code instead of the correct ___FIX. Not sure what is the
purpose of ___S32BOX then (Marc?).
Guillaume
On Sat, Feb 28, 2009 at 11:24 AM, Paul Onions <wibbl...@mac.com> wrote:
> On Feb 28, 3:07 pm, Paul Onions <wibbl...@mac.com> wrote:
> > On Feb 28, 10:23 am, Paul Onions <wibbl...@mac.com> wrote:
> > > Is the size of memory allocated here related to my use of --enable-
> > > single-host in the Gambit build process? Will experiment...
> > Yes it does depend on that option. I've rebuilt Gambit without it and
> > now Jazz builds, but "make jedi" fails. I'm currently downloading the
> > latest version of Xquartz from macosforge to see if that helps. Will
> > let you know how I get on...
> No, didn't help. I get:
> ; compiling jazz/platform/carbon/clipboard...clipboard.c: In function
> ‘___H__20_clipboard_2e_o1_23_2’:
> clipboard.c:442: error: ‘___hp’ undeclared (first use in this
> function)
> clipboard.c:442: error: (Each undeclared identifier is reported only
> once
> clipboard.c:442: error: for each function it appears in.)
> *** ERROR IN jazz.compile-source -- C compilation or link failed while
> compiling "/usr/local/jazz/lib/jazz/src/jazz/platform/carbon/
> clipboard.jazz"
> *** ERROR IN jazz.make-product -- failed
> failed
> Fixed. Thanks for spotting that one! It actually only occurs with -- > enable-single-host turned off. We where wrongly using ___S32BOX to > return and int from C code instead of the correct ___FIX. Not sure > what is the purpose of ___S32BOX then (Marc?).
___FIX(n) works only for fixnum values (i.e. on a 32 bit machine, -2^29<=n<2^29). ___S32BOX(n) works for any signed 32 bit value, but for the larger values it may need to allocate a bignum.
On Mar 2, 10:28 pm, Guillaume Cartier <gcart...@jazzscheme.org> wrote:
> Fixed. Thanks for spotting that one! It actually only occurs with
> --enable-single-host turned off. We where wrongly using ___S32BOX to return
> and int from C code instead of the correct ___FIX. Not sure what is the
> purpose of ___S32BOX then (Marc?).
Thanks Guillaume. It's now built and running! I'm working my way
through the tutorial.