gtkcdlabel-0.7.6 will not compile :-(

Help
2003-06-12
2003-06-16
  • Mario Müller

    Mario Müller - 2003-06-12

    Hello, I tries to compile gtkcdlabel-0.7.6 on Debian/Sid.  Make breaks off however.  What is the matter?

    ./configure

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking for strerror in -lcposix... no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for gcc option to accept ANSI C... none needed
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for gtk+-2.0 >= 2.0.0 libglade-2.0 libgnomeui-2.0 > 1.11.0... yes
    checking PACKAGE_CFLAGS... -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
    -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0
    -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeui-2.0
    -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2
    -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
    -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0checking PACKAGE_LIBS...
    -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz
    -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
    -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc
    -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lglib-2.0checking for sys/types.h... yeschecking for sys/stat.h...
    yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h...
    yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking locale.h usability...
    yeschecking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for dcgettext... yes
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating po/Makefile.in
    config.status: creating gtkcdlabel.spec
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing default-1 commands

    make

    make  all-recursive
    make[1]: Entering directory `/home/mm/gtkcdlabel-0.7.6'
    Making all in src
    make[2]: Entering directory `/home/mm/gtkcdlabel-0.7.6/src'
    source='minterface.c' object='minterface.o' libtool=no \ depfile='.deps/minterface.Po' tmpdepfile='.deps/minterface.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0      -g -O2 -c `test -f 'minterface.c' || echo './'`minterface.c
    In file included from minterface.c:22:
    ui.h:1:15: missing terminating " character
    In file included from minterface.c:22:
    ui.h:2: error: `DOCTYPE' undeclared here (not in a function)
    ui.h:2: error: parse error before "glade"
    ui.h:2: error: stray '\' in program
    ui.h:2:35: missing terminating " character
    ui.h:6: error: stray '\' in program
    ui.h:6:16: missing terminating " character
    ............................
    ui.h:2099:19: missing terminating " character
    minterface.c:32: Warnung: initialization makes integer from pointer without a cast
    minterface.c:32: error: initializer element is not constant
    minterface.c:32: Warnung: data definition has no type or storage class
    minterface.c:33: Warnung: parameter names (without types) in function declaration
    minterface.c:33: error: conflicting types for `glade_xml_signal_autoconnect'
    /usr/include/libglade-2.0/glade/glade-xml.h:82: error: previous declaration of `glade_xml_signal_autoconnect'
    minterface.c:33: Warnung: data definition has no type or storage class
    minterface.c:39: error: conflicting types for `w'
    minterface.c:27: error: previous declaration of `w'
    minterface.c:39: Warnung: passing arg 1 of `glade_xml_get_widget' makes pointer from integer without a cast
    minterface.c:39: Warnung: data definition has no type or storage class
    minterface.c:40: error: conflicting types for `b'
    minterface.c:27: error: previous declaration of `b'
    minterface.c:40: Warnung: passing arg 1 of `glade_xml_get_widget' makes pointer from integer without a cast
    minterface.c:40: Warnung: data definition has no type or storage class
    minterface.c:41: error: parse error before '(' token
    minterface.c:43: Warnung: passing arg 1 of `glade_xml_get_widget' makes pointer from integer without a cast
    minterface.c:43: Warnung: initialization makes integer from pointer without a cast
    minterface.c:43: error: initializer element is not constant
    minterface.c:43: Warnung: data definition has no type or storage class
    minterface.c:44: Warnung: passing arg 1 of `glade_xml_get_widget' makes pointer from integer without a cast
    minterface.c:44: Warnung: initialization makes integer from pointer without a cast
    minterface.c:44: error: initializer element is not constant
    minterface.c:44: Warnung: data definition has no type or storage class
    minterface.c:45: error: parse error before '(' token
    minterface.c:47: error: redefinition of `w'
    ............................
    make[2]: *** [minterface.o] Fehler 1
    make[2]: Leaving directory `/home/mm/gtkcdlabel-0.7.6/src'
    make[1]: *** [all-recursive] Fehler 1
    make[1]: Leaving directory `/home/mm/gtkcdlabel-0.7.6'
    make: *** [all] Fehler 2

    Many Thanks
    Mario

     
    • Rajarshi Guha

      Rajarshi Guha - 2003-06-12

      Hi,
        I downloaded the 0.7.6 tarball and it seems to compile fine for me. Could this be a locale dependent thing (though that seems doubtful). Could you send me the file ui.h (my address is rajarshi@presidency.com) because the on my system there is no difference between the file I placed on sf.net and the one I'm working on now.

      Thanks,
      Rajarshi

       
    • Mario Müller

      Mario Müller - 2003-06-16

      Hello,

      which problem has itself settled.
      It was because of the gcc-3.3, which Debian/Sid uses now.
      A "MAKEFLAGS='CC=gcc-3.2' make" brought then success.

      Bye
      Mario

       

Log in to post a comment.