Re: [perl #60098] [BUG] load_bytecode couldn't find file 'P6object.pbc'

2008-10-28 Thread Reini Urban
2008/10/27 Patrick R. Michaud [EMAIL PROTECTED]:
 On Sat, Oct 25, 2008 at 06:50:29AM -0700, François PERRAD via RT wrote:

 In fact, perl6.exe contains some dependencies on build tree.
 Just after a build, perl6.exe works :

 This is a known item -- see line 32 of languages/perl6/README:

This binary executable feature is still somewhat experimental,
and may not work on all platforms.  Also, the binary has hardcoded
paths to the Parrot build tree (especially the dynamic libraries
and modules), so removing the build tree will cause the binary
to stop working.

 We're not likely to do anything about this until Parrot
 installation is handled properly.  I couldn't find a unique
 ticket for that issue -- when we find or create such a ticket
 we should probably list this ticket as a dependency on that.

 In the meantime, I'm marking this ticket as stalled.

I would say, RT #56996 fhs-runtime solves that.
I'm still away from home, but will come back this weekend
and try to prepare the merge of my pdd30_install branch.

-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/


Re: [perl #60098] [BUG] load_bytecode couldn't find file 'P6object.pbc'

2008-10-27 Thread Patrick R. Michaud
On Sat, Oct 25, 2008 at 06:50:29AM -0700, François PERRAD via RT wrote:
 
 In fact, perl6.exe contains some dependencies on build tree.
 Just after a build, perl6.exe works :

This is a known item -- see line 32 of languages/perl6/README:

This binary executable feature is still somewhat experimental,
and may not work on all platforms.  Also, the binary has hardcoded
paths to the Parrot build tree (especially the dynamic libraries
and modules), so removing the build tree will cause the binary
to stop working.

We're not likely to do anything about this until Parrot
installation is handled properly.  I couldn't find a unique
ticket for that issue -- when we find or create such a ticket 
we should probably list this ticket as a dependency on that.

In the meantime, I'm marking this ticket as stalled.

Thanks!

Pm


Re: [perl #60098] [BUG] load_bytecode couldn't find file 'P6object.pbc'

2008-10-24 Thread jerry gay
On Fri, Oct 24, 2008 at 8:49 AM, via RT Canol Gökel
[EMAIL PROTECTED] wrote:
 # New Ticket Created by  Canol Gökel
 # Please include the string:  [perl #60098]
 # in the subject line of all future correspondence about this issue.
 # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60098 


 After doing the Windows installation via setup-parrot-0.8.0.exe I cannot run 
 the perl 6 compiler. When I do for example:

 perl6 example.pl

 It gives this error:

 load_bytecode couldn't find file 'P6object.pbc'
 current instr.: 'onload' pc 0 (src/gen_builtins.pir:28)
 called from Sub 'parrot;Perl6;Compiler;main' pc -1 ((unknown file):-1)

this seems to be a bug, perhaps in the code that generates the perl6
executable. in the meantime, you can remove perl6.exe (in the bin/
dir) and create perl6.cmd (same dir) with the following contents:

  @echo off
  rem adjust the path below to suit your environment
  set PARROT_ROOTDIR=c:\parrot-0.8.0
  %PARROT_ROOTDIR%\bin\parrot.exe %PARROT_ROOTDIR%\languages\perl6\perl6.pbc %*

~jerry