Vladimir Vuksan wrote:
> Little gripe about 3.1.4 (and looks like 3.1.3). Apparently SYSCONFDIR
> has been changed to
>
> /etc
>
> instead of
>
> /etc/ganglia
>
> in the Makefile. This "breaks" the RPMS since the SPEC files are
> configured to use /etc/ganglia and gmond will fail at startup :-(.
> Perhaps we should be careful when making such changes since they
> result in a lot of work arounds.
In which Makefile? All Makefiles should rely on $(sysconfdir), e.g:
gmond/Makefile.am:AM_CFLAGS = -I$(top_builddir)/lib
-I$(top_builddir)/include/ -I$(top_builddir)/libmetrics $(GCFLAGS)
-DSYSCONFDIR='"$(sysconfdir)"'
If you can show any instance where it still refers to etc instead of
$(sysconfdir), it shouldn't be hard to fix it for 3.1.5 which will come
soon anyway.
This is what is in the spec file, I believe it works correctly:
%define conf_dir /etc/ganglia
...
%build
%ifnarch noarch
%configure --with-gmetad --enable-status --sysconfdir=%{conf_dir}
make
%endif
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers