Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 79230
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: kes-kes [...] yandex.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: can not install Crypt::OpenSSL::Random
C:\cygwin\home\1\work\srs\script>cpan install Crypt::OpenSSL::Random CPAN: CPAN::SQLite loaded ok (v0.202) Database was generated on Sun, 26 Aug 2012 11:37:11 GMT Running install for module 'Crypt::OpenSSL::Random' Running make for I/IR/IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Compress::Zlib loaded ok (v2.055) Checksum for C:\strawberry\cpan\sources\authors\id\I\IR\IROBERTS\Crypt-OpenSSL-R andom-0.04.tar.gz ok CPAN: Archive::Tar loaded ok (v1.88) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN.pm: Building I/IR/IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Writing Makefile for Crypt::OpenSSL::Random Writing MYMETA.yml and MYMETA.json CPAN: Module::CoreList loaded ok (v2.70) cp Random.pm blib\lib\Crypt\OpenSSL\Random.pm AutoSplitting blib\lib\Crypt\OpenSSL\Random.pm (blib\lib\auto\Crypt\OpenSSL\Rand om) C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap Random.xs > Random.xsc && C:\strawberr y\perl\bin\perl.exe -MExtUtils::Command -e mv -- Random.xsc Random.c Please specify prototyping behavior for Random.xs (see perlxs manual) gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT - DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0. 04\" -DXS_VERSION=\"0.04\" "-IC:\strawberry\perl\lib\CORE" Random.c Running Mkbootstrap for Crypt::OpenSSL::Random () C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Random.bs C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Crypt::OpenSSL::Random\", 'DLBASE' => 'Random', 'D L_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def Random.def --output-exp dll.exp g++ -o blib\arch\auto\Crypt\OpenSSL\Random\Random.dll -Wl,--base-file -Wl,dll.ba se -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Random.o C :\strawberry\perl\lib\CORE\libperl516.a C:\strawberry\c\i686-w64-mingw32\lib\lib moldname.a C:\strawberry\c\i686-w64-mingw32\lib\libkernel32.a C:\strawberry\c\i6 86-w64-mingw32\lib\libuser32.a C:\strawberry\c\i686-w64-mingw32\lib\libgdi32.a C :\strawberry\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry\c\i686-w64-mingw 32\lib\libcomdlg32.a C:\strawberry\c\i686-w64-mingw32\lib\libadvapi32.a C:\straw berry\c\i686-w64-mingw32\lib\libshell32.a C:\strawberry\c\i686-w64-mingw32\lib\l ibole32.a C:\strawberry\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\i68 6-w64-mingw32\lib\libnetapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libuuid.a C :\strawberry\c\i686-w64-mingw32\lib\libws2_32.a C:\strawberry\c\i686-w64-mingw32 \lib\libmpr.a C:\strawberry\c\i686-w64-mingw32\lib\libwinmm.a C:\strawberry\c\i6 86-w64-mingw32\lib\libversion.a C:\strawberry\c\i686-w64-mingw32\lib\libodbc32.a C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\i686-w64-min gw32\lib\libcomctl32.a dll.exp Random.o:Random.c:(.text+0x5a): undefined reference to `RAND_status' Random.o:Random.c:(.text+0x10b): undefined reference to `RAND_egd' Random.o:Random.c:(.text+0x20f): undefined reference to `RAND_seed' Random.o:Random.c:(.text+0x23e): undefined reference to `RAND_status' Random.o:Random.c:(.text+0x33a): undefined reference to `RAND_bytes' Random.o:Random.c:(.text+0x49a): undefined reference to `RAND_bytes' collect2: ld returned 1 exit status dmake.exe: Error code 129, while making 'blib\arch\auto\Crypt\OpenSSL\Random\Ra ndom.dll' IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz C:\strawberry\c\bin\dmake.exe -- NOT OK CPAN: YAML::XS loaded ok (v0.38) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Stopping: 'install' failed for 'Crypt::OpenSSL::Random'.
Subject: Re: [rt.cpan.org #79230] can not install Crypt::OpenSSL::Random
Date: Sun, 26 Aug 2012 21:23:54 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Hi, it a known bug in Crypt::OpenSSL::Random, see: https://rt.cpan.org/Ticket/Display.html?id=56455 (you can also attach your supportive comment to this RT) Anyway you can used patched version from: http://strawberryperl.com/package/kmx/perl-modules-patched/Crypt-OpenSSL-Random-0.04_patched.tar.gz With strawberry perl you can simply run: c:\> pip <url_to_tarball> -- kmx
From: kes-kes [...] yandex.ru
Thank you