Failed to install Net::SSLeay Perl module

Discussion in 'Apache' started by Nestrer, Jan 18, 2007.

  1. #1
    I have not deal with SSH before.

    Below is what I do in SSH with all default Enter:

    [root@server ~]# perl -MCPAN -e shell
    CPAN: File::HomeDir loaded ok
    Sorry, we have to rerun the configuration dialog for CPAN.pm due to
    the following indispensable but missing parameters:

    mbuild_arg, mbuild_install_arg, mbuild_install_build_command, mbuildpl_arg


    The next questions deal with Module::Build support.

    A Build.PL is run by perl in a separate process. Likewise we run
    './Build' and './Build install' in separate processes. If you have any
    parameters you want to pass to the calls, please specify them here.

    Parameters for the 'perl Build.PL' command?
    Typical frequently used settings:

    --install_base /home/xxx # different installation directory

    Your choice: []
    Parameters for the './Build' command?
    Setting might be:

    --extra_linker_flags -L/usr/foo/lib # non-standard library location

    Your choice: []
    Do you want to use a different command for './Build install'?
    Sudo users will probably prefer:

    su root -c ./Build
    or
    sudo ./Build
    or
    /path1/to/sudo -u admin_account ./Build

    or some such. Your choice: [./Build]
    Parameters for the './Build install' command?
    Typical frequently used setting:

    --uninst 1 # uninstall conflicting files

    Your choice: []


    Please remember to call 'o conf commit' to make the config permanent!


    There seems to be running another CPAN process (pid 6571). Contacting...
    Other job not responding. Shall I overwrite the lockfile '/root/.cpan/.lock'? (Y/n) [y]

    cpan shell -- CPAN exploration and modules installation (v1.8802)
    ReadLine support enabled

    Can't ioctl TIOCGETP: Invalid argument
    Consider installing Term::ReadKey from CPAN site nearby
    at http://www.perl.com/CPAN
    Or use
    perl -MCPAN -e shell
    to reach CPAN. Falling back to 'stty'.
    If you do not want to see this warning, set PERL_READLINE_NOWARN
    in your environment.
    cpan[1]> install Net::SSLeay
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Wed, 17 Jan 2007 06:26:32 GMT
    Running install for module Net::SSLeay
    Running make for F/FL/FLORA/Net_SSLeay.pm-1.30.tar.gz

    CPAN: checksum security checks disabled because Digest::SHA not installed.
    Please consider installing the Digest::SHA module.

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

    CPAN.pm: Going to build F/FL/FLORA/Net_SSLeay.pm-1.30.tar.gz

    Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
    You have OpenSSL-0.9.7a installed in /usr
    openssl-0.9.6i/0.9.7a and earlier versions have security flaws or bugs,
    see advisories at www.openssl.org, upgrading to openssl-0.9.6j
    or openssl-0.9.7b is recommended.
    *** Could not figure out which C compiler was used to compile /usr/bin/openssl. 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.
    Checking if your kit is complete...
    Looks good
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Net::SSLeay::Handle
    Writing Makefile for Net::SSLeay
    CPAN: YAML loaded ok
    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_http4.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, head_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, post_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_http4.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
    make[1]: Entering directory `/root/.cpan/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
    cp Handle.pm ../blib/lib/Net/SSLeay/Handle.pm
    Manifying ../blib/man3/Net::SSLeay::Handle.3pm
    make[1]: Leaving directory `/root/.cpan/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
    /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
    gcc -c -I/usr/include -I/usr/inc32 -I/usr/kerberos/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" -DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
    /bin/sh: gcc: command not found
    make: *** [SSLeay.o] Error 127
    /usr/bin/make -- 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:
    FLORA/Net_SSLeay.pm-1.30.tar.gz : make NO

    cpan[2]>

    What should I do now?
     
    Nestrer, Jan 18, 2007 IP
  2. Senpai IT

    Senpai IT Active Member

    Messages:
    453
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    68
    #2
    What you should do now is to give me root access to your server if you can pay me $15 for this job.
     
    Senpai IT, Jan 19, 2007 IP
  3. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #3
    You have a default install of openssl, and no gcc to compile with .... look up how to install build-essentials on your distro and try again, if it fails, then you'll need to compile openssl and perl from source using your newly installed gcc, then it should work
     
    krakjoe, Jan 19, 2007 IP
  4. Nestrer

    Nestrer Well-Known Member

    Messages:
    1,663
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    135
    #4
    Then you can ctrl the full server any time, that's not a very good idea. ;)

    If you can tell me what you will do, I can pay you $5 after I work it out
     
    Nestrer, Jan 19, 2007 IP
  5. Senpai IT

    Senpai IT Active Member

    Messages:
    453
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    68
    #5
    You can always change the root password, can't you?
    Another option is to create an account for me with the priveleges to install Perl modules.
    $5 is too little for this job, can accept $10 and that's my final quote.
    Check www.senpai-it.com to see what we can do.
     
    Senpai IT, Jan 19, 2007 IP
  6. Nestrer

    Nestrer Well-Known Member

    Messages:
    1,663
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    135
    #6
    Well, $10 to install Net::SSLeay Perl module
    BTW, should I Order a Server Restore (Formats your server back to original
    configuration) ? as I have done a CPAN module upgrade with some error, maybe something is corrupt? I'll come back 10 hours later, please keep waiting..

    Thanks
     
    Nestrer, Jan 19, 2007 IP
  7. Senpai IT

    Senpai IT Active Member

    Messages:
    453
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    68
    #7
    Get back to me on Skype or MSN.
     
    Senpai IT, Jan 19, 2007 IP
  8. Nestrer

    Nestrer Well-Known Member

    Messages:
    1,663
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    135
    #8
    Hi Senpai IT, sorry that I am waiting my hoster for a reply, as they said they can do that for me. may I PM you when I need your help?

    Thanks
     
    Nestrer, Jan 19, 2007 IP
  9. Senpai IT

    Senpai IT Active Member

    Messages:
    453
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    68
    #9
    Check our website www.senpai-it.com - you will see what else we can do for you. I will post a pricelist there for remote hands soon.
     
    Senpai IT, Jan 20, 2007 IP
  10. Nestrer

    Nestrer Well-Known Member

    Messages:
    1,663
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    135
    #10
    Great site!
    BTW, can you code IE/FireFox toolbar? what's the price?

    Thanks

    I am still waiting for my hoster's reply...
     
    Nestrer, Jan 20, 2007 IP
  11. Senpai IT

    Senpai IT Active Member

    Messages:
    453
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    68
    #11
    It depends on the toolbar, but typically not less than €300 - usually quite plenty of work there. Email me more details if interested.
     
    Senpai IT, Jan 20, 2007 IP
  12. Nestrer

    Nestrer Well-Known Member

    Messages:
    1,663
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    135
    #12
    How much if it's a super easy toolbar, just encode and visit a url? count in USD?
    Just wonder, not ready to order now.

    Thanks
     
    Nestrer, Jan 20, 2007 IP
  13. Senpai IT

    Senpai IT Active Member

    Messages:
    453
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    68
    #13
    Encode what? Only a textbox for URL with a "go" button would not be more than $100 dollars. Still need some more details.
     
    Senpai IT, Jan 20, 2007 IP