X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <6910a60807202303p6bfe691el29d112033f9e01b8@mail.gmail.com> Date: Mon, 21 Jul 2008 08:03:31 +0200 From: "Reini Urban" To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: parrot-0.6.4-1 with parrot-perl6 and parrot-languages In-Reply-To: <4883C7CB.2040507@mscha.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48821B9D DOT 9090801 AT mscha DOT org> <48824388 DOT 60407 AT x-ray DOT at> <48835B8D DOT 1020509 AT mscha DOT org> <4883C7CB DOT 2040507 AT mscha DOT org> X-Google-Sender-Auth: be98b55d36de1db0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2008/7/21 Michael Schaap: > 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) > Hmm... I see in /usr/share/doc/parrot-0.6.4/languages/perl6/README: > 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. You are right. perl6 and all the similarlily generated parrot-languages binaries do not work. They have hardcoded paths to the builddir, which I thought I have fixed, but my fix only affected parrot itself not the dumped (with pbc_to_exe generated) languages executables. And my test did not include renaming the builddir. Best is to remove these two packages from the release dir until I fix it. I'm behind a strict firewall now, can someone do this for me? -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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/