Discussion:
[parrot-tickets] [Parrot] #488: Parrot::Interpreter - cannot load PCT.pbc - cannot find PCT/Grammar.pbc
Parrot
2009-03-24 09:37:40 UTC
Permalink
#488: Parrot::Interpreter - cannot load PCT.pbc - cannot find PCT/Grammar.pbc
---------------------+------------------------------------------------------
Reporter: szabgab | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: trunk
Severity: high | Keywords:
Lang: | Patch:
Platform: linux |
---------------------+------------------------------------------------------
Attached test script (to be placed in ext/Parrot-Embed/t)
works if I run it when standing in the parrot directory
{{{
perl -I ext/Parrot-Embed/blib/lib -I ext/Parrot-Embed/blib/arch ext
/Parrot-Embed/t/load_pct.t
}}}

but when any other directory (e.g. in ext/Parrot-Embed)
then the call
{{{
perl -Iblib/lib -Iblib/arch t/load_pct.t
}}}
fails with
{{{
"load_bytecode" couldn't find file 'PCT/Grammar.pbc'
current instr.: 'parrot;PCT;__onload' pc 0 (PCT.pir:15)
called from Sub 'mypct' pc 0 (EVAL_1:2)
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/488>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
Parrot
2011-02-19 20:50:39 UTC
Permalink
#488: Parrot::Interpreter - cannot load PCT.pbc - cannot find PCT/Grammar.pbc
--------------------------+-------------------------------------------------
Reporter: szabgab | Owner: whiteknight
Type: bug | Status: new
Priority: normal | Milestone:
Component: embed/extend | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: linux |
--------------------------+-------------------------------------------------
Changes (by jkeenan):

* cc: jkeenan (added)
* owner: => whiteknight
* component: none => embed/extend
* severity: high => medium


Comment:

szabgab,

I have tried to reproduce your test failure, but I don't get very far. I
don't see these directories: ''ext/Parrot-Embed/blib/lib ext/Parrot-
Embed/blib/arch'' ... even after I've built ''./parrot''. In fact, I
don't know how to run any of the tests in ''ext/Parrot-Embed/t/''.

Can you update/advise?

Thank you very much.

kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/488#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
Parrot
2011-10-24 14:59:07 UTC
Permalink
#488: Parrot::Interpreter - cannot load PCT.pbc - cannot find PCT/Grammar.pbc
--------------------------+-------------------------------------------------
Reporter: szabgab | Owner: whiteknight
Type: bug | Status: closed
Priority: normal | Milestone:
Component: embed/extend | Version: trunk
Severity: medium | Resolution: invalid
Keywords: | Lang:
Patch: | Platform: linux
--------------------------+-------------------------------------------------
Changes (by whiteknight):

* status: new => closed
* resolution: => invalid


Comment:

Parrot::Embed is gone from the repo now. Last I heard, it was completely
broken and would need a complete ground-up rewrite if we want that kind of
functionality around still.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/488#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
Parrot
2011-10-24 15:04:26 UTC
Permalink
#488: Parrot::Interpreter - cannot load PCT.pbc - cannot find PCT/Grammar.pbc
--------------------------+-------------------------------------------------
Reporter: szabgab | Owner: whiteknight
Type: bug | Status: closed
Priority: normal | Milestone:
Component: embed/extend | Version: trunk
Severity: medium | Resolution: invalid
Keywords: | Lang:
Patch: | Platform: linux
--------------------------+-------------------------------------------------

Comment(by benabik):

This issue has been linked to the big "Parrot::Embed is broken" ticket on
github: https://github.com/parrot/parrot-embed/issues/1

Please add notes to that ticket or open a new one in that repository with
any further information.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/488#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
Loading...