Thanks Aaron! __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840
Aaron Sherman <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/07/2005 08:28 AM To Ranga Nathan <[EMAIL PROTECTED]> cc [email protected] Subject Re: [Boston.pm] may be OT: Heard of chkinstall, a utility to build RPMs ? On Tue, 2005-12-06 at 15:10 -0800, Ranga Nathan wrote: > I believe there is a utility to build RPMs from normal tar.gz distro. In > order to keep things consistent, I would like to build an RPM of Nagios 2x > beta for SuSE9 (intel). Of course, creating an RPM from a tar ball is a fairly simple operation even without such a tool. Spec files are easy to write, and once you do that, you place your tar ball into /usr/src/X/SOURCES (X=redhat on my system, but I'm sure SuSE puts it somewhere else). Then run "rpmbuild -ba /usr/src/X/SPECS/yourpackage.spec" and you get an SRPM and RPM(s). Thanks, that helped. When I proceeded to rpmbuild, I got some dependency errors. Took care of them and it worked. Then "rpm -i .." installed it. If you need guidance on what a spec file should contain, just grab the SRPM for any random package in your distribution, install it and look at its spec file. They're like a Makefile, but with a bit more regular structure. Thanks again. -- Aaron Sherman <[EMAIL PROTECTED]> Senior Systems Engineer and Toolsmith "We had some good machines, but they don't work no more." -Shriekback _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

