I've tried to install midnight commander on centos3.1 final. No luck in installing it via yum install. When I download src.rpm from centos2 updates SRPMS I couldn't rebuild it. RPM --rebuild mc*.src.rpm didn't work (no rebuild option). What can I do then ? Best Regards Cooba
Add this to /etc/popt: rpm exec --bp rpmb -bp rpm exec --bc rpmb -bc rpm exec --bi rpmb -bi rpm exec --bl rpmb -bl rpm exec --ba rpmb -ba rpm exec --bb rpmb -bb rpm exec --bs rpmb -bs rpm exec --tp rpmb -tp rpm exec --tc rpmb -tc rpm exec --ti rpmb -ti rpm exec --tl rpmb -tl rpm exec --ta rpmb -ta rpm exec --tb rpmb -tb rpm exec --ts rpmb -ts rpm exec --rebuild rpmb --rebuild rpm exec --recompile rpmb --recompile rpm exec --clean rpmb --clean rpm exec --rmsource rpmb --rmsource rpm exec --rmspec rpmb --rmspec rpm exec --target rpmb --target rpm exec --short-circuit rpmb --short-circuit And create a symbolic lynk for rpmbuild to rpmb. Jakub Wojtanowski wrote:>I've tried to install midnight commander on centos3.1 final. No luck in >installing it via yum install. When I download src.rpm from centos2 updates >SRPMS I couldn't rebuild it. RPM --rebuild mc*.src.rpm didn't work (no >rebuild option). What can I do then ? > >Best Regards >Cooba > > >_______________________________________________ >CentOS mailing list >CentOS at caosity.org >http://www.caosity.org/mailman/listinfo/centos > > >
I used mc-4.6.0-9.i386.rpm and it worked fine, but I wanted to know why rpm --rebuild didn't work. As for Tom's advice I don't have /etc/popt . Guess I need to create one Best Regards Cooba> I used the following link >ftp://195.220.108.108/linux/redhat/updates/9/en/os/i386/mc-4.6.0-7.9.i386.rp> m which is running fine on my system.
On Tue, 11 May 2004, Jakub Wojtanowski wrote:> SRPMS I couldn't rebuild it. RPM --rebuild mc*.src.rpm didn't work (noThe former rpm --rebuild mc*src.rpm option has been out of RPM for about three years now Install the package rpm-build, and the process: rpmbuild --rebuild mc*src.rpm should work if you otherwise have a consistent building environment. The current best practice in rpm building is to do so as non-root, in a clean build chroot. Google will offer some links -- more are at: http://www.herrold.com/caos/ and were written or compiled incident to the cAos project, of which CentOS is a member -- Russ Herrold