[collectd] collectd-4.1.0 configure bugs

a.shubnik at btis.by a.shubnik at btis.by
Tue Sep 4 10:23:34 CEST 2007


     Hi Florian.

>> ./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)


bsrv:/usr/local/ups/bin # ./libupsclient-config --cflags
-I/usr/local/ups/include @SSL_CFLAGS@

bsrv:/usr/local/ups/bin # ./libupsclient-config --libs
-L/usr/local/ups/lib -lupsclient @SSL_LDFLAGS@


>> I attached 'config.log' file for more details.
>
> Thanks, this helped a lot to exclude possible other problems ;)

    Don't mention it.
    Thank YOU for great program.

    Alex



More information about the collectd mailing list