Re: make of glib-2.6.4 fails
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 configured with the --prefix=/usr option on. Here is the last part of the make run: bs/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 ..libs/cygglib-2.0-0.dll -Wl,--image-base=0x1000 -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[4]: *** [libglib-2.0.la] Error 1 make[4]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jcabrera/apps/glib-2.6.4' make: *** [all] Error 2 jicman 22:43:46-> any ideas? 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). Gerrit -- =^..^=
Re: make of glib-2.6.4 fails
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 configured with the --prefix=/usr option on. Here is the last part of the make run: bs/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 ..libs/cygglib-2.0-0.dll -Wl,--image-base=0x1000 -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[4]: *** [libglib-2.0.la] Error 1 make[4]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jcabrera/apps/glib-2.6.4' make: *** [all] Error 2 jicman 22:43:46-> any ideas? 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). Ok, thanks. This got me through the make, but on the make install command, I get this: jic 14:04:56-> make install make install-recursive make[1]: Entering directory `/home/us319318/apps/glib-2.6.4' Making install in . make[2]: Entering directory `/home/us319318/apps/glib-2.6.4' make[3]: Entering directory `/home/us319318/apps/glib-2.6.4' test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin" /usr/bin/install -c 'glib-gettextize' '/usr/local/bin/glib-gettextize' /bin/bash ./mkinstalldirs /usr/local/lib/glib-2.0/include file=/usr/local/lib/glib-2.0/include/glibconfig.h; \ if test -r $file && cmp -s glibconfig.h $file; then :; \ else /usr/bin/install -c -m 644 glibconfig.h $file; fi test -z "/usr/local/share/glib-2.0/gettext" || mkdir -p -- "/usr/local/share/gli b-2.0/gettext" /usr/bin/install -c 'mkinstalldirs' '/usr/local/share/glib-2.0/gettext/mkinstal ldirs' test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig" /usr/bin/install -c -m 644 'glib-2.0.pc' '/usr/local/lib/pkgconfig/glib-2.0.pc' /usr/bin/install -c -m 644 'gobject-2.0.pc' '/usr/local/lib/pkgconfig/gobject-2 .0.pc' /usr/bin/install -c -m 644 'gmodule-2.0.pc' '/usr/local/lib/pkgconfig/gmodule-2 .0.pc' /usr/bin/install -c -m 644 './gmodule-export-2.0.pc' '/usr/local/lib/pkgconfig/ gmodule-export-2.0.pc' /usr/bin/install: cannot stat `./gmodule-export-2.0.pc': No such file or directo ry /usr/bin/install -c -m 644 'gmodule-no-export-2.0.pc' '/usr/local/lib/pkgconfig /gmodule-no-export-2.0.pc' /usr/bin/install -c -m 644 'gthread-2.0.pc' '/usr/local/lib/pkgconfig/gthread-2 .0.pc' make[3]: Leaving directory `/home/us319318/apps/glib-2.6.4' make[2]: Leaving directory `/home/us319318/apps/glib-2.6.4' Making install in m4macros make[2]: Entering directory `/home/us319318/apps/glib-2.6.4/m4macros' make[3]: Entering directory `/home/us319318/apps/glib-2.6.4/m4macros' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/share/aclocal" || mkdir -p -- "/usr/local/share/aclocal" /usr/bin/install -c -m 644 'glib-2.0.m4' '/usr/local/share/aclocal/glib-2.0.m4' /usr/bin/install: cannot create regular file `/usr/local/share/aclocal/glib-2.0. m4': Permission denied /usr/bin/install -c -m 644 'glib-gettext.m4' '/usr/local/share/aclocal/glib-get text.m4' /usr/bin/install: cannot create regular file `/usr/local/share/aclocal/glib-gett ext.m4': Permission denied make[3]: *** [install-m4dataDATA] Error 1 make[3]: Leaving directory `/home/us319318/apps/glib-2.6.4/m4macros' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/us319318/apps/glib-2.6.4/m4macros' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/us319318/apps/glib-2.6.4' make: *** [install] Error 2 Any ideas? thanks, josé
Re: make of glib-2.6.4 fails
jose isaias cabrera wrote: /usr/bin/install: cannot create regular file `/usr/local/share/aclocal/glib-gett ext.m4': Permission denied make[3]: *** [install-m4dataDATA] Error 1 make[3]: Leaving directory `/home/us319318/apps/glib-2.6.4/m4macros' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/us319318/apps/glib-2.6.4/m4macros' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/us319318/apps/glib-2.6.4' make: *** [install] Error 2 Any ideas? What are the permissions of this directory? I usually have 777 on all directories in /usr/local. Gerrit -- =^..^=
Re: make of glib-2.6.4 fails
On 23:43 Mon 23 May , Gerrit P. Haase wrote: > jose isaias cabrera wrote: > >`/usr/local/share/aclocal/glib-gett > >ext.m4': Permission denied > > What are the permissions of this directory? > I usually have 777 on all directories in /usr/local. interesting! I've never played with permissions with this cygwin installation. I've played with permission on my gentoo box, but not on this laptop. You were right. The permissions were messed up. Hmmm... thanks. jic > > > Gerrit > -- > =^..^=
Re: make of glib-2.6.4 fails
"Gerrit P. Haase" <[EMAIL PROTECTED]> 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 .libs/cygglib-2.0-0.dll -Wl,--image-base=0x1000 -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: [EMAIL PROTECTED] /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' in
Re: make of glib-2.6.4 fails
Franz Haeuslschmid <[EMAIL PROTECTED]> writes: > "Gerrit P. Haase" <[EMAIL PROTECTED]> writes: [...] >> 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). [... calling autoreconf caused some problems that detained ./configure and ./make from working correctly] > 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 It turned out, that I had to install `gtk-doc'. Franz.
Re: make of glib-2.6.4 fails
Franz Haeuslschmid wrote: "Gerrit P. Haase" <[EMAIL PROTECTED]> 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=0x1000 -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;) [EMAIL PROTECTED] /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-
Re: make of glib-2.6.4 fails
Franz Haeuslschmid wrote: Franz Haeuslschmid <[EMAIL PROTECTED]> writes: "Gerrit P. Haase" <[EMAIL PROTECTED]> writes: [...] 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). [... calling autoreconf caused some problems that detained ./configure and ./make from working correctly] 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 It turned out, that I had to install `gtk-doc'. Sorry, don't saw this message as I replied your earlier post. Is it working now? Gerrit -- =^..^=