mk_languages_shell.pl

Jonathan Leto jaleto at gmail.com
Mon May 10 20:59:09 UTC 2010


Howdy John,

Try running that script from a Subversion checkout of the Parrot
source. That script assumes it is being run from a dev checkout, so
when you run it from a release tarball or when it is installed, it
gets confused. This needs to be fixed.

Hope that helps,

Duke


On Mon, May 10, 2010 at 1:32 PM, Jay Emerson <jayemerson at gmail.com> wrote:
> I followed the directions in ch03_compiler_tools.pod.html (noting the
> change from tools/build to tools/dev).   I can do the following (test
> language ParR into directory parr):
>
> jay at jay-BEAST:/usr/local/lib/parrot/2.3.0/languages/parr$ more README
> Language 'ParR' was created with ../tools/dev/mk_language_shell.pl, r44549.
>
>    $ parrot setup.pir
>    $ parrot setup.pir test
>
> jay at jay-BEAST:/usr/local/lib/parrot/2.3.0/languages/parr$ parrot setup.pir
> Parrot revision r44549 required (currently r0)
> jay at jay-BEAST:/usr/local/lib/parrot/2.3.0/languages/parr$ parrot setup.pir test
> Parrot revision r44549 required (currently r0)
> jay at jay-BEAST:/usr/local/lib/parrot/2.3.0/languages/parr$ ls
> parr  PARROT_REVISION  parr.pir  README  setup.pir  src  t  test.parr
>
> Unfortunately, there is no makefile (and others seemed to have hit
> this roadblock previously).  I tried rerunning configure, make
> install-dev, etc... and nothing changed.  The closest I can to getting
> a hint was in the parrotblog,
> http://www.parrotblog.org/2008/03/targeting-parrot-vm.html, but even
> those guesses seemed dated.
>
> Could someone point me to any doc I may have missed?  I must say, the
> message about revisions, above, seems suspicious, and looking at
> setup.pir I would hazard a guess that something needed wasn't
> installed correctly, because surely the commands
>
>    .local pmc config
>    config = get_config()
>    $I0 = config['revision']
>
> are returning 0 when something greater than 44539 was expected?
> Thanks in advance, and apologies if I missed some step in the
> configure/install.  I'm happy to offer advice on the documentation, if
> some clarification would help.
>
> Jay
>
>
>
> --
> John W. Emerson (Jay)
> Associate Professor of Statistics
> Department of Statistics
> Yale University
> http://www.stat.yale.edu/~jay
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>



-- 
Jonathan "Duke" Leto
jonathan at leto.net
http://leto.net


More information about the parrot-dev mailing list