Ticket #167 (closed bug: fixed)
Cannot relocate source tree after compilation
Reported by: | szabgab | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | install | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | Language: | perl6 | |
Patch status: | Platform: | win32 |
Description
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)
Change History
Note: See
TracTickets for help on using
tickets.