Click to See Complete Forum and Search --> : RPMBUILDING a .tar.bz2


vhg119
06-12-2004, 10:11 PM
I'm trying to build rpms of courier.imap from the .tar.bz2 package.

i know that i have to do a 'rpm -tb package.tar.bz2' but there are some configure options that i'll need the package to compile with..
do I just uncompress everything, do a ./configure with the flags i need, and then compress it back and then do a rpmbuild?
Or is there an option with rpmbuild to include the ./configure flags?
thanks,
vince

mdwatts
06-13-2004, 09:19 AM
Originally posted by vhg119

Or is there an option with rpmbuild to include the ./configure flags?


Anything in the rpmbuild manpage (man rpmbuild) on passing flags to configure?

I would just use checkinstall (search freshmeat.net for the package or see if it's already installed)

./configure --<options>
make
checkinstall

Checkinstall then builds a rpm package while executing the 'make install' step.

davidismith
10-12-2005, 05:16 PM
Does checkinstall actually install the package when doing the "make install", or does it simply track the process that "make install" goes through, in order to build the rpm? If the former, of what use is checkinstall, since the package has been installed via the "make install"?