[collectd] trouble building 5.2.2 with perl plugin

Russell Poyner rpoyner at engr.wisc.edu
Wed May 15 16:10:43 CEST 2013


Has any one been able to build 5.2.2 on ubuntu 12.04 with the perl 
plugin? I have the current libperl-dev package installed.

There is an issue here: https://github.com/collectd/collectd/issues/310

Just wondered if anyone had some insight on this

Russ Poyner

 From my configure attempts:
configure --enable-perl --with-libperl

perl  . . . . . . . . no (needs libperl)

In config.log:

configure:21710: checking for libperl
configure:21737: gcc -o conftest -g -O2  -D_REENTRANT -D_GNU_SOURCE 
-DDEBIAN -fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/lib/perl/5.14/CORE    -Wl,-E  -fstack-protector -L/usr/local/lib  
-L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt 
conftest.c -ldl  >&5
/tmp/ccRjaijT.o: In function `main':
/opt/collectd-5.2.2/conftest.c:186: undefined reference to `PL_thr_key'
/opt/collectd-5.2.2/conftest.c:186: undefined reference to 
`pthread_getspecific'
/opt/collectd-5.2.2/conftest.c:187: undefined reference to `Perl_newSVpv'
/opt/collectd-5.2.2/conftest.c:187: undefined reference to 
`Perl_load_module_nocontext'






More information about the collectd mailing list