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

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

 



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@xxxxxxxxxxxxxxxxx

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux