[collectd] How to build perl plugin on Solaris?

matthew sporleder msporleder at gmail.com
Fri Aug 20 15:18:18 CEST 2010


On Fri, Aug 20, 2010 at 7:21 AM, Denis Melnikov <mdb65 at tu.komus.net> wrote:
> Hi, all!
> Solaris 10.
> I'm trying to build collectd-4.10.1 with perl plugin, but get no success.
> I tried the following ways:
>
> $ ./configure --with-libperl=/usr/bin/perl
>
> $ CPPFLAGS=-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE \
> LDFLAGS=-L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE \
> LIBS=-lperl \
> ./configure --with-libperl=/usr/bin/perl
>
> $ CPPFLAGS=-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE \
> LDFLAGS=-L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE \
> LIBS=-lperl \
> LD_LIBRARY_PATH=/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE \
> ./configure --with-libperl=/usr/bin/perl
>

--with-libperl isn't looking for perl the interpreter, it's looking
for libperl, the library.



More information about the collectd mailing list