[collectd] libupsclient plugin fault

a.shubnik at btis.by a.shubnik at btis.by
Thu Sep 13 09:07:48 CEST 2007


    Hello Florian,
    Sorry for my persistence but can you help me what i must
to do for activate 'libupsclient' plugin.
    I start 'configure' script with follow option:

     ./configure --prefix=/usr/local/stow/collectd-4.1.1  
--with-libnetlink=/usr --with-libupsclient=/usr/local/ups

    and get follow result:

     libupsclient  . . . no (libupsclient-config failed)
     libxmms . . . . . . no

    '/usr/local/ups/bin/libupsclient-config' script have follow content (i  
added your patch):

Version="2.2.0"
prefix=/usr/local/ups
exec_prefix=${prefix}
Libs="-L${exec_prefix}/lib -lupsclient -lssl -lcrypto"
Cflags="-I${prefix}/include "

case "$1" in

   --cflags)
         echo "$Cflags"
         ;;
   --libs)
         echo "$Libs"
         ;;
   --version)
         echo $Version
         ;;
   *)
         echo "Usage: libupsclient-config {--cflags|--libs|--version}"
         exit 1
esac


    Have you any advice for me?
    Thank you very much.
    Alex



More information about the collectd mailing list