fsearch icon indicating copy to clipboard operation
fsearch copied to clipboard

configure: error: Package requirements (glib-2.0 > *) were not met: No package 'glib-2.0' found

Open slrslr opened this issue 3 years ago • 3 comments

On Debian stable Trying to build failed, but was later fixed as described below:

configure: error: Package requirements (glib-2.0 > 2.36.0) were not met:

No package 'glib-2.0' found

...

configure.ac:6: error: version mismatch.  This is Automake 1.16.3,
configure.ac:6: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:6: comes from Automake 1.16.5.  You should recreate
configure.ac:6: aclocal.m4 with aclocal and run automake again.
configure.ac:6: warning: user variable 'ETAGS' defined here ...
/usr/share/automake-1.16/am/tags.am: ... overrides Automake variable 'ETAGS' defined here
configure.ac:6: warning: user variable 'CTAGS' defined here ...
/usr/share/automake-1.16/am/tags.am: ... overrides Automake variable 'CTAGS' defined here
configure.ac:6: warning: user variable 'CSCOPE' defined here ...
/usr/share/automake-1.16/am/tags.am: ... overrides Automake variable 'CSCOPE' defined here
src/Makefile.am:94: warning: shell $(GLIB_COMPILE_RESOURCES: non-POSIX variable name
src/Makefile.am:94: (probably a GNU make extension)
src/Makefile.am:102: warning: shell $(GLIB_COMPILE_RESOURCES: non-POSIX variable name
src/Makefile.am:102: (probably a GNU make extension)
configure.ac:6: warning: user variable 'ETAGS' defined here ...
/usr/share/automake-1.16/am/tags.am: ... overrides Automake variable 'ETAGS' defined here
configure.ac:6: warning: user variable 'CTAGS' defined here ...
/usr/share/automake-1.16/am/tags.am: ... overrides Automake variable 'CTAGS' defined here
WARNING: 'automake-1.16' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:

Package glib-2.0 was not found by: sudo apt search glib-2.0

Yet following command installed it apparenty: sudo apt install git build-essential automake autopoint autoconf libtool pkg-config intltool autoconf-archive libicu-dev libpcre3-dev libglib2.0-dev libgtk-3-dev libxml2-utils

since build finished..

slrslr avatar Feb 10 '22 21:02 slrslr

Did not fix the issue, should not have been closed!

stefumies avatar Dec 29 '22 11:12 stefumies

Did not fix the issue, should not have been closed!

What's the problem exactly, like what command are you running and what's the output or error message?

cboxdoerfer avatar Dec 29 '22 14:12 cboxdoerfer

As with the core of this thread, attempting to compile another app (building PHP 7.4 on Ubuntu 22:10), the same issue as described here occurs. I was cross-linked to this issue from it. I have since moved on and gone for another approach since there is little support, nor little interest in solving it it. Thank you all the same.

stefumies avatar Dec 29 '22 15:12 stefumies