Ticket #167 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

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

in reply to: ↑ description ; follow-up: ↓ 2   Changed 6 years ago by jkeenan

Replying to szabgab:

Cross reference: Win32 installation issues are also being discussed in TT # 167: Install path on Win32.

in reply to: ↑ 1   Changed 6 years ago by jkeenan

Replying to jkeenan:

Should have read:

Cross reference: Win32 installation issues are also being discussed in TT # 166: Install path on Win32.

  Changed 5 years ago by jkeenan

  • component changed from none to install

  Changed 5 years ago by pmichaud

  • status changed from new to closed
  • resolution set to fixed

I suspect this ticket is no longer an issue; Rakudo now builds from an installed Parrot and has its own "make install" target that avoids the source relocation issues.

Closing ticket -- feel free to reopen a new one if it's still an issue.

Thanks!

Pm

Note: See TracTickets for help on using tickets.