This is a static archive of our old Q&A Site. Please post any new questions and answers at

'–disable-glibtest' not working


Trying to run configure without having to test for gtk and glib like so:

./configure --enable-wireshark=no --disable-glibtest

But at one point in the log it'll give me this and fail:

checking for GLIB - version >= 2.4.0... no Could not run GLIB test program, checking why... Could not run GLIB test program, checking why... The test program failed to compile or link. See the file config.log for the exact error that occured. This usually means GLIB is incorrectly installed. configure: error: GLib 2.4 or later distribution not found.

I may just be confusing what these options actually do. But by the looks of the message it shouldn't be trying to run a test program.

asked 05 Apr '11, 15:53

Tokolosh's gravatar image

accept rate: 0%

2 Answers:


There is very likely a bug in or possibly in aclocal-fallback/glib-2.0.m4. Please file a bug report for this here.

answered 07 Apr '11, 08:08

cmaynard's gravatar image

cmaynard ♦♦
accept rate: 20%


try with --enable-glibtest=no instead of --disable-glibtest

answered 25 Apr '11, 10:38

yoshac's gravatar image

accept rate: 0%