[Nut-upsdev] Bug#439986: Renaming `UPSCONN' to `UPSCONN_t' causes problems when upgrading.

Arnaud Quette aquette.dev at gmail.com
Wed Sep 12 07:12:44 UTC 2007


Hi Florian

2007/9/12, Florian Forster <octo at verplant.org>:
> Hi Arnaud,
>
> On Tue, Sep 11, 2007 at 08:53:21PM +0200, Arnaud Quette wrote:
> > Since I'm preparing 2.2.1, I will add a typedef to manage the backward compat.
> > I've fixed it in the subversion trunk and Testing branches.
>
> thanks :)
>
> > A last question: what is your use of this (wmnut or something else)?
>
> It's collectd <http://collectd.org/>.

I should have recalled it, sorry ;-)
btw, I've added the specific nut-plugin link in the client page.

> The story is this:
>   First, a user complained that he couldn't build the plugin which
> queries nut. After some debugging it turned out that his version of
> libupsclient was linked against libssl. So I told him (how) to use
> CFLAGS and put him off the next version which would use
> `libupsclient-config'

prefer to use pkg-config and its autoconf macros.
libupsclient-config is only there for systems not supporting pkg-config...

> to get the flags right automatically. He came back
> to me and said that the configure script detected the library correctly,
> but he still had problems building the plugin. I saw in the CC output he
> sent me that the type was missing and after upgrading my Debian packages
> I could reproduce the problem..
>
> I've added the appropriate checks to the configurescript now, but I
> guess other client projects will have the same problem eventually..

there is not many clients using that lib. For example, nagios has
reimplemented the network protocol (since it's ascii, and easy to do
so).

thanks and keep up your good work,
Arnaud
-- 
Free Software Developer - http://arnaud.quette.free.fr/
Debian Developer - http://people.debian.org/~aquette/
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Ubuntu Media Center (UMC) Project Leader - https://launchpad.net/~umc-team



More information about the Nut-upsdev mailing list