cboxdoerfer / fsearch

A fast file search utility for Unix-like systems based on GTK3
GNU General Public License v2.0
3.31k stars 209 forks source link

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

Open slrslr opened 2 years ago

slrslr commented 2 years ago

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..

stefumies commented 1 year ago

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

cboxdoerfer commented 1 year ago

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?

stefumies commented 1 year ago

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.