Parrot
2009-03-24 09:37:40 UTC
#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)
}}}
---------------------+------------------------------------------------------
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
Ticket URL: <https://trac.parrot.org/parrot/ticket/488>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development