This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New: rakudo-star-201007-1, Updated: rakudo-201007_47-1 (aka perl6)


On 6-Sep-2010 13:04, Reini Urban wrote:
2010/9/1 Michael Schaap<cygwin.lists@mscha.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]