www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/06/09:40:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,TW_BG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-Envelope-To: <cygwin AT cygwin DOT com>
Message-ID: <4C84EF29.7070005@mscha.org>
Date: Mon, 06 Sep 2010 15:39:53 +0200
From: Michael Schaap <cygwin DOT lists AT mscha DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2
MIME-Version: 1.0
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Re: New: rakudo-star-201007-1, Updated: rakudo-201007_47-1 (aka perl6)
References: <4C79772B DOT 8080103 AT x-ray DOT at> <4C7E7BCA DOT 3030003 AT mscha DOT org> <AANLkTimackya=r6Qwcq0UX_MYcAXz6Ww3X9MrNuvtPEu AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTimackya=r6Qwcq0UX_MYcAXz6Ww3X9MrNuvtPEu@mail.gmail.com>
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 6-Sep-2010 13:04, Reini Urban wrote:
> 2010/9/1 Michael Schaap<cygwin DOT lists AT mscha DOT org>:
>> However, with rakudo-star 201007-1, rakudo_47-1 and parrot 2.6.0-1
>> installed:
>>
>> $ perl6 -e 'say "hello";'
>> hello
>>
>> $ perl6 -e 'sub hello() { say "hello"; }'
>> ===SORRY!===
>> No such file or directory
> Works for me, but it looks like a missing packaging dependency in the hint
>
> $ perl6 -e 'sub hello() { say "hello"; }'
>
> $ perl6 -e 'sub hello() { say "hello"; }; hello'
> hello
>
> Can you try
> $ ldd /usr/bin/perl6.exe
>          ntdll.dll =>  /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x76e80000)
>          kernel32.dll =>  /cygdrive/c/Windows/system32/kernel32.dll (0x754f0000)
>          KERNELBASE.dll =>  /cygdrive/c/Windows/system32/KERNELBASE.dll
> (0x751f0000)
>          cygwin1.dll =>  /usr/bin/cygwin1.dll (0x61000000)
>          ADVAPI32.DLL =>  /cygdrive/c/Windows/system32/ADVAPI32.DLL (0x75950000)
>          msvcrt.dll =>  /cygdrive/c/Windows/system32/msvcrt.dll (0x75d50000)
>          sechost.dll =>  /cygdrive/c/Windows/SYSTEM32/sechost.dll (0x75e90000)
>          RPCRT4.dll =>  /cygdrive/c/Windows/system32/RPCRT4.dll (0x756a0000)
>          cygparrot2_6_0.dll =>  /usr/bin/cygparrot2_6_0.dll (0x63340000)
>          cyggcc_s-1.dll =>  /usr/bin/cyggcc_s-1.dll (0x6bf40000)
>          cygssp-0.dll =>  /usr/bin/cygssp-0.dll (0x67280000)
>          cyggmp-3.dll =>  /usr/bin/cyggmp-3.dll (0x6d3a0000)
>          cygintl-8.dll =>  /usr/bin/cygintl-8.dll (0x6a350000)
>          cygiconv-2.dll =>  /usr/bin/cygiconv-2.dll (0x6c330000)
>          cygreadline7.dll =>  /usr/bin/cygreadline7.dll (0x68870000)
>          cygncurses-9.dll =>  /usr/bin/cygncurses-9.dll (0x68b60000)
>          USER32.dll =>  /cygdrive/c/Windows/system32/USER32.dll (0x75340000)
>          GDI32.dll =>  /cygdrive/c/Windows/system32/GDI32.dll (0x75e10000)
>          LPK.dll =>  /cygdrive/c/Windows/system32/LPK.dll (0x75e00000)
>          USP10.dll =>  /cygdrive/c/Windows/system32/USP10.dll (0x75eb0000)
>          cygicuuc38.dll =>  /usr/bin/cygicuuc38.dll (0x6b530000)
>          cygstdc++-6.dll =>  /usr/bin/cygstdc++-6.dll (0x6c480000)
>          cygicudata38.dll =>  /usr/bin/cygicudata38.dll (0x19a0000)
>          SspiCli.dll =>  /cygdrive/c/Windows/system32/SspiCli.dll (0x74ee0000)
>
Looks the same here. (That was to be expected, since perl6 -e 'say 
"hello";' works fine.)
> and report the missing dll.
> Or if it's dynamic maybe install parrot-devel.
Installing parrot-devel (and the following (direct and indirect) 
dependencies) worked indeed!

gmp (4.3.1-3)
GMP is a free library for arbitrary precision arithmetic
Required by: libgmp-devel

icu (3.8-7)
IBM Internationalization Components for Unicode (apps and docs)
Required by: libicu-devel

libgdbm-devel (1.8.3-20)
GNU dbm database routines (development)
Required by: parrot-devel

libgmp-devel (4.3.1-3)
Development library for GMP arbitrary precision arithmetic library
Required by: parrot-devel

libicu-devel (3.8-7)
IBM Internationalization Components for Unicode (development)
Required by: parrot-devel

libncurses-devel (5.7-18)
(devel) libraries for terminal handling
Required by: parrot-devel, readline

libpcre-devel (8.02-1)
Perl-Compatible Regular Expressions library (C development)
Required by: pcre-devel

pcre-devel (7.9-1)
Obsolete package
Required by: parrot-devel

readline (6.0.3-2)
GNU readline and history libraries
Required by: parrot-devel


> However I didn't saw any dynext missing.
>
> $ strace perl6 -e 'sub hello() { say "hello"; }; hello' 2>&1 |grep .dll \
>     >  /usr/src/perl/parrot/perl6.deps.strace
>
> # dynexts
> $ grep "src /usr/lib/parrot/2.6.0/dynext/"
> /usr/src/perl/parrot/perl6.deps.strace
> # vs
> $ zgrep dynext /etc/setup/rakudo.lst.gz
> # and
> $ zgrep dynext /etc/setup/parrot.lst.gz
>
> # and the rest
> $ grep .dll /usr/src/perl/parrot/perl6.deps.strace|grep -v dynext
>
> Dynamically loaded:
> /usr/bin/cygiconv-2.dll
> /usr/bin/cygintl-8.dll
It doesn't appear to be a .dll, I didn't see anything suspicious. (The 
dynext stuff was certainly complete.)

I did compare the before-and-after strace output, and the first 
significant difference is when it tries to load 
/usr/lib/parrot/2.6.0/include/except_types.pasm, which is indeed present 
in parrot-devel.

– Michael

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

- Raw text -


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