Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Infuriating Modules Dependency Question

by clegane (Novice)
on Aug 20, 2013 at 20:31 UTC ( #1050243=note: print w/ replies, xml ) Need Help??


in reply to Re: Infuriating Modules Dependency Question
in thread Infuriating Modules Dependency Question

Thanks for the reply! Wow, I didn't realize that the cpan command could install packages automagically. Doh! Anyway, I ran 'install REST::Client' within the cpan terminal. That went fine. My script still failed as expected, complaining about SSLeay.pm missing. So I ran 'install Crypt::SSLeay' within cpan. It failed, giving me the error message below. Thoughts?

Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 The test suite can attempt to connect to public servers to ensure that + the code is working properly. If you are behind a strict firewall or have +no network connectivity, these tests may fail (through no fault of the co +de). Do you want to run the live tests (y/N)? [N] y Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lz Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Note (probably harmless): No library found for -lssl32 Note (probably harmless): No library found for -lssleay32 Note (probably harmless): No library found for -leay32 Note (probably harmless): No library found for -lkernel32 Note (probably harmless): No library found for -luser32 Note (probably harmless): No library found for -lgdi32 Note (probably harmless): No library found for -lwinspool Note (probably harmless): No library found for -lcomdlg32 Note (probably harmless): No library found for -ladvapi32 Note (probably harmless): No library found for -lshell32 Note (probably harmless): No library found for -lole32 Note (probably harmless): No library found for -loleaut32 Note (probably harmless): No library found for -lnetapi32 Note (probably harmless): No library found for -luuid Note (probably harmless): No library found for -lws2_32 Note (probably harmless): No library found for -lmpr Note (probably harmless): No library found for -lwinmm Note (probably harmless): No library found for -lversion Note (probably harmless): No library found for -lodbc32 Note (probably harmless): No library found for -lodbccp32 Note (probably harmless): No library found for -lcomctl32 Note (probably harmless): No library found for -lmsvcrt Writing Makefile for Crypt::SSLeay Writing MYMETA.yml and MYMETA.json cp lib/Crypt/SSLeay/X509.pm blib\lib\Crypt\SSLeay\X509.pm cp lib/Net/SSL.pm blib\lib\Net\SSL.pm cp SSLeay.pm blib\lib\Crypt\SSLeay.pm cp lib/Crypt/SSLeay/Conn.pm blib\lib\Crypt\SSLeay\Conn.pm cp lib/Crypt/SSLeay/CTX.pm blib\lib\Crypt\SSLeay\CTX.pm cp lib/Crypt/SSLeay/MainContext.pm blib\lib\Crypt\SSLeay\MainContext.p +m cp lib/Crypt/SSLeay/Err.pm blib\lib\Crypt\SSLeay\Err.pm C:\Perl64\bin\perl.exe C:\Perl64\lib\ExtUtils\xsubpp -typemap C:\Perl +64\lib\Ext Utils\typemap -typemap typemap SSLeay.xs > SSLeay.xsc && C:\Perl64\bi +n\perl.exe -MExtUtils::Command -e mv -- SSLeay.xsc SSLeay.c C:\Perl64\site\bin\gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -D +NO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DP +ERL_IMPLIC IT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict +-aliasing -mms-bitfields -O2 -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" + "-IC:\Per l64\lib\CORE" SSLeay.c SSLeay.xs:35:25: fatal error: openssl/ssl.h: No such file or directory compilation terminated. dmake.exe: Error code 129, while making 'SSLeay.o' NANIS/Crypt-SSLeay-0.64.tar.gz C:\Perl64\site\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: NANIS/Crypt-SSLeay-0.64.tar.gz : make NO


Comment on Re^2: Infuriating Modules Dependency Question
Download Code
Re^3: Infuriating Modules Dependency Question
by CountZero (Bishop) on Aug 20, 2013 at 20:56 UTC
    Did you read the documentation for Crypt::SSLeay?

    You must have OpenSSL installed before compiling this module. You can get the latest OpenSSL package from http://www.openssl.org/.
    Do you have OpenSSL installed?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics
      CountZero, thanks! I had not seen that. Can it be installed with cpan? This: 'cpan install Crypt::OpenSSL' doesn't seem to work. Sorry, I know I'm probably asking very basic questions.

        OpenSSL is not a perl package, so you cannot use cpan to install it. Just download it from the website, compile and install.

        This: 'cpan install Crypt::OpenSSL' doesn't seem to work

        Looks to me that you're using ActivePerl. There are ppm packages (only for 32-bit perls 5.6, 5.8, 5.10, 5.12, 5.14 and 5.16) at the bribes repo.
        If you have one of those perls, you can install Crypt::SSLeay by running:
        ppm install http://www.bribes.org/perl/ppm/Crypt-SSLeay.ppd
        Tonight I'll build ppm packages for Crypt::SSLeay for the "missing" architectures and put them on the sisyphusion repo.

        Update: Crypt::SSLeay ppm packages now added to the sisyphusion repo.

        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050243]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-07-11 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (220 votes), past polls