Building boost-1.39.0-3.fc12.src.rpm on Fedora11
Jussi Lehtola
jussilehtola at fedoraproject.org
Tue Jul 21 20:14:16 UTC 2009
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 at fedoraproject.org
More information about the fedora-devel-list
mailing list