Subject: | Cannot install Crypt::OpenSSL::Random with Strawberry Perl |
Install of Crypt::OpenSSL::Random using CPAN fails under the latest release of Strawberry Perl version 5.8.9. The attached file has the details of what happened.
I'm running under Windows XP Pro SP3
I'm running under Windows XP Pro SP3
Subject: | log.txt |
cpan> install Crypt::OpenSSL::Random
Database was generated on Thu, 31 Dec 2009 02:09:46 GMT
Running install for module 'Crypt::OpenSSL::Random'
Running make for I/IR/IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\I\IR\IROBERTS\Crypt-OpenSSL-Random-0.04.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
..................................................................----------DONE
DEL(1/6): C:\strawberry\cpan\build\List-MoreUtils-0.22-OQbnz8
DEL(2/6): C:\strawberry\cpan\build\List-MoreUtils-0.22-OQbnz8.yml
DEL(3/6): C:\strawberry\cpan\build\Hook-LexWrap-0.22-YQrUzG
DEL(4/6): C:\strawberry\cpan\build\Hook-LexWrap-0.22-YQrUzG.yml
DEL(5/6): C:\strawberry\cpan\build\Test-SubCalls-1.09-yyo5V6
DEL(6/6): C:\strawberry\cpan\build\Test-SubCalls-1.09-yyo5V6.yml
CPAN.pm: Going to build 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
cp Random.pm blib\lib\Crypt\OpenSSL\Random.pm
AutoSplitting blib\lib\Crypt\OpenSSL\Random.pm (blib\lib\auto\Crypt\OpenSSL\Random)
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap Random.xs > Random.xsc && C:\strawberry\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 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -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', 'DL_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.base -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Random.o -Wl,--image-base,0x3d0c0000 C:\strawberry\perl\lib\CORE\libperl58.a C:\strawberry\c\lib\libmsvcrt.a C:\strawberry\c\lib\libmoldname.a C:\strawberry\c\lib\libkernel32.a C:\strawberry\c\lib\libuser32.a C:\strawberry\c\lib\libgdi32.a C:\strawberry\c\lib\libwinspool.a C:\strawberry\c\lib\libcomdlg32.a C:\strawberry\c\lib\libadvapi32.a C:\strawberry\c\lib\libshell32.a C:\strawberry\c\lib\libole32.a C:\strawberry\c\lib\liboleaut32.a C:\strawberry\c\lib\libnetapi32.a C:\strawberry\c\lib\libuuid.a C:\strawberry\c\lib\libws2_32.a C:\strawberry\c\lib\libmpr.a C:\strawberry\c\lib\libwinmm.a C:\strawberry\c\lib\libversion.a C:\strawberry\c\lib\libodbc32.a C:\strawberry\c\lib\libodbccp32.a dll.exp
Random.o:Random.c:(.text+0x141): undefined reference to `RAND_bytes'
Random.o:Random.c:(.text+0x301): undefined reference to `RAND_bytes'
Random.o:Random.c:(.text+0x4a6): undefined reference to `RAND_seed'
Random.o:Random.c:(.text+0x4c7): undefined reference to `RAND_status'
Random.o:Random.c:(.text+0x53c): undefined reference to `RAND_seed'
Random.o:Random.c:(.text+0x622): undefined reference to `RAND_egd'
Random.o:Random.c:(.text+0x6a9): undefined reference to `RAND_egd'
Random.o:Random.c:(.text+0x770): undefined reference to `RAND_status'
collect2: ld returned 1 exit status
dmake.EXE: Error code 129, while making 'blib\arch\auto\Crypt\OpenSSL\Random\Random.dll'
IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz
C:\strawberry\c\bin\dmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz : make NO