From owner-freebsd-ports@FreeBSD.ORG Wed May 15 07:21:50 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6A58B341 for ; Wed, 15 May 2013 07:21:50 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net [IPv6:2a02:6b8:0:f05::3]) by mx1.freebsd.org (Postfix) with ESMTP id 02D5834E for ; Wed, 15 May 2013 07:21:50 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward3h.mail.yandex.net (Yandex) with ESMTP id 137761361E06; Wed, 15 May 2013 11:21:46 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 7F5AD1700DC4; Wed, 15 May 2013 11:21:46 +0400 (MSK) Received: from 93.91.2.208.tel.ru (93.91.2.208.tel.ru [93.91.2.208]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PWHD6QZjo7-LkxuDjZM; Wed, 15 May 2013 11:21:46 +0400 Message-ID: <51933789.3070901@passap.ru> Date: Wed, 15 May 2013 11:21:45 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Peter Mueller Subject: Re: FreeBSD Port: collectd-4.10.4_7 References: <8A5E7425-D383-4071-8D92-5444CE60BAB7@occsilva.de> <51915B09.8090907@passap.ru> <1E9C00F2-BBA9-4289-8764-74A3E75A1E20@occsilva.de> In-Reply-To: <1E9C00F2-BBA9-4289-8764-74A3E75A1E20@occsilva.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: ports@FreeBSD.org, "ports@bsdserwis.com" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 07:21:50 -0000 15.05.2013 00:21, Peter Mueller пишет: > Hi Boris, > > On 13.05.2013, at 23:28, Boris Samorodov 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 >> > > > 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@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? The port depends on comms/libmodbus, which I committed to the portstree two day ago. Did you update your portstree? > But it seems not to be part of the ports? It already is. > Can you help again? I didn't try cottectd v.4, but v.5 should work: http://www.freebsd.org/cgi/query-pr.cgi?pr=178637 Ah, and I see that you may be interested in another PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=178634 -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve