From owner-freebsd-ports@FreeBSD.ORG Tue May 14 20:21:45 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2413F8D4 for ; Tue, 14 May 2013 20:21:45 +0000 (UTC) (envelope-from pmueller@occsilva.de) Received: from mo6-p00-ob.rzone.de (mo6-p00-ob.rzone.de [IPv6:2a01:238:20a:202:5300::1]) by mx1.freebsd.org (Postfix) with ESMTP id B31959B2 for ; Tue, 14 May 2013 20:21:44 +0000 (UTC) X-RZG-AUTH: :PGERcEykfu3gJvGui32lcvRHP2wZnM4kxddi8HnPfukGKvSUh11MR/wpTmPCH/7UkxuCvQ== X-RZG-CLASS-ID: mo00 Received: from www.occsilva.de (dslb-084-057-199-178.pools.arcor-ip.net [84.57.199.178]) by smtp.strato.de (jored mo11) (RZmta 31.27 DYNA|AUTH) with (DHE-RSA-CAMELLIA256-SHA encrypted) ESMTPA id 001f07p4EJ1uEb ; Tue, 14 May 2013 22:21:37 +0200 (CEST) Received: from imacdg.fritz.box (dslb-084-057-199-178.pools.arcor-ip.net [84.57.199.178]) by www.occsilva.de (Postfix) with ESMTPSA id 17CF7F017BE; Tue, 14 May 2013 22:21:37 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: FreeBSD Port: collectd-4.10.4_7 From: Peter Mueller In-Reply-To: <51915B09.8090907@passap.ru> Date: Tue, 14 May 2013 22:21:37 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <1E9C00F2-BBA9-4289-8764-74A3E75A1E20@occsilva.de> References: <8A5E7425-D383-4071-8D92-5444CE60BAB7@occsilva.de> <51915B09.8090907@passap.ru> To: Boris Samorodov X-Mailer: Apple Mail (2.1503) 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: Tue, 14 May 2013 20:21:45 -0000 Hi Boris, On 13.05.2013, at 23:28, Boris Samorodov wrote: > 13.05.2013 20:20, Peter Mueller =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>=20 >> 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. >=20 > I've just added comms/libmodbus upon your request. > And here is attached (an untested) patch to net-mgmt/collectd. >=20 > Test and feedback are welcome. > Thanks! > --=20 > 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 . . . . . .=20 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" =3D=3D=3D> 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? But it seems not to be part of the ports? Can you help again? Thanks, Peter=