Hi Ben!

On Tuesday, 28 March 2006 19:30, Ben Hartshorne wrote:
> Miguel,
> I look forward to trying this out.  You say 'Installation requires
> ganglia to be installed using the source code.' - I am curious what
> files you require.  I installed ganglia using an RPM, and would like
> to bring in only the files I need.  Is this a bad idea?  What do you
> recommend?  (and why would a compiled C program require sources to
> run with other compiled programs?)

        It's needed mostly to linking with several libraries (libganglia, 
libconfuse, lidapr-0, libmetrics, libgetopthelper) that come with 
ganglia and are not required to be instaled installed on the host. At 
least as far as I could tell.

        As such it's kind of hard to say what files are needed. It might be 
easier to just download the ganglia-3.0.2.tar.gz, run configure and 
make. No need to run make install. I guess that as long as the tar.gz 
and the rpm have the same version everything would be ok.

        Then run JVMProbe configure with --ganglia=(directory where the ganglia 
sources are) and it should compile with no problems.

        In the linking part it will give some warnings due to static linking 
with a shared lib (glibc). I'll try to find out what is the correct way 
of doing this, but in appears that no side effect show up.

        I'll try to find a way to build a rpm that works out of the box, but 
that's something that is news to me (both the building rpm and the out 
of the box stuff ;).

                        Miguel Tavares

-- 

"Until they become conscious they will never rebel,
 and until after they have rebelled they cannot become conscious."

        - George Orwell's 1984 - 

Attachment: pgpOdFhTqthQB.pgp
Description: PGP signature

Reply via email to