Re: perlinstall error when installing net-snmp

Nav N <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAHJRT8+a3XGoJkM3RY4HXX_VizW1wPD7BooGDmXbZWJddjwurA@mail.gmail.com>
Solved the problem. Running "make test" showed me an error that
"ExtUtils::MakeMaker" was not installed. So I'd recommend that anyone
else who runs into this problem do that following:
sudo -i
yum install perl
yum install perl-ExtUtils-MakeMaker
./configure --with-perl-modules --with-mysql
make
make test
make install

The installation was successful.
Hope this helps others. Thanks for helping me too :)


On 1/17/14, Nav N <[email protected]> wrote:
> Thanks David, but I had done all the operations under sudo. The problem is
> something else.
> Installing net-snmp is basically the first step for me to eventually be
> able to run snmptt (where a perl script would be invoked (for writing data
> into a database) by a linkup/dn event), so it'd help to also know if it
> should be run with embedded perl.
>
>
> On Wed, Jan 15, 2014 at 11:33 PM, David Ganor
> <[email protected]>wrote:
>
>> Hi,
>> Try 'sudo make install'.
>> On most *NIX systems the access to /usr/local and its subdirs is granted
>> only to root
>>
>> HTH,
>> David
>>
>> On 15/01/2014 18:33, Nav N wrote:
>> > Hello,
>> >
>> > I tried installing net-snmp by running:
>> > ./configure
>> > make
>> > make install
>> >
>> > But I get this error at the end of the make install:
>> > install: installed SNMPv2-TM.txt in /usr/local/share/snmp/mibs
>> > libtool: install: /bin/install -c -m 644 ./NET-SNMP-VACM-MIB.txt
>> > /usr/local/share/snmp/mibs/NET-SNMP-VACM-MIB.txt
>> > install: installed NET-SNMP-VACM-MIB.txt in /usr/local/share/snmp/mibs
>> > libtool: install: /bin/install -c -m 644 ./DISMAN-SCHEDULE-MIB.txt
>> > /usr/local/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
>> > install: installed DISMAN-SCHEDULE-MIB.txt in
>> > /usr/local/share/snmp/mibs
>> > make[1]: Leaving directory `/usr/local/net-snmp-5.7.2/mibs'
>> > make[1]: Entering directory `/usr/local/net-snmp-5.7.2/perl'
>> > make[1]: *** No rule to make target `install'.  Stop.
>> > make[1]: Leaving directory `/usr/local/net-snmp-5.7.2/perl'
>> > make: *** [perlinstall] Error 1
>> >
>> >
>> > I have perl installed, so I don't understand what went wrong. Could you
>> help?
>> > typing "perl -v" at the command prompt shows this:
>> > This is perl 5, version 18, subversion 1 (v5.18.1) built for
>> > x86_64-linux-thread-multi
>> >
>> >
>>
>> --
>> Best regards,
>> David Ganor
>>
>> |||||||||||||||||||||||||||||||||||
>> Cell: +972-54-3090299
>> Tel: +972-74-7028642
>> Fax: +972-153-74-7028642
>>
>> SW developer
>> www.oliver-solutions.com
>> |||||||||||||||||||||||||||||||||||
>>
>>
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Net-snmp-users mailing list
>> [email protected]
>> Please see the following page to unsubscribe or change other options:
>> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>>
>


-- 
Regards,
Navin

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.