From b91ac21979ecc420a3d3aeafbdf6969e6c0b88cc Mon Sep 17 00:00:00 2001 From: Ian Norton Date: Tue, 19 Nov 2024 12:02:13 +0000 Subject: [PATCH 1/4] Update the INSTALL file with more instructions for building from git. Mention that source tarballs are the recommended sources to use Update the github actions to include pkg-config --- .github/workflows/build-linux.yml | 2 +- INSTALL | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 5e699c42..a266d299 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -15,7 +15,7 @@ jobs: - name: dependencies run: | sudo apt update - sudo apt install autotools-dev autoconf automake libtool libssl-dev libnss3-dev libmbedtls-dev libgnutls28-dev + sudo apt install autotools-dev autoconf automake libtool libssl-dev libnss3-dev libmbedtls-dev libgnutls28-dev pkg-config make - name: gen run: | autoreconf -ivf diff --git a/INSTALL b/INSTALL index c22ad06c..eefed67d 100644 --- a/INSTALL +++ b/INSTALL @@ -13,12 +13,23 @@ POSIX OpenSSL>=0.9.7 doc: (Optional) doxygen>=1.4 + build: + pkg-config + autoconf 2.70 or later - Build: + Build from a released sources tar.gz archive (recommended): $ ./configure $ make $ make install + Build from a git clone: + Ensure you have pkg-config and autotools, eg on ubuntu 22.04: + $ sudo apt install autotools-dev autoconf automake libtool libssl-dev libnss3-dev libmbedtls-dev libgnutls28-dev pkg-config make + $ autoreconf -ivf + $ ./configure + $ make + $ make install + Cross-MinGW32 Dependencies: man2html From 4795a76124f499209d49e47303229353763c5650 Mon Sep 17 00:00:00 2001 From: Ian Norton Date: Tue, 19 Nov 2024 12:11:34 +0000 Subject: [PATCH 2/4] Mention how to build on RHEL type distros --- INSTALL | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index eefed67d..36666a72 100644 --- a/INSTALL +++ b/INSTALL @@ -23,13 +23,23 @@ POSIX $ make install Build from a git clone: - Ensure you have pkg-config and autotools, eg on ubuntu 22.04: + Ensure you have pkg-config and autotools, + + ubuntu 22.04: $ sudo apt install autotools-dev autoconf automake libtool libssl-dev libnss3-dev libmbedtls-dev libgnutls28-dev pkg-config make $ autoreconf -ivf $ ./configure $ make $ make install + RockyLinux / Fedora / RHEL: + $ sudo yum install epel-release + $ sudo yum install git pkg-config openssl-devel libtool make autoconf2.7x + $ autoreconv27 -ivf + $ ./configure + $ make + $ make install + Cross-MinGW32 Dependencies: man2html From 360e6ded377847783f51615e035ef56555682c73 Mon Sep 17 00:00:00 2001 From: Ian Norton Date: Tue, 19 Nov 2024 13:45:59 +0000 Subject: [PATCH 3/4] Fix typo --- INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 36666a72..bb31f78d 100644 --- a/INSTALL +++ b/INSTALL @@ -35,7 +35,7 @@ POSIX RockyLinux / Fedora / RHEL: $ sudo yum install epel-release $ sudo yum install git pkg-config openssl-devel libtool make autoconf2.7x - $ autoreconv27 -ivf + $ autoreconf27 -ivf $ ./configure $ make $ make install From fff6d1f99c612713b61dd2ca6dbe22e0726cf20a Mon Sep 17 00:00:00 2001 From: Ian Norton Date: Tue, 19 Nov 2024 13:48:20 +0000 Subject: [PATCH 4/4] Use tabs in INSTALL for indent --- INSTALL | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/INSTALL b/INSTALL index bb31f78d..5b872cf8 100644 --- a/INSTALL +++ b/INSTALL @@ -23,22 +23,22 @@ POSIX $ make install Build from a git clone: - Ensure you have pkg-config and autotools, + Ensure you have pkg-config and autotools, - ubuntu 22.04: - $ sudo apt install autotools-dev autoconf automake libtool libssl-dev libnss3-dev libmbedtls-dev libgnutls28-dev pkg-config make - $ autoreconf -ivf - $ ./configure - $ make - $ make install + ubuntu 22.04: + $ sudo apt install autotools-dev autoconf automake libtool libssl-dev libnss3-dev libmbedtls-dev libgnutls28-dev pkg-config make + $ autoreconf -ivf + $ ./configure + $ make + $ make install - RockyLinux / Fedora / RHEL: - $ sudo yum install epel-release - $ sudo yum install git pkg-config openssl-devel libtool make autoconf2.7x - $ autoreconf27 -ivf - $ ./configure - $ make - $ make install + RockyLinux / Fedora / RHEL: + $ sudo yum install epel-release + $ sudo yum install git pkg-config openssl-devel libtool make autoconf2.7x + $ autoreconf27 -ivf + $ ./configure + $ make + $ make install Cross-MinGW32 Dependencies: