Ad Widget

Collapse

error: Not found NET-SNMP library

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tenhlf
    Junior Member
    • Feb 2010
    • 9

    #1

    error: Not found NET-SNMP library

    FreeBSD 8.0 ports Istall zabbix-server prompt error: Not found NET-SNMP library

    checking for net-snmp-config... /usr/local/bin/net-snmp-config
    checking for main in -lnetsnmp ... no
    configure: error: Not found NET-SNMP library
    ===> Script "configure" failed unexpectedly.
    Please report the problem to [email protected] [maintainer] and
    attach the "/usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.1/config.log"
    including the output of the failure of your make command. Also, it might be
    a good idea to provide an overview of all packages installed on your system
    (e.g. an `ls /var/db/pkg`).
    *** Error code 1

    Stop in /usr/ports/net-mgmt/zabbix-server.
    *** Error code 1

    Stop in /usr/ports/net-mgmt/zabbix-server.
    *** Error code 1

    Stop in /usr/ports/net-mgmt/zabbix-server.

    ——————————————————————————————————————
    Install zabbix, you can always fail. As if it was later found on the version of Perl.
    The new machine is a February 20 update ports, the installation of zabbix time, the system automatically to install perl5.10.1. The successful installation of the machines before the February 5 updated ports. At that time the installation of records using a perl-5.8.9_3. So first, install the perl-5.8.9_3 alone, after re-entering the zabbix-serve r to install
    # cd /usr/ports/lang/perl5.8
    # make install clean

    # cd /usr/ports/net-mgmt/zabbix-server
    # make install clean
    at last succeeded.



    ================================================== ====================
    Zabbix requires a database. If you are using SQLite, one will be
    created automatically. Otherwise you can install one as follows (<db>
    is your database engine and <db_client> is its client program):

    % cd /usr/local/share/zabbix/server/create
    % cat schema/<db>.sql data/data.sql data/images_<db>.sql | <db_client>

    To upgrade an existing database, see the scripts in
    /usr/local/share/zabbix/server/upgrades.
    ================================================== ====================
    ===> Installing rc.d startup script(s)
    ===> Compressing manual pages for zabbix-server-1.8.1,2
    ===> Registering installation for zabbix-server-1.8.1,2
    ===> SECURITY REPORT:
    This port has installed the following files which may act as network
    servers and may therefore pose a remote security risk to the system.
    /usr/local/sbin/zabbix_server

    This port has installed the following startup scripts which may cause
    these network services to be started at boot time.
    /usr/local/etc/rc.d/zabbix_server

    If there are vulnerabilities in these programs there may be a security
    risk to the system. FreeBSD makes no guarantee about the security of
    ports included in the Ports Collection. Please type 'make deinstall'
    to deinstall the port if this is a concern.

    For more information, and contact details about the security
    status of this software, see the following webpage:
    http://www.zabbix.com/
    ===> Cleaning for net-snmp-5.4.2.1_6
    ===> Cleaning for curl-7.19.7_1
    ===> Cleaning for iksemel-1.4_1
    ===> Cleaning for openldap-client-2.4.21
    ===> Cleaning for mysql-client-5.0.90
    ===> Cleaning for fping-2.4b2_1
    ===> Cleaning for p5-Tk-804.028.501_1
    ===> Cleaning for ca_root_nss-3.12.4
    ===> Cleaning for automake-1.10.1
    ===> Cleaning for autoconf-2.62
    ===> Cleaning for gnutls-2.8.3
    ===> Cleaning for libX11-1.2.1_1, 1
    ===> Cleaning for jpeg-8
    ===> Cleaning for png-1.2.42
    ===> Cleaning for automake-wrapper-20071109
    ===> Cleaning for m4-1.4.13, 1
    ===> Cleaning for help2man-1.37.1
    ===> Cleaning for autoconf-wrapper-20071109
    ===> Cleaning for pkg-config-0.23_1
    ===> Cleaning for libgcrypt-1.4.4
    ===> Cleaning for libgpg-error-1.7
    ===> Cleaning for libxcb-1.5
    ===> Cleaning for xorg-macros-1.2.1
    ===> Cleaning for bigreqsproto-1.0.2
    ===> Cleaning for xcmiscproto-1.1.2
    ===> Cleaning for xextproto-7.0.5
    ===> Cleaning for xtrans-1.2.3
    ===> Cleaning for kbproto-1.0.3
    ===> Cleaning for inputproto-1.5.0
    ===> Cleaning for xf86bigfontproto-1.1.2
    ===> Cleaning for libXau-1.0.4
    ===> Cleaning for libXdmcp-1.0.2_1
    ===> Cleaning for xproto-7.0.15
    ===> Cleaning for p5-gettext-1.05_2
    ===> Cleaning for libcheck-0.9.8
    ===> Cleaning for libxslt-1.1.26
    ===> Cleaning for xcb-proto-1.6
    ===> Cleaning for libpthread-stubs-0.3_3
    ===> Cleaning for python26-2.6.4
    ===> Cleaning for libxml2-2.7.6_1
    ===> Cleaning for zabbix-server-1.8.1, 2
    Last edited by tenhlf; 20-02-2010, 08:49.
  • tenhlf
    Junior Member
    • Feb 2010
    • 9

    #2
    I'm sorry I made wrong place.

    Comment

    Working...