I'm trying to install the new version from ganglia, which provides a
My procedure was uncompress the
tar.gz file, enter in the folder and then makes
rpmbuild -ba ganglia.spec, a warning message is given saying about the dependencies libraries missing, then I install them via
yum, then gives the
rpmbuild again, which generates some
.rpm files at
/usr/src/RPM/ I did this in a centOS 5 and centOS 6. Then install it in some servers.
I wonder if what I'm doing is correct ? (I read some tutorials over the internet only)
A friend of mine said that this is wrong, that this
.rpm that I generate is like
compile and will work only for servers with exactly hardware only, is that right ?
What is the correct way to build an
.rpm package from
.tar.gz file ?