Problems building cvs version of gtk



I'm getting farther.  I finally got cvs versions of glib, atk and pango all
installed.  Now I'm stuck trying to build gtk itself.

After first encountering problems, I decided to start from scratch, so I
zapped all text files except the CVS stuff and reloaded:

    find . -type f | egrep -v CVS | xargs rm
    cvs up .

Then, following Owen Taylor's advice, I figured I'd skip the CFLAGS stuff
for now:

    ./autogen.sh
    make
 
Autogen.sh emitted some peculiar messages:

    I am going to run ./configure with no arguments - if you wish 
    to pass any to it, please specify them on the ./autogen.sh command line.
    autoheader: error: shell error while sourcing /tmp/ahb0t8pA/traces.sh
    demos/gtk-demo/Makefile.am:60: gtk_demo_SOURCES includes configure substitution ` STRIP_BEGIN@'
    demos/gtk-demo/Makefile.am:60: gtk_demo_SOURCES includes configure substitution ` STRIP_END@'
    tests/Makefile.am: EXTRA_DIST must be set with `=' before using `+='
    docs/Makefile.am: EXTRA_DIST must be set with `=' before using `+='
    docs/faq/Makefile.am: EXTRA_DIST must be set with `=' before using `+='
    docs/tutorial/Makefile.am: EXTRA_DIST must be set with `=' before using `+='
    gdk-pixbuf/Makefile.am:94: libpixbufloader_xbm_la_LDFLAGS multiply defined in condition TRUE
      libpixbufloader_xbm_la_LDFLAGS (User, where = 94) =
      {
	TRUE => -version-info 1:0:0 -module
      }
    gdk-pixbuf/Makefile.am:214: libgdk_pixbuf_1_3_la_DEPENDENCIES was already defined in condition TRUE, which implies condition BUILD_DYNAMIC_MODULES_FALSE TRUE
      libgdk_pixbuf_1_3_la_DEPENDENCIES (User, where = 214) =
      {
	TRUE => $(builtin_objs)
      }
    gdk-pixbuf/Makefile.am:214: libgdk_pixbuf_1_3_la_DEPENDENCIES was already defined in condition TRUE, which implies condition BUILD_DYNAMIC_MODULES_TRUE TRUE
      libgdk_pixbuf_1_3_la_DEPENDENCIES (User, where = 214) =
      {
	BUILD_DYNAMIC_MODULES_FALSE TRUE => pixops/libpixops.la
	TRUE => $(builtin_objs)
      }
    automake: gdk-pixbuf/pixops/Makefile.am: Assembler source seen but `ASFLAGS' not defined in `configure.in'
    gdk/Makefile.am: MAINTAINERCLEANFILES must be set with `=' before using `+='
    gdk/Makefile.am: EXTRA_HEADERS must be set with `=' before using `+='
    gdk/Makefile.am:138: libgdk_linux_fb_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gdk/Makefile.am:138: libgdk_linux_fb_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gdk/Makefile.am:128: libgdk_nanox_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gdk/Makefile.am:128: libgdk_nanox_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gdk/Makefile.am:118: libgdk_x11_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gdk/Makefile.am:118: libgdk_x11_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/Makefile.am: MAINTAINERCLEANFILES must be set with `=' before using `+='
    gtk/Makefile.am: EXTRA_HEADERS must be set with `=' before using `+='
    gtk/Makefile.am: EXTRA_DIST must be set with `=' before using `+='
    gtk/Makefile.am: CLEANFILES must be set with `=' before using `+='
    gtk/Makefile.am:514: libgtk_linux_fb_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gtk/Makefile.am:514: libgtk_linux_fb_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/Makefile.am:514: libgtk_linux_fb_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gtk/Makefile.am:514: libgtk_linux_fb_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/Makefile.am:514: libgtk_linux_fb_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gtk/Makefile.am:514: libgtk_linux_fb_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/Makefile.am:509: libgtk_nanox_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gtk/Makefile.am:509: libgtk_nanox_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/Makefile.am:509: libgtk_nanox_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gtk/Makefile.am:509: libgtk_nanox_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/Makefile.am:509: libgtk_nanox_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gtk/Makefile.am:509: libgtk_nanox_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/Makefile.am:504: libgtk_x11_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gtk/Makefile.am:504: libgtk_x11_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/Makefile.am:504: libgtk_x11_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
    gtk/Makefile.am:504: libgtk_x11_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
    gtk/stock-icons/Makefile.am: CLEANFILES must be set with `=' before using `+='
    configure.in:25: /usr/bin/m4: Non-numeric argument to built-in `divert'
    configure.in:97: warning: AC_CANONICAL_HOST invoked multiple times
    configure.in:101: /usr/bin/m4: Non-numeric argument to built-in `divert'
    configure.in:158: warning: AC_COMPILE_IFELSE was called before AC_ISC_POSIX

Forging ahead, I tried make:

which started off fine, but eventually stumbled on some unsubstituted
variables: 

    ...
    make[3]: Entering directory `/home/skip/src/gtk/gtk+.cvs/gdk-pixbuf'
    Making all in pixops
    make[4]: Entering directory `/home/skip/src/gtk/gtk+.cvs/gdk-pixbuf/pixops'
    source='pixops.c' object='pixops.lo' libtool=yes \
    depfile='.deps/pixops.Plo' tmpdepfile='.deps/pixops.TPlo' \
    depmode=gcc3 /bin/sh ../../depcomp \
    /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include    -I../.. -I../../gdk-pixbuf    -g -O2 -g -Wall -c -o pixops.lo `test -f pixops.c || echo './'`pixops.c
    mkdir .libs
    gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I../.. -I../../gdk-pixbuf -g -O2 -g -Wall -c pixops.c -MT pixops.lo -MF .deps/pixops.TPlo -MD -MP  -fPIC -DPIC -o pixops.o
    pixops.c:827: warning: `scale_line_22_33' defined but not used
    mv -f pixops.o .libs/pixops.lo
    gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I../.. -I../../gdk-pixbuf -g -O2 -g -Wall -c pixops.c -MT pixops.lo -MF .deps/pixops.TPlo -MD -MP -o pixops.o >/dev/null 2>&1
    mv -f .libs/pixops.lo pixops.lo
    /bin/sh ../../libtool --mode=compile @AS@  @ASFLAGS@ -c -o have_mmx.lo `test -f have_mmx.S || echo './'`have_mmx.S
    rm -f .libs/have_mmx.lo
    @AS@ @ASFLAGS@ -c have_mmx.S  -fPIC -DPIC -o have_mmx.o
    ../../libtool: @AS@: command not found
    make[4]: *** [have_mmx.lo] Error 1
    make[4]: Leaving directory `/home/skip/src/gtk/gtk+.cvs/gdk-pixbuf/pixops'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/skip/src/gtk/gtk+.cvs/gdk-pixbuf'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/skip/src/gtk/gtk+.cvs/gdk-pixbuf'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/skip/src/gtk/gtk+.cvs'
    make: *** [all] Error 2

My environment is:

    Linux Mandrake   8.0
    gcc	    	     2.96
    libtool 	     1.4
    automake	     1.4g
    autoconf	     2.50a
    aclocal 	     1.4g

Any thoughts about the cause of the problem?

Thx,

-- 
Skip Montanaro (skip pobox com)
(847)971-7098




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