Pages: [1]   Go Down
Author Topic: SNMP dependensy  (Read 1469 times)
0 Members and 2 Guests are viewing this topic.
tonytv
Newbie
*

Karma: 1
Offline Offline

Posts: 5


View Profile
« on: September 17, 2009, 08:49:36 AM »

Hello, I`m a new user and decide to install pandoraFMS.When I start automatic install script(pandora_sever_installer --install) appears a message "You are missing the following dependencies

SNMP

". So, I try to install SNMP by the CPAN "install SNMP", but the the makefile tell me "You need to install net-snmp first (I can't find net-snmp-config) at Makefile.PL
 line 110.
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install

"
I run "yum install net-snmp" and install it successufully ,but the SNMP`s makefile again warn me"You need to install net-snmp first (I can't find net-snmp-config) at Makefile.PL
 line 110.
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install
"
Can I install server without SNMP module? Or could someone help me how to install SNMP.
THANKS in advance
Logged

chejov suzdal voshkov
Sr. Member
****

Karma: 8
Offline Offline

Posts: 175



View Profile WWW
« Reply #1 on: September 17, 2009, 09:44:34 AM »

try to install this:

perl-XML-Simple
net-snmp-perl
Logged


iElectric
Newbie
*

Karma: 1
Offline Offline

Posts: 5


View Profile
« Reply #2 on: September 17, 2009, 09:50:07 AM »

I solved this by doing

cd ~/.cpan/build/package/
make
make install
Logged

tonytv
Newbie
*

Karma: 1
Offline Offline

Posts: 5


View Profile
« Reply #3 on: September 17, 2009, 12:11:27 PM »

I have net-snmp-perl and perl-XML-Simple.
And I went to ~/.cpan/build/SNMP-5.0401 ,but there isn`t makefile
-rw-r--r-- 1 274 wheel   1053 Apr 20  2002 BUG
drwxr-xr-x 2 274 wheel   4096 Sep 18  2007 examples
drwxr-xr-x 2 274 wheel   4096 Sep 18  2007 hints
-rw-r--r-- 1 274 wheel  11018 May 31  2007 Makefile.PL
-rw-r--r-- 1 274 wheel    575 Sep 18  2007 MANIFEST
-rw-r--r-- 1 274 wheel     79 Apr 20  2002 MANIFEST.SKIP
-rw-r--r-- 1 274 wheel    290 Sep 18  2007 META.yml
-rw-r--r-- 1 274 wheel    786 Apr 20  2002 perlsnmp.h
-rw-r--r-- 1 274 wheel  43126 Oct 25  2006 README
-rw-r--r-- 1 274 wheel  75120 May 22  2007 SNMP.pm
-rw-r--r-- 1 274 wheel 176560 Jun 19  2007 SNMP.xs
drwxr-xr-x 2 274 wheel   4096 Sep 18  2007 t
-rw-r--r-- 1 274 wheel   1193 Apr 20  2002 TODO
-rw-r--r-- 1 274 wheel     46 Apr 20  2002 typemap

and command "make" doesn`t start
Logged

tonytv
Newbie
*

Karma: 1
Offline Offline

Posts: 5


View Profile
« Reply #4 on: September 17, 2009, 12:20:19 PM »

OOO Great I find solution! If it help someone I will happy. Just install net-snmp-devel.
Logged

Pablo de la Concepción
Jr. Member
**

Karma: 3
Offline Offline

Posts: 13



View Profile
« Reply #5 on: September 18, 2009, 01:01:48 PM »

Hello tonytv,

To install from ~/.cpan/build/SNMP-5.0401 you have to run perl Makefile.PL to create the Makefile, and then you can go on with that Makefile.
Logged

general9000
Newbie
*

Karma: 0
Offline Offline

Posts: 4


View Profile
« Reply #6 on: October 06, 2009, 01:53:07 AM »

I need help too
I did this:

===>

cpan> install Net::SNMP
Net::SNMP is up to date

cpan> install SNMP
...
you need to install net-snmp first (I can't find net-snmp-config) at Makefile.PL line 110
Running make test
make had some problems, maybe interrupted? Won't test

cpan> exit

root ]#cd /root/.cpan/build/SNMP-50401
root SNMP-5.0401]# dir
--- --- --- --- ----  ----
--- Makefile.PL ------ ----

root SNMP-5.0401]# make
make: ****** No targets specifies and no makefile found. Stop

root SNMP-5.0401]# make Makefile.PL
make: *** Nothing to be done for 'Makefile.PL'

root SNMP-5.0401]# perl Makefile.PL
you need to install net-snmp first (I can't find net-snmp-config) at Makefile.PL line 110

root SNMP-5.0401]# du Makefile.PL
12    Makefile.PL


Help please.. what more i can doing ?

Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


I can see everything... with my glasses :-)


View Profile WWW
« Reply #7 on: October 07, 2009, 03:29:29 PM »


Install snmp package in your disto:

apt-get install snmp (debian, ubuntu)
zypper install snmp (suse)
yum install snmp (rh)

or manually using RPM:

rpm -i snmp....

Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST