FreeBSD Port: collectd-4.10.4_7

Peter Mueller pmueller at occsilva.de
Tue May 14 20:21:45 UTC 2013


Hi Boris,

On 13.05.2013, at 23:28, Boris Samorodov <bsam at passap.ru> wrote:

> 13.05.2013 20:20, Peter Mueller пишет:
>> 
>> I like to use the modbus plugin. But it is not listed in the config options. How can I enable this plugin to compile it.
> 
> I've just added comms/libmodbus upon your request.
> And here is attached (an untested) patch to net-mgmt/collectd.
> 
> Test and feedback are welcome.
> Thanks!
> -- 
> WBR, Boris Samorodov (bsam)
> FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
> <collectd.diff>


I'm a beginner in working with patches and freebsd packages

I get the following error message now:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Configuration:
  Libraries:
    libcurl . . . . . . . yes
    libdbi  . . . . . . . no (dbi/dbi.h not found)
    libesmtp  . . . . . . no
    libganglia  . . . . . no
    libgcrypt . . . . . . yes
    libiokit  . . . . . . no
    libiptc . . . . . . . no (Linux only)
    libjvm  . . . . . . . no (jar not found)
    libkstat  . . . . . . no (Solaris only)
    libkvm  . . . . . . . yes
    libmemcached  . . . . no
    libmodbus . . . . . . no (pkg-config doesn't know library)
    libmysql  . . . . . . no (mysql_config failed)
    libnetapp . . . . . . no (netapp_api.h not found)
    libnetlink  . . . . . no (Linux only library)
    libnetsnmp  . . . . . yes
    libnotify . . . . . . no (Package libnotify was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnotify.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnotify' found)
    liboconfig  . . . . . yes (shipped version)
    libopenipmi . . . . . no (pkgconf doesn't know OpenIPMIpthread)
    liboping  . . . . . . yes
    libpcap . . . . . . . yes
    libperfstat . . . . . no (AIX only)
    libperl . . . . . . . yes (version 5.14.2)
    libpq . . . . . . . . no (libpq-fe.h not found)
    libpthread  . . . . . yes
    librouteros . . . . . no
    librrd  . . . . . . . yes
    libsensors  . . . . . no (Linux only library)
    libstatgrab . . . . . yes
    libtokyotyrant  . . . no
    libupsclient  . . . . no
    libvirt . . . . . . . no (pkg-config doesn't know library)
    libxml2 . . . . . . . yes
    libxmms . . . . . . . no
    libyajl . . . . . . . no
    libevent  . . . . . . 
    protobuf-c  . . . . . no
    oracle  . . . . . . . no (ORACLE_HOME is not set)
    python  . . . . . . . yes

  Features:
    daemon mode . . . . . yes
    debug . . . . . . . . no

  Bindings:
    perl  . . . . . . . . no

  Modules:
    apache  . . . . . . . no (disabled on command line)
    apcups  . . . . . . . yes
    apple_sensors . . . . no (disabled on command line)
    ascent  . . . . . . . no (disabled on command line)
    battery . . . . . . . no (disabled on command line)
    bind  . . . . . . . . yes
    conntrack . . . . . . no (disabled on command line)
    contextswitch . . . . no (disabled on command line)
    cpu . . . . . . . . . yes
    cpufreq . . . . . . . no (disabled on command line)
    csv . . . . . . . . . yes
    curl  . . . . . . . . no (disabled on command line)
    curl_json . . . . . . no (disabled on command line)
    curl_xml  . . . . . . no (disabled on command line)
    dbi . . . . . . . . . no (disabled on command line)
    df  . . . . . . . . . yes
    disk  . . . . . . . . yes
    dns . . . . . . . . . yes
    email . . . . . . . . yes
    entropy . . . . . . . no (disabled on command line)
    exec  . . . . . . . . yes
    filecount . . . . . . yes
    fscache . . . . . . . no (disabled on command line)
    gmond . . . . . . . . no (disabled on command line)
    hddtemp . . . . . . . no (disabled on command line)
    interface . . . . . . yes
    ipmi  . . . . . . . . no (disabled on command line)
    iptables  . . . . . . no (disabled on command line)
    ipvs  . . . . . . . . no (disabled on command line)
    irq . . . . . . . . . no (disabled on command line)
    java  . . . . . . . . no (disabled on command line)
    libvirt . . . . . . . no (disabled on command line)
    load  . . . . . . . . yes
    logfile . . . . . . . yes
    madwifi . . . . . . . no (disabled on command line)
    match_empty_counter . no (disabled on command line)
    match_hashed  . . . . no (disabled on command line)
    match_regex . . . . . no (disabled on command line)
    match_timediff  . . . no (disabled on command line)
    match_value . . . . . no (disabled on command line)
    mbmon . . . . . . . . no (disabled on command line)
    memcachec . . . . . . no (disabled on command line)
    memcached . . . . . . no (disabled on command line)
    memory  . . . . . . . yes
    modbus  . . . . . . . no (dependency error)
    multimeter  . . . . . no (disabled on command line)
    mysql . . . . . . . . no (disabled on command line)
    netapp  . . . . . . . no (disabled on command line)
    netlink . . . . . . . no (disabled on command line)
    network . . . . . . . yes
    nfs . . . . . . . . . no (disabled on command line)
    nginx . . . . . . . . no (disabled on command line)
    notify_desktop  . . . no (disabled on command line)
    notify_email  . . . . no (disabled on command line)
    ntpd  . . . . . . . . yes
    nut . . . . . . . . . no (disabled on command line)
    olsrd . . . . . . . . no (disabled on command line)
    onewire . . . . . . . no (disabled on command line)
    openvpn . . . . . . . yes
    oracle  . . . . . . . no (disabled on command line)
    perl  . . . . . . . . no (disabled on command line)
    pinba . . . . . . . . no (disabled on command line)
    ping  . . . . . . . . yes
    postgresql  . . . . . no (disabled on command line)
    powerdns  . . . . . . no (disabled on command line)
    processes . . . . . . yes
    protocols . . . . . . no (disabled on command line)
    python  . . . . . . . yes
    routeros  . . . . . . no (disabled on command line)
    rrdcached . . . . . . yes
    rrdtool . . . . . . . yes
    sensors . . . . . . . no (disabled on command line)
    serial  . . . . . . . no (disabled on command line)
    snmp  . . . . . . . . yes
    swap  . . . . . . . . yes
    syslog  . . . . . . . yes
    table . . . . . . . . no (disabled on command line)
    tail  . . . . . . . . yes
    tape  . . . . . . . . no (disabled on command line)
    target_notification . no (disabled on command line)
    target_replace  . . . no (disabled on command line)
    target_scale  . . . . no (disabled on command line)
    target_set  . . . . . no (disabled on command line)
    tcpconns  . . . . . . yes
    teamspeak2  . . . . . no (disabled on command line)
    ted . . . . . . . . . no (disabled on command line)
    thermal . . . . . . . no (disabled on command line)
    tokyotyrant . . . . . no (disabled on command line)
    unixsock  . . . . . . yes
    uptime  . . . . . . . yes
    users . . . . . . . . no (disabled on command line)
    uuid  . . . . . . . . yes
    vmem  . . . . . . . . no (disabled on command line)
    vserver . . . . . . . no (disabled on command line)
    wireless  . . . . . . no (disabled on command line)
    write_http  . . . . . yes
    xmms  . . . . . . . . no (disabled on command line)
    zfs_arc . . . . . . . yes

configure: error: "Some plugins are missing dependencies - see the summary above for details"
===>  Script "configure" failed unexpectedly.
Please report the problem to ports at bsdserwis.com [maintainer] and attach the
"/usr/ports/net-mgmt/collectd/work/collectd-4.10.8/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. a
/usr/sbin/pkg_info -Ea).
*** [do-configure] Error code 1

Stop in /usr/ports/net-mgmt/collectd.
*** [build] Error code 1

The modbus plugin seems to depend on some other library. libmodbus?
But it seems not to be part of the ports?

Can you help again?

Thanks,
Peter


More information about the freebsd-ports mailing list