Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-07-01 Thread Justin Bronder
On 29/06/10 17:27 -0700, Bernard Li wrote: > Hi Justin: > > On Tue, Jun 29, 2010 at 12:23 PM, Justin Bronder wrote: > > > Good suggestion.  That's actually preferable to being triggered by enabling > > python and being part of the default make install. > > Not sure if this is the best way to do

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-29 Thread Bernard Li
Hi Justin: On Tue, Jun 29, 2010 at 12:23 PM, Justin Bronder wrote: > Good suggestion.  That's actually preferable to being triggered by enabling > python and being part of the default make install. Not sure if this is the best way to do this, but here goes (patch against top level Makefile.am):

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-29 Thread Justin Bronder
On 29/06/10 11:39 -0700, Bernard Li wrote: > Hi Justin: > > On Tue, Jun 29, 2010 at 11:29 AM, Justin Bronder wrote: > > > Instead of installing to moduledir, perhaps they could be installed to > > $datadir/examples or something similar?  That make things a lot easier on at > > least one packager

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-29 Thread Bernard Li
Hi Justin: On Tue, Jun 29, 2010 at 11:29 AM, Justin Bronder wrote: > Instead of installing to moduledir, perhaps they could be installed to > $datadir/examples or something similar?  That make things a lot easier on at > least one packager :) Via a new target like `make install gmond_module_exa

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-29 Thread Justin Bronder
On 26/06/10 11:56 +, Carlo Marcelo Arenas Belon wrote: > On Fri, Jun 25, 2010 at 01:26:37PM -0700, Bernard Li wrote: > > > > The following patch will install the gmond module (including python) > > config files to the sysconfdir > > this would trigger gmond to segfault unless it was linked ag

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-29 Thread Carlo Marcelo Arenas Belon
On Mon, Jun 28, 2010 at 12:17:03PM -0700, Bernard Li wrote: > On Sat, Jun 26, 2010 at 4:56 AM, Carlo Marcelo Arenas Belon > wrote: > > > this would trigger gmond to segfault unless it was linked against > > libconfuse 2.7 or it also has a default gmond.conf file created. > > Actually, gmond woul

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-28 Thread Bernard Li
Hi Carlo: On Mon, Jun 28, 2010 at 12:17 PM, Bernard Li wrote: > One way to fix this, is to only include this line when we are trying > to output this to standard out via `gmond -t`.  This way gmond can > still function without a configuration file, and the default > configuration outputting stil

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-28 Thread Bernard Li
Hi Carlo: On Sat, Jun 26, 2010 at 4:56 AM, Carlo Marcelo Arenas Belon wrote: > this would trigger gmond to segfault unless it was linked against > libconfuse 2.7 or it also has a default gmond.conf file created. Actually, gmond would segfault with or without this patch, this is because the defa

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-26 Thread Carlo Marcelo Arenas Belon
On Fri, Jun 25, 2010 at 01:26:37PM -0700, Bernard Li wrote: > > The following patch will install the gmond module (including python) > config files to the sysconfdir this would trigger gmond to segfault unless it was linked against libconfuse 2.7 or it also has a default gmond.conf file created.

Re: [Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-25 Thread Bernard Li
Since not all modules work on all platforms, perhaps we should install them but not enable them by default. In that case the user/packager can selectively choose which modules to enable? I'll have to think about this... Cheers, Bernard On Fri, Jun 25, 2010 at 1:26 PM, Bernard Li wrote: > Hi a

[Ganglia-developers] Install gmond module config files, python modules and config files by default

2010-06-25 Thread Bernard Li
Hi all: The following patch will install the gmond module (including python) config files to the sysconfdir as well as the python modules to moduledir when `make install` is executed: Index: gmond/modules/status/Makefile.am === --- g