#167: Cannot relocate source tree after compilation
---------------------+------------------------------------------------------
Reporter: szabgab | Type: bug
Status: new | Priority: normal
Milestone: | Component: none
Version: trunk | Severity: medium
Keywords: | Lang: perl6
Patch: | Platform: win32
---------------------+------------------------------------------------------
This might be highly related to the need to create an installable
parrot/rakudo.
I built Parrot and Rakudo on Windows (under portable strawberry), then I
renamed the source directory and parrot/rakudo started to complain that it
cannot find PCT.pbc
I checked out parrot to c:\dir, built it (actually twice, once with
'''mingw32-make''' and once with '''mingw32-make installable'''.
Then I built rakudo (it does not have an installable target)
{{{
\dir\parrot\parrot.exe \dir\parrot\languages\perl6\perl6.pbc -e "42.say"
}}}
worked well.
After renaming the directory to c:\dir\x running
{{{
\dir\x\parrot.exe \dir\x\languages\perl6\perl6.pbc -e "42.say"
}}}
generated an error
{{{
"load_bytecode" couldn't find file 'PCT.pbc'
current instr.: '' pc 0 (src\classes\Object.pir:20)
called from Sub 'parrot;Perl6;Comiler;main' pc -1 ((unknown file):-1)
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/167>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets