#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-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to