Compiling glib-2.0.7 on Cygwin



Hi,

Why won't glib-2.0.7 compile in my computer?
I uses cygwin but 'configure' can't detect some of the programs.

Firstly, I run './configure' command.

The outputs were: (I abbreviate the list so that only the important messages appear here)

Checking for working aclocal-1.4...missing
Checking for working automake-1.4...missing
-> I already have both of them installed. It was version '1.4-p5'
Checking build system type...i686-pc-cygwin
Checking host system type...i686-pc-cygwin
Checking for Win32...no
-> Why is it no?
Checking for inttypes.h...no
Checking for stdint.h...no
Checking nl_types.h usability...no
Checking nl_types.h presence...no
Checking for nl_types.h...no
-> Where is nl_types.h? I have GNU libintl package installed
Checking for __argz_count...no
Checking for __argz_stringify...no
Checking for __argz_next...no
Checking values.h usability...no
Checking values.h presence...no
Checking for values.h...no
-> Where is values.h?
Checking langinfo.h usability...yes
Checking langinfo.h presence...yes
Checking for langinfo.h...yes
Checking for nl_langinfo...no
Checking for nl_langinfo and CODESET...no
Checking whether we are using the GNU C Library 2.1 or newer...no
-> I have a gcc 3.2 installed
Checking for nl_langinfo (CODESET)...yes
-> It's weird, I thought it said no earlier.

And when I invoked 'make', this error occured:

Making all in gobject
make[2]: Entering directory `/usr/src/glib-2.0.7/gobject'
/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall -D_REENTRANT  -o glib-genmarshal.exe  glib-genmarshal.o ../glib/libglib-2.0.la -liconv -lintl -liconv
gcc -g -O2 -Wall -D_REENTRANT -o glib-genmarshal.exe glib-genmarshal.o  ../glib/.libs/libglib-2.0.a -L/usr/lib -luser32 -lkernel32 .libs/libimp-cygintl-2.a .libs/libimp-cygiconv-2.a
../glib/.libs/libglib-2.0.a(gutils.lo): In function `g_get_codeset':
/usr/src/glib-2.0.7/glib/gutils.c:1052: undefined reference to `_nl_langinfo'

I know this is just a very basic question, but it's annoying.
Does anybody could tell me what is wrong here?

I have been browsing the mailing list, but it seemed no one ever had trouble compiling glib. It is glib that should be compiled before gtk, isn't it?

~Agus~


__________________________________________________________
Outgrown your current e-mail service? Get 25MB Storage, POP3 Access,
Advanced Spam protection with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus



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