From d7a6a6aaf754d72df7ee9c756cd3cc732e492890 Mon Sep 17 00:00:00 2001 From: AndreiCherniaev Date: Mon, 24 Mar 2025 16:34:48 +0900 Subject: [PATCH 1/5] README: fix dependencies Tested in Ubuntu 24. Fix err: config.status: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See 'config.log' for more details --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 7cbc9965..4f5c9b6a 100644 --- a/README +++ b/README @@ -39,7 +39,7 @@ If you compile Gpredict from source you will also need the development packages often with -dev or -devel in the package name, e.g. libgtk-3-dev. On Debian and Ubuntu systems you can install the build dependencies using: - sudo apt install libtool intltool autoconf automake libcurl4-openssl-dev + sudo apt install libtool intltool autoconf automake libcurl4-openssl-dev make sudo apt install pkg-config libglib2.0-dev libgtk-3-dev libgoocanvas-2.0-dev From 8efafb3b418ef80f626b1f552a8efd1f9403a519 Mon Sep 17 00:00:00 2001 From: AndreiCherniaev Date: Mon, 24 Mar 2025 16:59:51 +0900 Subject: [PATCH 2/5] README: fix example --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 4f5c9b6a..8878983c 100644 --- a/README +++ b/README @@ -58,7 +58,7 @@ the required permissions to install gpredict. If you can not or do not want to install gpredict as root, you can install gpredict into a custom directory by adding --prefix=somedir to the ./configure step. For example - ./configure --prefix=/home/user/predict + ./configure --prefix="$HOME/predict" will configure the build to install the files into /home/user/gpredict folder. From b62f0311cd4e50677885086c512c901ba7b60b8e Mon Sep 17 00:00:00 2001 From: AndreiCherniaev Date: Mon, 24 Mar 2025 17:03:13 +0900 Subject: [PATCH 3/5] README: make multi-threaded Thanks https://unix.stackexchange.com/a/483306/481341 --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 8878983c..fd326958 100644 --- a/README +++ b/README @@ -50,7 +50,7 @@ To build and install gpredict from source, first unpack the source package: Then change to the gpredict-x.y.z directory and build gpredict: ./configure - make + make -j$(( $(nproc) + 1)) make install The last step usually requires you to become root, otherwise you may not have From a938ff5bbcab46b2278d2af9c71f32b5ba4c17a9 Mon Sep 17 00:00:00 2001 From: AndreiCherniaev Date: Mon, 24 Mar 2025 17:20:30 +0900 Subject: [PATCH 4/5] README: fix typo in folder name --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index fd326958..32b8d85b 100644 --- a/README +++ b/README @@ -60,7 +60,7 @@ adding --prefix=somedir to the ./configure step. For example ./configure --prefix="$HOME/predict" -will configure the build to install the files into /home/user/gpredict folder. +will configure the build to install the files into /home/user/predict folder. If you are building directly from the git repository, you have to run ./autogen.sh instead of of configure. You can pass the same options to the From 5c8b505105e2a43787155dbc6aed39c97b5b2b34 Mon Sep 17 00:00:00 2001 From: AndreiCherniaev Date: Tue, 25 Mar 2025 10:45:14 +0900 Subject: [PATCH 5/5] README: fix dependencies Use dh-autoreconf package instead of libtool, autoconf, automake. This commit should improve compatibility with modern OS, see https://wiki.debian.org/Autoreconf Tested in Ubuntu 24 --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 32b8d85b..49ef7559 100644 --- a/README +++ b/README @@ -39,7 +39,7 @@ If you compile Gpredict from source you will also need the development packages often with -dev or -devel in the package name, e.g. libgtk-3-dev. On Debian and Ubuntu systems you can install the build dependencies using: - sudo apt install libtool intltool autoconf automake libcurl4-openssl-dev make + sudo apt install dh-autoreconf intltool libcurl4-openssl-dev make sudo apt install pkg-config libglib2.0-dev libgtk-3-dev libgoocanvas-2.0-dev