summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomek Mrugalski <tomek@isc.org>2022-02-07 13:14:44 +0100
committerTomek Mrugalski <tomek@isc.org>2022-02-07 13:14:44 +0100
commitbfb37c0eecda15af0d382a7ce8603f2405f6ec9d (patch)
treee3656ff5b00a96cebfb237cfe10ae366eb7948c0
parent9ea5696deba3c0ca9b325d14b450e4af5777c714 (diff)
downloadisc-dhcp-225-dev-guide-atf-ubuntu21.04.tar.gz
[#225] Updated ATF build instructions for ubuntu 21.04225-dev-guide-atf-ubuntu21.04
-rw-r--r--doc/devel/atf.dox17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/devel/atf.dox b/doc/devel/atf.dox
index aee064ae..a22f0d45 100644
--- a/doc/devel/atf.dox
+++ b/doc/devel/atf.dox
@@ -152,6 +152,19 @@ into default locations for simplicity. If you want to use
custom installation paths, you may have to set additional environment
variables, library paths, and the like.
+For more modern systems, the old ATF 0.19 no longer builds, and a small fix
+in its sources is necessary. Edit toosl/requirements.cpp and replace:
+
+@verbatim
+#include <sys/sysctl.h>
+@endverbatim
+
+with
+
+@verbatim
+#include <linux/sysctl.h>
+@endverbatim
+
Before we install kyua, we must install its dependencies: lua, sqlite3,
ATF, and lutok
@@ -159,8 +172,8 @@ ATF, and lutok
# lua and sqlite3 have packages, we'll use them
-$ apt-get install liblua5.1-0-dev
-$ apt-get install libsqlite3-dev
+$ sudo apt-get install liblua5.1-0-dev
+$ sudo apt-get install libsqlite3-dev
# Fetch, build, and install the latest version of ATF