summaryrefslogtreecommitdiffstats
path: root/doc/developer/building-frr-for-freebsd11.rst
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-14 19:29:18 +0100
committerRenato Westphal <renato@opensourcerouting.org>2019-01-14 19:34:33 +0100
commit0e3bfb0df7256d58364665374dc198c2ba1b8dde (patch)
tree8a1cc060b0a05ab9a0a6e6e9d4571cbea9db8c85 /doc/developer/building-frr-for-freebsd11.rst
parentlib: update suggestions related to some northbound errors (diff)
downloadfrr-0e3bfb0df7256d58364665374dc198c2ba1b8dde.tar.xz
frr-0e3bfb0df7256d58364665374dc198c2ba1b8dde.zip
doc: update build instructions for freebsd on how to obtain libyang
Unfortunately the first version of the FreeBSD libyang port contained a bug in which the libyang pkginfo file wasn't being installed correctly in the system, and this prevented the FRR build system from detecting the library. This bug was already fixed months ago but some FreeBSD package repositories still have the old bugged version of the port. This means we can't suggest people to install libyang using "pkg install" since this causes problems for most people. In this case, suggest FreeBSD users to build and install libyang manually as we suggest for other BSD platforms. This commit should be reverted once all FreeBSD package repositories are updated with the new version of the libyang port. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r--doc/developer/building-frr-for-freebsd11.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/developer/building-frr-for-freebsd11.rst b/doc/developer/building-frr-for-freebsd11.rst
index 9bef1fbfd..16d06e0a6 100644
--- a/doc/developer/building-frr-for-freebsd11.rst
+++ b/doc/developer/building-frr-for-freebsd11.rst
@@ -17,12 +17,14 @@ is first package install and asked)
.. code-block:: shell
pkg install git autoconf automake libtool gmake gawk json-c pkgconf \
- bison flex py27-pytest c-ares python3 py36-sphinx texinfo libyang
+ bison flex py27-pytest c-ares python3 py36-sphinx texinfo
Make sure there is no /usr/bin/flex preinstalled (and use the newly
installed in /usr/local/bin): (FreeBSD frequently provides a older flex
as part of the base OS which takes preference in path)
+.. include:: building-libyang.rst
+
.. code-block:: shell
rm -f /usr/bin/flex