@@ -40,11 +40,17 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24.
4040 You should enable ``PowerTools`` repo if using CentOS 8 which
4141 is disabled by default.
4242
43- 4. Checkout FRR::
43+ 4. Add librtr-devel. Install librtr-devel from rpm.frrouting.org
44+ repository (See https://rpm.frrouting.org to add repository
45+ if it's not yet added)
46+
47+ yum install librtr-devel
48+
49+ 5. Checkout FRR::
4450
4551 git clone https://github.com/frrouting/frr.git frr
4652
47- 5 . Run Bootstrap and make distribution tar.gz::
53+ 6 . Run Bootstrap and make distribution tar.gz::
4854
4955 cd frr
5056 ./bootstrap.sh
@@ -56,15 +62,15 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24.
5662 The only ``configure`` option respected when building RPMs is
5763 ``--with-pkg-extra-version``.
5864
59- 6 . Create RPM directory structure and populate with sources::
65+ 7 . Create RPM directory structure and populate with sources::
6066
6167 mkdir rpmbuild
6268 mkdir rpmbuild/SOURCES
6369 mkdir rpmbuild/SPECS
6470 cp redhat/*.spec rpmbuild/SPECS/
6571 cp frr*.tar.gz rpmbuild/SOURCES/
6672
67- 7 . Edit :file: `rpm/SPECS/frr.spec ` with configuration as needed.
73+ 8 . Edit :file: `rpm/SPECS/frr.spec ` with configuration as needed.
6874
6975 Look at the beginning of the file and adjust the following parameters to
7076 enable or disable features as required::
@@ -89,7 +95,7 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24.
8995 %{!?with_pimd: %global with_pimd 1 }
9096 %{!?with_rpki: %global with_rpki 0 }
9197
92- 8 . Build the RPM::
98+ 9 . Build the RPM::
9399
94100 rpmbuild --define "_topdir `pwd`/rpmbuild" -ba rpmbuild/SPECS/frr.spec
95101
0 commit comments