From 62d504841e30fda0008a4343b55243b9991a83b3 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 11 Feb 2023 10:32:21 +0000 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a083911c..da2e9a83b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ If you are building CHERI on a Debian/Ubuntu-based machine, the following comman the most commonly used cheribuild targets: ```shell -apt install autoconf automake libtool pkg-config clang bison cmake mercurial ninja-build samba flex texinfo time libglib2.0-dev libpixman-1-dev libarchive-dev libarchive-tools libbz2-dev libattr1-dev libcap-ng-dev libexpat1-dev libgmp-dev +apt install autoconf automake libtool pkg-config clang bison cmake mercurial ninja-build samba flex texinfo time libglib2.0-dev libpixman-1-dev libarchive-dev libarchive-tools libbz2-dev libattr1-dev libcap-ng-dev libexpat1-dev libgmp-dev libstdc++-12-dev ``` Older versions of Ubuntu may report errors when trying to install `libarchive-tools`. In this case try using `apt install bsdtar` instead. From 10526e0c69a3ace39ad1c105baf4e6ccd707a20f Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 11 Feb 2023 11:31:20 +0000 Subject: [PATCH 2/3] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index da2e9a83b..abbb52fc4 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,13 @@ If you are building CHERI on a Debian/Ubuntu-based machine, the following comman the most commonly used cheribuild targets: ```shell -apt install autoconf automake libtool pkg-config clang bison cmake mercurial ninja-build samba flex texinfo time libglib2.0-dev libpixman-1-dev libarchive-dev libarchive-tools libbz2-dev libattr1-dev libcap-ng-dev libexpat1-dev libgmp-dev libstdc++-12-dev +apt install autoconf automake libtool pkg-config clang bison cmake mercurial ninja-build samba flex texinfo time libglib2.0-dev libpixman-1-dev libarchive-dev libarchive-tools libbz2-dev libattr1-dev libcap-ng-dev libexpat1-dev libgmp-dev ``` Older versions of Ubuntu may report errors when trying to install `libarchive-tools`. In this case try using `apt install bsdtar` instead. +If you later get errors like `fatal error: 'new' file not found` this is probably because you have `gcc-` installed but not the corresponding `g++-` which causis `clang++` to select the wrong include directory. Uninstall `gcc` or install `g++` or install an appropriate `libstdc++`. + #### RHEL/Fedora If you are building CHERI on a RHEL/Fedora-based machine, the following command will install the packages required for the most commonly used cheribuild targets: From 00cc7fb112c4275a427aeb06ccddd3f2d25acf14 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 11 Feb 2023 15:19:28 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index abbb52fc4..6b52ccfc8 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ apt install autoconf automake libtool pkg-config clang bison cmake mercurial nin Older versions of Ubuntu may report errors when trying to install `libarchive-tools`. In this case try using `apt install bsdtar` instead. -If you later get errors like `fatal error: 'new' file not found` this is probably because you have `gcc-` installed but not the corresponding `g++-` which causis `clang++` to select the wrong include directory. Uninstall `gcc` or install `g++` or install an appropriate `libstdc++`. +If you later get errors like `fatal error: 'new' file not found` this is probably because you have `gcc-` installed but not the corresponding `g++-` which causes `clang++` to select the wrong include directory. Uninstall `gcc` or install `g++` or install an appropriate `libstdc++`. #### RHEL/Fedora If you are building CHERI on a RHEL/Fedora-based machine, the following command will install the packages required for