After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686671 - Cryptic error at configure time (configure:13753: error: possibly undefined macro: AM_PATH_GLIB_2_0 )
Cryptic error at configure time (configure:13753: error: possibly undefined m...
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-22 22:59 UTC by Andrés G. Aragoneses (IRC: knocte)
Modified: 2012-12-10 19:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (1.81 KB, patch)
2012-10-22 23:59 UTC, Andrés G. Aragoneses (IRC: knocte)
none Details | Review
Fix v2 (2.76 KB, patch)
2012-10-23 00:00 UTC, Andrés G. Aragoneses (IRC: knocte)
committed Details | Review

Description Andrés G. Aragoneses (IRC: knocte) 2012-10-22 22:59:40 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
Comment 1 Andrés G. Aragoneses (IRC: knocte) 2012-10-22 23:59:18 UTC
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
Comment 2 Andrés G. Aragoneses (IRC: knocte) 2012-10-23 00:00:30 UTC
Created attachment 227032 [details] [review]
Fix v2

Oops, this one is generated with git format-patch
Comment 4 Andrés G. Aragoneses (IRC: knocte) 2012-12-10 19:26:36 UTC
Thanks for the review!