Need help installing Net::SSLeay

test_tube_tonytest_tube_tony Dallas TX Member
edited December 2010 in Internet & Media
the instructions i've found for installing Net::SSLeay on a win32 platform are pretty poor. i have no experience with compiling except failure :scratch:. could anyone help? i have already installed a pre-compiled version openssl, and i also already have active perl installed and working.

Comments

  • KwitkoKwitko Sheriff of Banning (Retired) By the thing near the stuff Icrontian
    edited February 2005
    I'm assuming you already have Perl installed. Go to perl\bin, type PPM, then type Install modulename.

    It should pull down all the dependencies needed and automatically install the module.
  • test_tube_tonytest_tube_tony Dallas TX Member
    edited February 2005
    do i use the makefile.pl script or the tar? need more detail...
  • KwitkoKwitko Sheriff of Banning (Retired) By the thing near the stuff Icrontian
    edited February 2005
    PPM, which is the Windows equivalent of CPAN in Linux, should automatically download and install the modules. I don't have the Windows version of Perl, but I was under the impression PPM did the same thing.
  • test_tube_tonytest_tube_tony Dallas TX Member
    edited February 2005
    i tried several different things, and it alwasy comes up search returned no results. i know im putting in the path to the file correctly, but i dont even know what i'm supposed to point it to.
  • test_tube_tonytest_tube_tony Dallas TX Member
    edited February 2005
    :bawling:

    i'm still having issues. i figured out how to properly install this stuff, but i got another error. then i installed the cpan module, and got Net::SSLeay to start installing, then i got the same error that a flag for the compiler is invalid. all the relevent output is below...

    Net_SSLeay.pm-1.25/
    Net_SSLeay.pm-1.25/ptrcasttst.c
    Net_SSLeay.pm-1.25/MANIFEST
    Net_SSLeay.pm-1.25/RECIPE.Win32
    Net_SSLeay.pm-1.25/Changes
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/Makefile.PL
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/MANIFEST
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/test.pl
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/Handle.pm
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/Changes
    Net_SSLeay.pm-1.25/examples/
    Net_SSLeay.pm-1.25/examples/get_page.pl
    Net_SSLeay.pm-1.25/examples/bio.pl
    Net_SSLeay.pm-1.25/examples/tcpcat.pl
    Net_SSLeay.pm-1.25/examples/makecert.pl
    Net_SSLeay.pm-1.25/examples/cb-testi.pl
    Net_SSLeay.pm-1.25/examples/ephemeral.pl
    Net_SSLeay.pm-1.25/examples/tcpecho.pl
    Net_SSLeay.pm-1.25/examples/cli-cert.pl
    Net_SSLeay.pm-1.25/examples/bulk.pl
    Net_SSLeay.pm-1.25/examples/get_page_cert.pl
    Net_SSLeay.pm-1.25/examples/req.conf
    Net_SSLeay.pm-1.25/examples/sslecho.pl
    Net_SSLeay.pm-1.25/examples/https-proxy-snif.pl
    Net_SSLeay.pm-1.25/examples/ssl_diff.pl
    Net_SSLeay.pm-1.25/examples/passwd-cb.pl
    Net_SSLeay.pm-1.25/examples/sslcat.pl
    Net_SSLeay.pm-1.25/examples/get_authenticated_page.pl
    Net_SSLeay.pm-1.25/examples/ssl-inetd-serv.pl
    Net_SSLeay.pm-1.25/examples/minicli.pl
    Net_SSLeay.pm-1.25/examples/stdio_bulk.pl
    Net_SSLeay.pm-1.25/examples/callback.pl
    Net_SSLeay.pm-1.25/examples/server_key.pem
    Net_SSLeay.pm-1.25/SSLeay.pm
    Net_SSLeay.pm-1.25/.rnd
    Net_SSLeay.pm-1.25/README
    Net_SSLeay.pm-1.25/SSLeay.xs
    Net_SSLeay.pm-1.25/test.pl
    Net_SSLeay.pm-1.25/Makefile.PL
    Net_SSLeay.pm-1.25/QuickRef
    Net_SSLeay.pm-1.25/README.Win32
    Net_SSLeay.pm-1.25/ptrtstrun.pl
    Net_SSLeay.pm-1.25/Credits
    Net_SSLeay.pm-1.25/typemap

    CPAN.pm: Going to build S/SA/SAMPO/Net_SSLeay.pm-1.25.tar.gz

    Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
    I could not find your OpenSSL in `'
    Please provide OpenSSL-0.9.6j or
    OpenSSL-0.9.7b installation directory (get from
    http://www.openssl.org/ if you don't have it; please note that
    SSLeay is no longer supported, see README) (C-c to abort):
    c:\openssl
    You have OpenSSL-0.9.7e installed in c:\openssl
    'strings' is not recognized as an internal or external command,
    operable program or batch file.
    *** Could not figure out which C compiler was used to compile c:\openssl/bin/ope
    nssl.exe. It is essentiall that OpenSSL, perl, and Net::SSLeay are compiled with
    the same compiler and flags. Mixing and matching compilers is not supported. at
    Makefile.PL line 140, <STDIN> line 1.
    Checking if your kit is complete...
    Looks good
    Note (probably harmless): No library found for -lssl
    Note (probably harmless): No library found for -lcrypto
    Note (probably harmless): No library found for user32.lib
    Note (probably harmless): No library found for gdi32.lib
    Note (probably harmless): No library found for winspool.lib
    Note (probably harmless): No library found for comdlg32.lib
    Note (probably harmless): No library found for advapi32.lib
    Note (probably harmless): No library found for shell32.lib
    Note (probably harmless): No library found for ole32.lib
    Note (probably harmless): No library found for oleaut32.lib
    Note (probably harmless): No library found for netapi32.lib
    Note (probably harmless): No library found for uuid.lib
    Note (probably harmless): No library found for wsock32.lib
    Note (probably harmless): No library found for mpr.lib
    Note (probably harmless): No library found for winmm.lib
    Note (probably harmless): No library found for version.lib
    Note (probably harmless): No library found for odbc32.lib
    Note (probably harmless): No library found for odbccp32.lib
    Note (probably harmless): No library found for msvcrt.lib
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Net::SSLeay::Handle
    Writing Makefile for Net::SSLeay

    Microsoft (R) Program Maintenance Utility Version 1.50
    Copyright (c) Microsoft Corp 1988-94. All rights reserved.

    cp ptrtstrun.pl blib\lib\Net\ptrtstrun.pl
    cp SSLeay.pm blib\lib\Net\SSLeay.pm
    AutoSplitting blib\lib\Net\SSLeay.pm (blib\lib\auto\Net\SSLeay)
    blib\lib\Net\SSLeay.pm: some names are not unique when truncated to 8 characters
    :
    directory blib\lib\auto\Net\SSLeay:
    do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
    do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
    get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_htt
    p4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
    head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, he
    ad_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
    post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, po
    st_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
    put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_htt
    p4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
    ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
    ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
    tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
    tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
    cp Handle.pm ..\blib\lib\Net\SSLeay\Handle.pm
    C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\E
    xtUtils\typemap -typemap typemap SSLeay.xs > SSLeay.xsc && C:\Perl\bin\perl.exe
    -MExtUtils::Command -e mv SSLeay.xsc SSLeay.c
    cl -c -Ic:\openssl/include -Ic:\openssl/inc32 -I/usr/kerberos/include
    -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_F
    CRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D
    PERL_MSVCRT_READFIX -O -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" "-IC:\Perl\
    lib\CORE" -DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
    SSLeay.c
    c1 : warning C4349: /Gf is deprecated and will not be supported in future versio
    ns of Visual C++; remove /Gf or use /GF instead
    c:\Perl\lib\CORE\win32.h(61) : fatal error C1083: Cannot open include file: 'win
    dows.h': No such file or directory
    NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2'
    Stop.
    C:\WINNT\system32\nmake.EXE -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible

    cpan>

    how do i fix this little flag error?
  • edited November 2010
    :bawling:

    i'm still having issues. i figured out how to properly install this stuff, but i got another error. then i installed the cpan module, and got Net::SSLeay to start installing, then i got the same error that a flag for the compiler is invalid. all the relevent output is below...

    Net_SSLeay.pm-1.25/
    Net_SSLeay.pm-1.25/ptrcasttst.c
    Net_SSLeay.pm-1.25/MANIFEST
    Net_SSLeay.pm-1.25/RECIPE.Win32
    Net_SSLeay.pm-1.25/Changes
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/Makefile.PL
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/MANIFEST
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/test.pl
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/Handle.pm
    Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50/Changes
    Net_SSLeay.pm-1.25/examples/
    Net_SSLeay.pm-1.25/examples/get_page.pl
    Net_SSLeay.pm-1.25/examples/bio.pl
    Net_SSLeay.pm-1.25/examples/tcpcat.pl
    Net_SSLeay.pm-1.25/examples/makecert.pl
    Net_SSLeay.pm-1.25/examples/cb-testi.pl
    Net_SSLeay.pm-1.25/examples/ephemeral.pl
    Net_SSLeay.pm-1.25/examples/tcpecho.pl
    Net_SSLeay.pm-1.25/examples/cli-cert.pl
    Net_SSLeay.pm-1.25/examples/bulk.pl
    Net_SSLeay.pm-1.25/examples/get_page_cert.pl
    Net_SSLeay.pm-1.25/examples/req.conf
    Net_SSLeay.pm-1.25/examples/sslecho.pl
    Net_SSLeay.pm-1.25/examples/https-proxy-snif.pl
    Net_SSLeay.pm-1.25/examples/ssl_diff.pl
    Net_SSLeay.pm-1.25/examples/passwd-cb.pl
    Net_SSLeay.pm-1.25/examples/sslcat.pl
    Net_SSLeay.pm-1.25/examples/get_authenticated_page.pl
    Net_SSLeay.pm-1.25/examples/ssl-inetd-serv.pl
    Net_SSLeay.pm-1.25/examples/minicli.pl
    Net_SSLeay.pm-1.25/examples/stdio_bulk.pl
    Net_SSLeay.pm-1.25/examples/callback.pl
    Net_SSLeay.pm-1.25/examples/server_key.pem
    Net_SSLeay.pm-1.25/SSLeay.pm
    Net_SSLeay.pm-1.25/.rnd
    Net_SSLeay.pm-1.25/README
    Net_SSLeay.pm-1.25/SSLeay.xs
    Net_SSLeay.pm-1.25/test.pl
    Net_SSLeay.pm-1.25/Makefile.PL
    Net_SSLeay.pm-1.25/QuickRef
    Net_SSLeay.pm-1.25/README.Win32
    Net_SSLeay.pm-1.25/ptrtstrun.pl
    Net_SSLeay.pm-1.25/Credits
    Net_SSLeay.pm-1.25/typemap

    CPAN.pm: Going to build S/SA/SAMPO/Net_SSLeay.pm-1.25.tar.gz

    Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
    I could not find your OpenSSL in `'
    Please provide OpenSSL-0.9.6j or
    OpenSSL-0.9.7b installation directory (get from
    http://www.openssl.org/ if you don't have it; please note that
    SSLeay is no longer supported, see README) (C-c to abort):
    c:\openssl
    You have OpenSSL-0.9.7e installed in c:\openssl
    'strings' is not recognized as an internal or external command,
    operable program or batch file.
    *** Could not figure out which C compiler was used to compile c:\openssl/bin/ope
    nssl.exe. It is essentiall that OpenSSL, perl, and Net::SSLeay are compiled with
    the same compiler and flags. Mixing and matching compilers is not supported. at
    Makefile.PL line 140, <STDIN> line 1.
    Checking if your kit is complete...
    Looks good
    Note (probably harmless): No library found for -lssl
    Note (probably harmless): No library found for -lcrypto
    Note (probably harmless): No library found for user32.lib
    Note (probably harmless): No library found for gdi32.lib
    Note (probably harmless): No library found for winspool.lib
    Note (probably harmless): No library found for comdlg32.lib
    Note (probably harmless): No library found for advapi32.lib
    Note (probably harmless): No library found for shell32.lib
    Note (probably harmless): No library found for ole32.lib
    Note (probably harmless): No library found for oleaut32.lib
    Note (probably harmless): No library found for netapi32.lib
    Note (probably harmless): No library found for uuid.lib
    Note (probably harmless): No library found for wsock32.lib
    Note (probably harmless): No library found for mpr.lib
    Note (probably harmless): No library found for winmm.lib
    Note (probably harmless): No library found for version.lib
    Note (probably harmless): No library found for odbc32.lib
    Note (probably harmless): No library found for odbccp32.lib
    Note (probably harmless): No library found for msvcrt.lib
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Net::SSLeay::Handle
    Writing Makefile for Net::SSLeay

    Microsoft (R) Program Maintenance Utility Version 1.50
    Copyright (c) Microsoft Corp 1988-94. All rights reserved.

    cp ptrtstrun.pl blib\lib\Net\ptrtstrun.pl
    cp SSLeay.pm blib\lib\Net\SSLeay.pm
    AutoSplitting blib\lib\Net\SSLeay.pm (blib\lib\auto\Net\SSLeay)
    blib\lib\Net\SSLeay.pm: some names are not unique when truncated to 8 characters
    :
    directory blib\lib\auto\Net\SSLeay:
    do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
    do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
    get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_htt
    p4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
    head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, he
    ad_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
    post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, po
    st_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
    put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_htt
    p4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
    ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
    ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
    tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
    tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
    cp Handle.pm ..\blib\lib\Net\SSLeay\Handle.pm
    C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\E
    xtUtils\typemap -typemap typemap SSLeay.xs > SSLeay.xsc && C:\Perl\bin\perl.exe
    -MExtUtils::Command -e mv SSLeay.xsc SSLeay.c
    cl -c -Ic:\openssl/include -Ic:\openssl/inc32 -I/usr/kerberos/include
    -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_F
    CRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D
    PERL_MSVCRT_READFIX -O -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" "-IC:\Perl\
    lib\CORE" -DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
    SSLeay.c
    c1 : warning C4349: /Gf is deprecated and will not be supported in future versio
    ns of Visual C++; remove /Gf or use /GF instead
    c:\Perl\lib\CORE\win32.h(61) : fatal error C1083: Cannot open include file: 'win
    dows.h': No such file or directory
    NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2'
    Stop.
    C:\WINNT\system32\nmake.EXE -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible

    cpan>

    how do i fix this little flag error?

    I am facing the same issue. The error message informs that you need to have OpenSSL installed. ReadMe file says OpenSSL is not working with Win XP yet.I guess you might want to check out installing OpenSSL.
  • TushonTushon I'm scared, Coach Alexandria, VA Icrontian
    edited December 2010
    Necro thread is necro'd
Sign In or Register to comment.