mate-desktop / atril

A document viewer for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
197 stars 62 forks source link

Unable to success execute configure script (autogen.sh) #596

Closed rox4d closed 7 months ago

rox4d commented 7 months ago

Expected behaviour

Now type `make' to compile atril

Actual behaviour

configure: error: Package requirements (libxml-2.0 >= 2.5.0 gtk+-3.0 >= 3.22.0 gio-2.0 >= 2.54.0 gthread-2.0 x11 mate-desktop-2.0 >= 1.27.1,) were not met:

Empty package name in Requires or Conflicts in file '(command line arguments)'

Steps to reproduce the behaviour

./autogen.sh --disable-static --enable-shared --sysconfdir=/etc --datadir=/usr/share --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/atril --enable-introspection

MATE general version

1.27.3

Package version

git

Linux Distribution

Debian bullseye

Link to bugreport of your Distribution (requirement)

rox4d commented 7 months ago

seems typo:

diff -urN a/configure.ac b/configure.ac
--- a/configure.ac  2023-11-19 17:06:19.387695567 +0300
+++ b/configure.ac  2023-11-19 16:51:59.453098769 +0300
@@ -120,7 +120,7 @@
 PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
 PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GLIB_REQUIRED)

-PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 x11 mate-desktop-2.0 >= $MATE_DESKTOP_REQUIRED,])
+PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 x11 mate-desktop-2.0 >= $MATE_DESKTOP_REQUIRED])

 AC_SUBST(GLIB_CFLAGS)
 AC_SUBST(GLIB_LIBS)