[collectd] perl plugin woes

Richard Shade rshade at rightscale.com
Tue Mar 11 20:12:44 CET 2008


On 3/11/08, Sebastian Harl <sh at tokkee.org> wrote:
>
> Hi again,
>
>
> On Tue, Mar 11, 2008 at 07:03:59PM +0100, Sebastian Harl wrote:
> > On Tue, Mar 11, 2008 at 12:22:18PM -0500, Richard Shade wrote:
> > > make[2]: Entering directory `/usr/src/redhat/SOURCES/collectd-4.3.1
> /libltdl'
> > > /bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > > -DLT_LAZY_OR_NOW=RTLD_LAZY|RTLD_GLOBAL -c -o ltdl.lo ltdl.c
> > > /bin/sh: RTLD_GLOBAL: command not found
> > [...]
> > > my configure statement is: ./configure
> > > CFLAGS=-DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL'
> >
> > For some reason, the quotes around the flags are not kept. That works
> > for me though... Which shell do you use?
>
>
> Sorry, it does not work for me either - there was a typo in "CFLAGS"
> when I tested it ;-) That only works if I use it inside another Makefile
> (debian/rules to be precise).
>
>
> > Try playing around with different quoting.
> > CFLAGS="-DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL'" might be a good
> > starting point.
>
>
> That does the magic for me though...

This also works for me. Thanks


 Cheers,
>
> Sebastian
>
>
> --
> Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
>
> Those who would give up Essential Liberty to purchase a little Temporary
> Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFH1ss+EFEKc4UBx/wRAi9GAJ9CvXwRWKM7lhaSIpfpA+HG+qWsWgCfRFFY
> 8h+bWrwlLkOdpO5W6cQXsBM=
> =LZut
> -----END PGP SIGNATURE-----
>
>


-- 
Thanks,

Richard Shade
RightScale
http://www.rightscale.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20080311/2fa1785f/attachment.htm 


More information about the collectd mailing list