GNOME Bugzilla – Bug 686671
Cryptic error at configure time (configure:13753: error: possibly undefined macro: AM_PATH_GLIB_2_0 )
Last modified: 2012-12-10 19:26:36 UTC
Just installed Ubuntu 12.10 today, and I tried to compile banshee, and instead of getting clear info of the package I was missing, I ran into this: andres1210@andres-ubuntu:~/Code$ git clone git://git.gnome.org/banshee Cloning into 'banshee'... remote: Counting objects: 95945, done. remote: Compressing objects: 100% (18542/18542), done. remote: Total 95945 (delta 78093), reused 94400 (delta 76620) Receiving objects: 100% (95945/95945), 32.65 MiB | 234 KiB/s, done. Resolving deltas: 100% (78093/78093), done. andres1210@andres-ubuntu:~/Code$ cd banshee/ andres1210@andres-ubuntu:~/Code/banshee$ ./autogen.sh Submodule 'src/Hyena' (git://git.gnome.org/hyena) registered for path 'src/Hyena' Cloning into 'src/Hyena'... remote: Counting objects: 6582, done. remote: Compressing objects: 100% (3298/3298), done. remote: Total 6582 (delta 4751), reused 4668 (delta 3253) Receiving objects: 100% (6582/6582), 1.37 MiB | 257 KiB/s, done. Resolving deltas: 100% (4751/4751), done. Submodule path 'src/Hyena': checked out '73e6e84097f934e1cfe696e8e4037397673bcb58' Running intltoolize --force --copy ... You should add the contents of '/usr/share/aclocal/intltool.m4' to 'aclocal.m4'. Running libtoolize --force --copy --automake ... Running aclocal -I build/m4/banshee -I build/m4/shamrock -I build/m4/shave ... Running autoconf ... configure:13753: error: possibly undefined macro: AM_PATH_GLIB_2_0 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:19784: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT Error: Could not run autoconf, which is required to configure banshee
Created attachment 227031 [details] [review] Fix With this fix in place, now the configure phase gives a much better heads up: checking pkg-config is at least version 0.9.0... yes checking for GLIB... no configure: error: Package requirements (glib-2.0 >= 2.22) were not met: No package 'glib-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Error: Could not run ./configure, which is required to configure banshee
Created attachment 227032 [details] [review] Fix v2 Oops, this one is generated with git format-patch
Comment on attachment 227032 [details] [review] Fix v2 http://git.gnome.org/browse/banshee/commit/?id=5f7dfb1569c46d3a37ee2c03742d91c3c4ff2e7d
Thanks for the review!