in reply to module errors everywhere

Thanks everyone. I switched to Perl 5.16 in perlbrew to see if it made a difference but it doesn't. I updated the original post with what I did to get SSLeay installed. Also, I get this error when I'm trying to install NetSNMP::agent
Is it safe to force the installation?

cpanm (App::cpanminus) 1.7001 on perl 5.021002 built for x86_64-linux- +thread-multi Work directory is /root/.cpanm/work/1407149590.729 You have make /usr/bin/make You have LWP 6.08 You have /bin/tar: tar (GNU tar) 1.23 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp +l.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching NetSNMP::agent on cpanmetadb ... --> Working on NetSNMP::agent Fetching http://www.cpan.org/authors/id/H/HA/HARDAKER/NetSNMP-agent-5. +0404.tar.gz -> OK Unpacking NetSNMP-agent-5.0404.tar.gz Entering NetSNMP-agent-5.0404 META.yml/json not found. Creating skeleton for it. Configuring NetSNMP-agent-5.0404 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for NetSNMP::agent::Support Writing MYMETA.yml and MYMETA.json ERROR: Net-SNMP installed version: 5.5 => 5.05 Perl Module Version: 5.0404 These versions must match for perfect support of the module. It is po +ssible that different versions may work together, but it is strongly recommen +ded that you make these two versions identical. You can get the Net-SNMP source code and the associated perl modules directly from http://www.net-snmp.org/ If you want to continue anyway please set the NETSNMP_DONT_CHECK_VERSI +ON environmental variable to 1 and re-run the Makefile.PL script. -> N/A -> FAIL Configure failed for NetSNMP-agent-5.0404. See /root/.cpanm/wo +rk/1407149590.729/build.log for details.

Replies are listed 'Best First'.
Re^2: module errors everywhere
by McA (Priest) on Aug 04, 2014 at 18:33 UTC

    Hi

    there should be a vendor packaged rpm 'net-snmp-perl'. I'm pretty sure that this rpm fits the net-snmp library and hopefully fulfills the requirements for APPS.

    Give it a try.

    Regards
    McA

      That works for my system perl but it will not work for perlbrew installations, unfortunately. Is there any way to just copy the files over or would that not be good?

        Sorry, you're right. I forgot the 'perlbrew' requirement.

        I got really curious about that. I found out that net-snmp delivers the perl binding directly in the net-snmp tar.gz. The question now is how you can build the perl part using the brewed perl without disturbing the rest. Probably you can find someone on their mailing list who can answer this question.

        McA