[collectd] collectd-4.1.0 configure bugs

Florian Forster octo at verplant.org
Tue Sep 4 10:00:31 CEST 2007


Hi Aleksandr,

On Mon, Sep 03, 2007 at 12:44:36PM +0300, a.shubnik at btis.by wrote:
> ./configure --prefix=/usr/local/stow/collectd-4.1.0 --with-libnetlink=/usr  
> --with-libupsclient=/usr/local/ups LDFLAGS=-lssl
> 
> Configuration:
>   Libraries:
>     libnetlink  . . . . no (iproute/libnetlink.h not found)
>     ...
>     libupsclient  . . . no
> 
> I see that script not found my 'libnetlink.h' file that placed in
> '/usr/include' directory:

oh great.. I feared that other distributions might place this file
somewhere else.. I'll think of something..

> and it (script) not found my NUT-2.2.0 installation that placed in
> '/usr/local/ups' directory:

From you config.log:
-- 8< --
configure:41760: gcc -o conftest -I/usr/include/mysql -g -pipe -m32 \
		 -march=i386 -mtune=pentium4  -L/usr/lib/mysql \
		 -lmysqlclient -lz -lcrypt -lnsl -lm conftest.c \
		 -lupsclient   >&5
/usr/bin/ld: cannot find -lupsclient
-- >8 --

This does not look as expected. Could you please post the output of:
- libupsclient-config --cflags
- libupsclient-config --libs
(The binary should be in /usr/local/ups/bin)

> I attached 'config.log' file for more details.

Thanks, this helped a lot to exclude possible other problems ;)

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070904/643f9889/attachment.pgp 


More information about the collectd mailing list