First all you go way too far with my approach.

On 2006-09-04 15:41:32 +0100, [EMAIL PROTECTED] wrote:
> your envionment certainly sounds like it is under control,
> but in mine, the engineered Linux build has packages that in some
> instances are really quite old. Old enough for the Ganglia build to
> barf.
> 
> In some cases a fix would have been easy because the package was not
> there at
> all. And because I control the Ganglia servers they were not too much
> trouble
> with them anyway.
> 
> But we are an investment bank. Some of our monitored hosts are related
> to trading,
> pricing, and quants (HPC for risk etc). If the ganglia agent is provably
> self contained,
> placing it on these system is OK. But if we wanted to upgrade a 3rd
> party package
> we would need to ensure the packages/libraries were not used by the apps
> teams,
> and if they were, go through a build, test, release cycle for the app
> code.
> work work work.
> 
> So while I head what you say, I prefer static (Or dynamic but using the
> copies
> of the 3rd party libraries stored in the ganglia tree).

lets say you stuff all your stuff in /opt/ganglia to avoid conflicts
with system libraries

cd expat*/
./configure --prefix=/opt/ganglia && make && make install
cd ../confuse*/
./configure --prefix=/opt/ganglia && make && make install
cd ../apr*/
./configure --with-expat=/opt/ganglia --prefix=/opt/ganglia && make && make 
install
cd ../ganglia*/
./configure --with-expat=/opt/ganglia --prefix=/opt/ganglia
--with-apr=/opt/ganglia --with-confuse=/opt/ganglia --enable-static 
--disable-shared \
&& make && make install
cd .. ; echo done

that is not a bit harder for you.
now you could also implement the same logic as found in the svn
configure. it tries to find system libraries (in standard searchpaths
or via configure params.), if nothing is found than it falls back to
the intree copy.

from a packagers side it sucks atm. because you either have to live with
intree copies or patch the build heavily to avoid that. atm i dont
update the package as i have no time for the build system and i dont
want to have the intree libraries.

darix

-- 
          openSUSE - SUSE Linux is my linux
              openSUSE is good for you
                  www.opensuse.org

Reply via email to