[gambit-list] Problem building univ-lib for JS

Blake McBride blake at mcbride.name
Tue Feb 10 10:30:04 EST 2015


Would really appreciate some help with this.  I'd really like to document
and use the system but I am stuck.

Thanks.

Blake


On Thu, Feb 5, 2015 at 5:51 PM, Blake McBride <blake at mcbride.name> wrote:

> Greetings,
>
> I built the latest Gambit and pulled univ-lib.  The makefile in univ-lib
> first compiles ap.scm to app.js.  It then tries to run ap.js with d8.  Two
> things:
>
> 1.  Could we use node instead of d8?
>
> 2.  When I run it with node I get:
>
> /home/gambit.git/univ-lib/app.js:533
>   gambit_r1 = Gambit_js2scm(jsfn);
>               ^
> ReferenceError: Gambit_js2scm is not defined
>     at gambit_bb1__20_app (/home/blake/z/gambit.git/univ-lib/app.js:533:15)
>     at gambit_trampoline (/home/blake/z/gambit.git/univ-lib/app.js:333:10)
>     at Object.<anonymous> (/home/blake/z/gambit.git/univ-lib/app.js:778:1)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Function.Module.runMain (module.js:497:10)
>     at startup (node.js:119:16)
>     at node.js:929:3
>
>
> I can't find any definition for Gambit_js2scm().  Not sure what to do.
>
> Thanks.
>
> Blake McBride
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20150210/de2987ec/attachment.htm>


More information about the Gambit-list mailing list