From 5a6df94a9a4b2a2c16c5184c37e215302574b90b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 12 Jan 2024 10:42:05 +0100 Subject: speedo: Patch ELF binaries to use built libraries * build-aux/speedo.mk: Remove GUI stuff. Add patchelf feature. * Makefile.am (speedo): New target. -- GnuPG-bug-id: 6710 --- README | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'README') diff --git a/README b/README index 8fc906bb5..02e0fedd4 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ Copyright 1997-2019 Werner Koch Copyright 1998-2021 Free Software Foundation, Inc. - Copyright 2003-2023 g10 Code GmbH + Copyright 2003-2024 g10 Code GmbH * INTRODUCTION @@ -40,7 +40,7 @@ Several other standard libraries are also required. The configure script prints diagnostic messages if one of these libraries is not - available and a feature will not be available.. + available and a feature will not be available. You also need the Pinentry package for most functions of GnuPG; however it is not a build requirement. Pinentry is available at @@ -80,15 +80,16 @@ to view the directories used by GnuPG. +** Quick build method on Unix + To quickly build all required software without installing it, the - Speedo method may be used: + Speedo target may be used: - cd build - make -f ../build-aux/speedo.mk native + make speedo - This method downloads all required libraries and does a native build - of GnuPG to PLAY/inst/. GNU make is required and you need to set - LD_LIBRARY_PATH to $(pwd)/PLAY/inst/lib to test the binaries. + This target downloads all required libraries and does a native build + of GnuPG to PLAY/inst/. GNU make and the patchelf tool are + required. Follow the instructions give at the end of the make run. ** Specific build problems on some machines: -- cgit v1.2.3 From 3f12e3dacbe65b4847eb2ba3b19ae6ee82c6217d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 12 Jan 2024 13:25:06 +0100 Subject: speedo: Add install target for Unix. * build-aux/speedo.mk: Default to SELFCHECK=0. (install, install-speedo): New targets. -- GnuPG-bug-id: 6710 --- README | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 02e0fedd4..13205c275 100644 --- a/README +++ b/README @@ -85,11 +85,18 @@ To quickly build all required software without installing it, the Speedo target may be used: - make speedo + make -f build-aux/speedo.mk native This target downloads all required libraries and does a native build of GnuPG to PLAY/inst/. GNU make and the patchelf tool are - required. Follow the instructions give at the end of the make run. + required. After the build the entire software including all + libraries can be installed into an arbitrary location using for + example: + + make -f build-aux/speedo.mk install SYSROOT=/usr/local/gnupg-foo + + and adding the directory to PATH. + ** Specific build problems on some machines: -- cgit v1.2.3 From b7c15948610b8c0a94f978860ba8123082f5836e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 23 Jan 2024 09:04:10 +0100 Subject: speedo: Minor fix to the install target -- --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 13205c275..b979234ce 100644 --- a/README +++ b/README @@ -93,9 +93,9 @@ libraries can be installed into an arbitrary location using for example: - make -f build-aux/speedo.mk install SYSROOT=/usr/local/gnupg-foo + make -f build-aux/speedo.mk install SYSROOT=/usr/local/gnupg24 - and adding the directory to PATH. + and adding /usr/local/gnupg24/bin to PATH. ** Specific build problems on some machines: -- cgit v1.2.3 From fd6c38605a0b3c19f5c33d7062625fde6cb3bb58 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 23 Jan 2024 14:19:40 +0100 Subject: speedo: Add a hint to run ldconfig -- --- README | 1 + 1 file changed, 1 insertion(+) (limited to 'README') diff --git a/README b/README index b979234ce..a1e989356 100644 --- a/README +++ b/README @@ -94,6 +94,7 @@ example: make -f build-aux/speedo.mk install SYSROOT=/usr/local/gnupg24 + ldconfig -n /usr/local/gnupg24/lib and adding /usr/local/gnupg24/bin to PATH. -- cgit v1.2.3