[collectd] perl plugin woes

Sebastian Harl sh at tokkee.org
Tue Mar 11 19:11:11 CET 2008


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

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

-------------- 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/20080311/4ed31196/attachment.pgp 


More information about the collectd mailing list