Subject: Re: bug#8520: Missing glibconfig.h when compiling emacs-23-3 in Ubuntu 11.04 beta 2

From: Glenn Morris <[email-masked]>
Date: Mon, 18 Apr 2011 14:38:36 -0400

William Bligh wrote:

> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/1
> -linux-gnu/glib-2.0/include -I/usr/include/freetype2

Note missing "i386".

This is http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8497 

You can work around it by adding "i386" after "unix" in the definition
of cpp_undefs at line 3106 of configure.in and regenerating configure,
or editing configure directly at line 13527, and reconfiguring; or maybe
by simply fixing ALL_CFLAGS in src/Makefile before building.

cpp_undefs="`echo $srcdir $configuration $canonical unix i386 |

etc