Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Infuriating Modules Dependency Question

by moritz (Cardinal)
on Aug 20, 2013 at 20:00 UTC ( #1050239=note: print w/ replies, xml ) Need Help??


in reply to Infuriating Modules Dependency Question

What am I doing wrong?

You aren't using the tools that make installing a module easy. It can be as simple as typing

cpan install REST::Client

in your shell. If you have trouble with it, please search perlmonks for the various questions and tutorials about module installation.


Comment on Re: Infuriating Modules Dependency Question
Download Code
Re^2: Infuriating Modules Dependency Question
by clegane (Novice) on Aug 20, 2013 at 20:31 UTC

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

Log In?
Username:
Password:

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

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

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








    Results (198 votes), past polls