[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Building boost-1.39.0-3.fc12.src.rpm on Fedora11



On Tue, 2009-07-21 at 15:31 -0400, Martin Dubuc wrote:
> I was successful building boost 1.39.0 from rawhide source RPM (using
> boost-1.39.0-3.fc12.src.rpm) for RHEL 5.3. Now, I need to compile the
> same package on a Fedora 11 server but I am getting some build error
> in the process:
> 
> # rpm -ivh boost-1.39.0-3.fc12.src.rpm
> # cd /root/rpmbuild/SPECS
> # rpmbuild -bb boost.spec

DO NOT BUILD RPMS AS ROOT! EVER!
For example, a single wrongly placed 'rm' in the spec file can botch
your system. To build RPMS:

Make sure the following packages are installed
# yum -y install rpmdevtools redhat-rpm-macros

Setup an rpm build tree in your homedir
$ rpmdev-setuptree
and build the rpm with
$ rpmbuild --rebuild boost-1.39.0-3.fc12.src.rpm

Or, even better, you can use mock.
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola fedoraproject org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]