Re: [gtk-list] Can't compile GLib in Mac OS X



Hi,

I remember, configure of glib has no option to specify
the location of gettext explicitly. Thus, the developer
with gettext in /usr/local should modify CFLAGS-families
aslike

	CFLAGS="-I/usr/local/include -L/usr/local/lib"
	CPPFLAGS="-I/usr/local/include"
	LDFLAGS="-L/usr/local/lib"

please try. But I have to notice that it can make
other unexpected libraries exposed to glib configure.

To glib developers - is it bad idea that the addition
of an option to specify the location of gettext to
glib configure? Please let me know.

Regards,
mpsuzuki


On Sat, 9 Aug 2008 21:01:37 -0300
"Serge Humphrey" <bobtheblueberry gmail com> wrote:

>Hi. I have installed all of the GLib dependencies, but configure isn't
>looking in the right place for gettext, and so it spits out something
>like this:
>
>chtw16-142176058023:~/Bob/glib-2.15.4 donhumphrey$ ./configure
>checking for a BSD-compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking for a thread-safe mkdir -p... ./install-sh -c -d
>checking for gawk... no
>checking for mawk... no
>checking for nawk... no
>checking for awk... awk
>checking whether make sets $(MAKE)... yes
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking build system type... powerpc-apple-darwin8.2.1
>checking host system type... powerpc-apple-darwin8.2.1
>...
>checking for dgettext in -lintl... yes
>checking for bind_textdomain_codeset... yes
>checking for msgfmt... no
>configure: error:
>*** You must have either have gettext support in your C library, or use the
>*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
>
>See it doesn't look for gettext in the right place. (It is in
>/usr/local/share/gettext and /usr/local/lib/gettext)
>I think all I need to do is get configure to look in the right place.
>
>
>Not that I'm using Mac OS X 10.42 (PowerPC).
>
>Thanks to anyone who can help me
>Bob
>_______________________________________________
>gtk-list mailing list
>gtk-list gnome org
>http://mail.gnome.org/mailman/listinfo/gtk-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]