2004-01-07, 07:18 PM
If you happen to find something you need but is not in rpm, the easy way is to use checkinstall to build one.
Get the checkinstall binary here: [/url][url=http://freshmeat.net/projects/checkinstall...C41%2C147%2C257]http://freshmeat.net/projects/checkinstall...C41%2C147%2C257
The only trick to using checkinstall is you replace make install with it.
example using fluxbox:
untar and gunzip the file
[jsw34@shadow sources]$ tar -xvzf fluxbox-0.1.14.tar.gz
cd into source dir
[jsw34@shadow sources]$ cd fluxbox-0.1.14
configure; make; and run checkinstall
[jsw34@shadow sources]$ ./configure && make && checkinstall
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: <ENTER>
Please choose the packaging method you want to use.
Slackware , RPM [R] or Debian [D]? R <ENTER>
Please write a description for the package.
End your description with an empty line or EOF.
>> My rpm
>> <ENTER>
you can edit the build values on the next screen or just hit ENTER to continue with the defaults.
Now it will build the rpm and install it.
Done. The new package has been installed and saved to
/usr/src/redhat/RPMS/i386/fluxbox-0.1.14-1.i386.rpm
voila!
If you have to use source, I highly reccommend using this tool. You will have accountability for everything you install and its really simple to remove or upgrade the package.
The rpms you build will be for the architecture you are using, however you can usually use them on newer releases, It may ask you for some newer dependencies though.