OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
156 stars 87 forks source link

1.5.16: syntax error near unexpected token `AM_GNU_GETTEXT' #264

Closed sibskull closed 2 years ago

sibskull commented 2 years ago
./configure: line 2642: syntax error near unexpected token `AM_GNU_GETTEXT'
./configure: line 2642: `AX_REQUIRE_DEFINED(AM_GNU_GETTEXT)'

1.5.15 built OK.

sibskull commented 2 years ago

Following patch helps:

diff --git a/configure.ac b/configure.ac
index ec64add1..49e33af1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,6 @@ AC_INIT(system-config-printer, 1.5.16)
 AC_CONFIG_SRCDIR(system-config-printer.py)
 AM_INIT_AUTOMAKE([dist-xz dist-bzip2 subdir-objects 1.6])
 AM_GNU_GETTEXT_VERSION(0.20)
-AX_REQUIRE_DEFINED([AM_GNU_GETTEXT])
 AM_GNU_GETTEXT([external])
 AM_PATH_PYTHON([3])
 PACKAGE="AC_PACKAGE_NAME"
tillkamppeter commented 2 years ago

The problem is that you do not have the package installed which contains the definition of AX_REQUIRE_DEFINED. In Ubuntu (and so probably also in Debian) it is autoconf-archive. I do not know what is the upstream package nor which package to install on Fedora, Arch, or whatever.

zdohnal commented 2 years ago

The package exists under the same name in Fedora etc., check the README.md.