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)


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)

and report the missing dll.
Or if it's dynamic maybe install 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

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

--
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]