delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/20/19:19:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Envelope-To: <cygwin AT cygwin DOT com>
X-Virus-Status: Clean
Message-ID: <4883C7CB.2040507@mscha.org>
Date: Mon, 21 Jul 2008 01:18:35 +0200
From: Michael Schaap <cygwin DOT lists AT mscha DOT org>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: parrot-0.6.4-1 with parrot-perl6 and parrot-languages
References: <announce DOT 4881EB38 DOT 9080904 AT x-ray DOT at> <48821B9D DOT 9090801 AT mscha DOT org> <48824388 DOT 60407 AT x-ray DOT at> <48835B8D DOT 1020509 AT mscha DOT org>
In-Reply-To: <48835B8D.1020509@mscha.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 20-Jul-2008 17:36, Michael Schaap wrote:
> On 19-Jul-2008 21:42, Reini Urban wrote:
>> Michael Schaap schrieb:
>>> Is perl6 supposed to (somewhat) work, yet?
>>> I get:
>>> % perl6 -e 'say "Hello, World!"'
>>> "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)
>>>
>>> P6object does exist, in /usr/lib/parrot/library.
>>> If I cd to this directory first, I get:
>>> % cd /usr/lib/parrot/library; perl6 -e 'say "Hello, World!"'
>>> Null PMC access in get_string()
>>> current instr.: 'parrot;P6metaclass;add_parent' pc 119 
>>> (runtime/parrot/library/P6object.pir:137)
>>> called from Sub 'parrot;P6metaclass;add_parent' pc 241 
>>> (runtime/parrot/library/P6object.pir:215)
>>> called from Sub 'parrot;P6metaclass;register' pc 411 
>>> (runtime/parrot/library/P6object.pir:295)
>>> called from Sub 'parrot;Str;onload' pc 965 (src/gen_builtins.pir:619)
>>> called from Sub 'parrot;Perl6::Compiler;main' pc -1 ((unknown file):-1)
>>
>> Interesting.
>> Cannot reproduce this on both of my machines, with fresh installations.
>>
>> I'd like to blame Windows Longhorn/Vista (not yet supported!) Ver 6.0 
>> Build 6001 Service Pack 1
>> The cpu 'x86 Family 6 Model 23 Stepping 6, GenuineIntel'
>> looks fine to me.
> It's not Vista.
> I just installed Cygwin (base packages plus the three Parrot packages) 
> on a Virtual PC image¹, and it behaves identically.
>
> Do you perhaps have any environment variables set that I don't?  I 
> don't have any Perl or Parrot variables.
>
Hmm...  I see in /usr/share/doc/parrot-0.6.4/languages/perl6/README:

------------------------------8<------------------------------
If you want to create a binary executable of the compiler
that can be invoked as "perl6" from the command line, then
try "make perl6".  This will create a "perl6" (or "perl6.exe")
binary that can be directly used from the command line:

    $ ./perl6 hello.pl

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.
------------------------------>8------------------------------

... which sounds like a likely explanation.

 – Michael


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019