make of glib-2.6.4 fails

Gerrit P. Haase gerrit@familiehaase.de
Thu May 26 07:09:00 GMT 2005


Franz Haeuslschmid wrote:

> "Gerrit P. Haase" <gerrit@familiehaase.de> writes:
> 
> 
>>jose isaias cabrera wrote:
>>
>>
>>>Greetings!
>>>I am trying to build glib 2.6.4, since a package that I want to build
>>>requires it.  the configure part went ok without errors.
> 
> 
> I'm trying to accomplish the same thing for an up-to-date version
> of cygwin.
> 
> [...]
> 
> The build seems to fail at the same command:
> 
>  gcc -shared .libs/cygglib-2.0-0.dll.def  .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gcache.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gscanner.o .libs/gshell.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o ..libs/gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o .libs/gwin32.o -Wl,--whole-archive libcharset/.libs/libcharset.a -Wl,--no-whole-archive  -L/usr/lib /usr/lib/libiconv.dll.a -luser32 -lkernel32 /usr/lib/libintl.dll.a  -o .li
bs/cygglib-2.0-0.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libglib-2.0.dll.a
> Cannot export R: symbol not defined
> Cannot export _g_ascii_table: symbol not defined
> Cannot export _g_utf8_skip: symbol not defined
> Cannot export _glib_binary_age: symbol not defined
> Cannot export _glib_interface_age: symbol not defined
> Cannot export _glib_major_version: symbol not defined
> Cannot export _glib_micro_version: symbol not defined
> Cannot export _glib_minor_version: symbol not defined
> Creating library file: .libs/libglib-2.0.dll.a
> collect2: ld returned 1 exit status
> make[2]: *** [libglib-2.0.la] Error 1
> make[2]: Leaving directory `/cygdrive/d/Src/glib-2.6.4/glib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cygdrive/d/Src/glib-2.6.4/glib'
> make: *** [all] Error 2
> 
> 
>>This was a libtool bug, which version of ltmain.sh is included in the
>>sources?  Try to upgrade the source tree with:
>>
>>    autoreconf --install --force --verbose
>>
>>after you have the latest libtool-devel package installed (the latest
>>release 1.5.10 should be ok).
> 
> 
> In the glib source directory, `./libtool --version' gives
> 
>   ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)
> 
> and `libtool --version' shows 
> 
>   ltmain.sh (GNU libtool) 1.5.10 (1.1220.2.131 2004/09/19
>   12:46:56)
> 
> I don't know, why the versions differ... however, using
> `autoreconf' as suggested earlier fails:

The old eule: Never change a running system... the developer don't use
Cygwin, unfortunately;)


> haeuslsc@pan /cygdrive/d/Src/glib-2.6.4
> $ autoreconf --install --force --verbose                            
> autoreconf: Entering directory `.'
> autoreconf: configure.in: not using Gettext
> autoreconf: running: aclocal --force 
> /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2
>   run info '(automake)Extending aclocal'
>   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> autoreconf: configure.in: tracing
> configure.in:10: warning: file `acglib.m4' included several times
> configure.in:11: warning: file `glib/libcharset/codeset.m4' included several times
> configure.in:12: warning: file `glib/libcharset/glibc21.m4' included several times
> autoreconf: running: libtoolize --copy --force
> /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2
>   run info '(automake)Extending aclocal'
>   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> autoreconf: running: /usr/autotool/devel/bin/autoconf --force
> configure.in:10: warning: file `acglib.m4' included several times
> configure.in:11: warning: file `glib/libcharset/codeset.m4' included several times
> configure.in:12: warning: file `glib/libcharset/glibc21.m4' included several times
> autoreconf: running: /usr/autotool/devel/bin/autoheader --force
> configure.in:10: warning: file `acglib.m4' included several times
> configure.in:11: warning: file `glib/libcharset/codeset.m4' included several times
> configure.in:12: warning: file `glib/libcharset/glibc21.m4' included several times
> autoreconf: running: automake --add-missing --copy --force-missing
> configure.in:10: warning: file `acglib.m4' included several times
> configure.in:11: warning: file `glib/libcharset/codeset.m4' included several times
> configure.in:12: warning: file `glib/libcharset/glibc21.m4' included several times
> gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
> docs/reference/glib/Makefile.am:61:   `gtk-doc.make' included from here
> gtk-doc.make:44: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
> docs/reference/glib/Makefile.am:61:   `gtk-doc.make' included from here
> gtk-doc.make:135: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
> docs/reference/glib/Makefile.am:61:   `gtk-doc.make' included from here
> gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
> docs/reference/gobject/Makefile.am:49:   `gtk-doc.make' included from here
> gtk-doc.make:44: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
> docs/reference/gobject/Makefile.am:49:   `gtk-doc.make' included from here
> gtk-doc.make:135: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
> docs/reference/gobject/Makefile.am:49:   `gtk-doc.make' included from here
> autoreconf: automake failed with exit status: 1
> 
> After that, `./configure' fails with:
> ....
> checking value of POLLIN... 1
> checking value of POLLOUT... 4
> checking value of POLLPRI... 2
> checking value of POLLERR... 8
> checking value of POLLHUP... 16
> checking value of POLLNVAL... 32
> checking for EILSEQ... yes
> ../configure: line 38486: syntax error near unexpected token `1.0'
> ../configure: line 38486: `GTK_DOC_CHECK(1.0)'

This macro is not expanded, install all relevant GNOME packages.  In
this case you're missing gtk-doc.  After installing it the macro should
be expanded by autoconf and configure should'nt fail anymore.


Gerrit
-- 
=^..^=



More information about the Cygwin-xfree mailing list