On Mon, Feb 14, 2011 at 09:40:27PM +0100, Louis Coilliot wrote: > Hello, these are my partial and personal notes on this subject. Hope this > helps. > > Please let me know when you'll have a link to your document about the > deployment steps on el5 > > Louis > > # Build and compilation on el5 x86_64, prereqs: > yum -y install libpng-devel libart_lgpl-devel gcc-c++ python-devel > freetype-devel > yum -y install apr-devel.x86_64 expat-devel.x86_64 > yum remove expat-devel.i386 apr-devel.i386 > # with the repository EPEL: > yum -y install rrdtool-devel libconfuse-devel > > # 3.1.1: > rpmbuild --rebuild --define 'dist.el5' ganglia-3.1.1-1.src.rpm > > # 3.1.2 and 3.1.7: > sed -i 's/^\(Release:[\t ][\t ]*[0-9]\)[\t ]*$/\1.el5/g' ganglia.spec > rpmbuild -bb ganglia.spec > > # for ganglia-web: > rpmbuild -bb --target noarch ganglia.spec
To add to the above, I noticed that the only place that I saw the RPM generation documented was in the comments at the head of the ganglia.spec: # grep rpmbuild ganglia.spec # % rpmbuild -ta --target noarch,i386 ganglia-3.1.7.tar.gz Obviously, that 'i386' should be replaced with 'x86_64' for most people. HTH, -- Gabe Turner [email protected] HPC Systems Administrator, University of Minnesota Supercomputing Institute http://www.msi.umn.edu ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

