This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html Set by lizmat on 8 June 2022. |
|||
_elcaro_ | The OpenSSL lib also provides bindings to all the digests that openssl provides perl use OpenSSL::Digest::MD5 my $md5 = OpenSSL::Digest::MD5.new $md5.add("password123").hex # OUTPUT: 482c811da5d5b4bc6d497ffa98491e38 | 00:28 | |
._taa_. | I tried downloading OpenSSL::Digest, however, something went wrong 😦 zef install OpenSSL::Digest ===> Searching for: OpenSSL::Digest ===> Searching for missing dependencies: PathTools, JSON::Fast ===> Building: OpenSSL:ver<0.2.2>:auth<github:sergot> [OpenSSL] ===SORRY!=== Error while compiling | 09:32 | |
C:\Users\user\AppData\Local\Temp\.zef\1714555550.24864\OpenSSL%3Aver%3C0.2.2%3E%3Aauth%3Cgithub%3Asergot%3E.tar.gz\openssl-main\Build.rakumod [OpenSSL] Failed to open file | |||
C:\Users\user\AppData\Local\Temp\.zef\1714555550.24864\PathTools%3Aver%3C0.2.0%3E%3Aauth%3Cgithub%3Augexe%3E.tar.gz\Raku-PathTools-main\.precomp\A4EDF57CD455BD949E82516A078B78499417F7F4\95\9536DA79A6A6E91751DC0FB9841C36F546318564.repo-id.1ZW01GTNVLGG2HTHOZFXF6PE5.tmp: No such file or directory [OpenSSL] at | |||
C:\Users\user\AppData\Local\Temp\.zef\1714555550.24864\OpenSSL%3Aver%3C0.2.2%3E%3Aauth%3Cgithub%3Asergot%3E.tar.gz\openssl-main\Build.rakumod:1 | |||
[OpenSSL] Actually thrown at: [OpenSSL] in method throw at 'SETTING::'src/core.c/Exception.rakumod line 65 [OpenSSL] in method throw at 'SETTING::'src/core.c/Failure.rakumod line 65 [OpenSSL] in method sink at 'SETTING::'src/core.c/Failure.rakumod line 120 [OpenSSL] in method store-repo-id at 'SETTING::'src/core.c/CompUnit/PrecompilationStore/FileSystem.rakumod line 216 [OpenSSL] in method | |||
precompile at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 522 [OpenSSL] in method try-load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 60 [OpenSSL] in method need at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 116 [OpenSSL] in any statement_control at C:\Program Files\Rakudo\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1 [OpenSSL] in | |||
method load-source at 'SETTING::'src/core.c/CompUnit/Loader.rakumod line 22 [OpenSSL] in method load-source-file at 'SETTING::'src/core.c/CompUnit/Loader.rakumod line 8 [OpenSSL] in block at 'SETTING::'src/core.c/CompUnit/Repository/AbsolutePath.rakumod line 28 [OpenSSL] in method load at 'SETTING::'src/core.c/CompUnit/Repository/AbsolutePath.rakumod line 22 [OpenSSL] in method load at | |||
'SETTING::'src/core.c/CompUnit/Repository.rakumod line 28 [OpenSSL] in method load at 'SETTING::'src/core.c/CompUnit/Repository.rakumod line 28 [OpenSSL] in method load at 'SETTING::'src/core.c/CompUnit/Repository.rakumod line 28 [OpenSSL] in method load at 'SETTING::'src/core.c/CompUnit/Repository.rakumod line 28 [OpenSSL] in method load at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 169 | |||
[OpenSSL] in method load at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 169 [OpenSSL] in block <unit> at -e line 1 ===> Building [FAIL]: OpenSSL:ver<0.2.2>:auth<github:sergot> Aborting due to build failure: OpenSSL:ver<0.2.2>:auth<github:sergot> (use --force-build to override) | |||
What should I do? | |||
09:34
Guest1580 joined
09:48
vms14 left
09:52
vms14 joined,
Guest1580 left
|
|||
fwiw, I tried "zef install OpenSSL" on Ubuntu using VM, it works just fine | 10:02 | ||
ab5tract | ah, that one might not work on Windows | ||
10:30
deadmarshal_ left
10:47
vms14 left,
vms14_ joined
11:05
vms14_ is now known as vms14
11:37
deadmarshal_ joined
16:38
avuserow left,
avuserow joined
17:21
teatime joined
|
|||
rcmlz | This smells like is the „path too long“-Problem in windows. | 18:35 | |
maybe this helps: github.com/zero-overhead/App-Workf...ft-windows | 18:37 | ||
Here what MS explains … learn.microsoft.com/en-us/windows/...limitation | 18:51 | ||
Is says there also: „The application manifest must also include the longPathAware element.“ As I understand this, two things are required. 1. User opt-in for long paths. 2. Rakudo windows binary declares that it is longPathAware. I am not sure if 2. is given. | 18:57 | ||
Or you just use WSL or any decent Linux in a VM :-) | 18:58 | ||
ab5tract | I would have expected it to be failing because it doesn’t find an openssl.dll to load via NativeCall | 19:43 | |
Or whatever the shared library name for OpenSSL is | 19:44 | ||
19:47
vms14 left,
vms14 joined
|