Ad Widget

Collapse

deabian 8 jessie. make from src. problem with --with-net-snmp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DeamonMV
    Junior Member
    • Apr 2014
    • 13

    #1

    deabian 8 jessie. make from src. problem with --with-net-snmp

    Hi all.

    I have debian 8 jessie. When I do configure, I get a error:
    Code:
    #cd zabbix-2.2.9/
    #./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl
    ******
    ******
    checking for net-snmp-config... no
    configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config
    I try to install libsnmp-dev or net-snmp or net-snmp-devel
    But apt-get don't recognized any of this package

    How to resolve this problem.

    Code:
    # apt-get install libsnmp-dev 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     libsnmp-dev : Depends: libssl-dev but it is not going to be installed
                   Depends: libsensors4-dev but it is not going to be installed
                   Depends: libpci-dev but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    Code:
    #apt-get install net-snmp-devel
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package net-snmp-devel
    Code:
    # cat /etc/apt/sources.list
    deb http://ftp.at.debian.org/debian/ jessie main contrib non-free
    deb-src http://ftp.at.debian.org/debian/ jessie main contrib non-free
    
    deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
    deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free
    
    deb http://security.debian.org/ jessie/updates main contrib non-free
    deb-src http://security.debian.org/ jessie/updates main contrib non-free
    #I added this repo
    deb-src http://repo.zabbix.com/zabbix/2.2/debian wheezy mainy
    UDP

    Code:
    #dpkg -l | grep libsnm*
    ii  libsnmp-base                     5.7.2.1+dfsg-1                all          SNMP configuration script, MIBs and documentation
    rc  libsnmp15                        5.4.3~dfsg-2.8                amd64        SNMP (Simple Network Management Protocol) library
    ii  libsnmp30:amd64                  5.7.2.1+dfsg-1                amd64        SNMP (Simple Network Management Protocol) library
    As i can understand, in repos debian have this package, but debian don't want to install it.
    Code:
    # apt-cache search snmp
    *****
    nagios-snmp-plugins - SNMP Plugins for nagios
    libsnmp-base - SNMP configuration script, MIBs and documentation
    libsnmp-dev - SNMP (Simple Network Management Protocol) development files
    libsnmp-perl - SNMP (Simple Network Management Protocol) Perl5 support
    *****
    Last edited by DeamonMV; 04-09-2015, 09:53.
  • DeamonMV
    Junior Member
    • Apr 2014
    • 13

    #2
    I don't know what happened, but I can install zabbix from repository.
    Moderators please remove this topic. Thank You.

    Comment

    Working...