[glade--] error of FC2 and glade--?
Rolly Ng <[email protected]> Fri, 25 Jun 2004 00:33:58 +0800
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm a newbie to Linux but would like to learn C++ GUI programming, however Fedora Core 2 only have glade2 installed by default and I suppose glade-- is needed to build C++. When I tried to compile glademm-2.5.0, with (1)"# PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/"; It showed: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... 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 g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking for gcc... gcc 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 a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for strsep... yes checking for getopt_long... yes checking whether char is unsigned... no checking if C++ compiler supports bool... yes checking if C++ compiler supports templates well enough... ok checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking whether utsname contains domainname without tricks... yes checking whether passwd struct contains real name... pw_gecos checking installed gtk1 version... 1.2.10 checking installed gtk2 version... 2.4.0 checking installed gtkmm version... ./configure: line 1: gtkmm-config: command not found configure: WARNING: Can't determine your gtkmm version, assuming 1.0.0 2.2.12 checking for gnome-- version... gnomemmConf.sh not found 2.0.1 2.0.0 Package libbonobomm-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libbonobomm-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libbonobomm-2.0' found Package libbonobouimm-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libbonobouimm-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libbonobouimm-2.0' found configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/writers/Makefile config.status: creating tests/Makefile config.status: creating docs/Makefile config.status: creating docs/old/Makefile config.status: creating src/SourceWriter/Makefile config.status: creating glademm.spec config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands (2)"# make"; It showed: make all-recursive make[1]: Entering directory `/home/rolly/programming/glademm-2.5.0' Making all in src make[2]: Entering directory `/home/rolly/programming/glademm-2.5.0/src' Making all in SourceWriter make[3]: Entering directory `/home/rolly/programming/glademm-2.5.0/src/SourceWriter' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/rolly/programming/glademm-2.5.0/src/SourceWriter' Making all in writers make[3]: Entering directory `/home/rolly/programming/glademm-2.5.0/src/writers' (for i in WriterBase.o WriterBase_matches.o Class.o accellabel.o accelgroup.o adjustment.o alignment.o arrow.o aspectframe.o bbox.o bonobo_dock.o bonobo_dockitem.o box.o button.o calendar.o checkbutton.o checkmenuitem.o clist.o clock.o colorsel.o combo.o container.o ctree.o curve.o custom.o default.o dial.o dialog.o drawingarea.o editable.o entry.o eventbox.o fileselection.o fixed.o fontselection.o frame.o gamma.o gnome_about.o gnome_app.o gnome_appbar.o gnome_calculator.o gnome_dateedit.o gnome_dialog.o gnome_dock.o gnome_dockitem.o gnome_druid.o gnome_druidpage.o gnome_druidpagestart.o gnome_druidpagestd.o gnome_druidpagefinish.o gnome_entry.o gnome_messagebox.o gnome_numberentry.o gnome_pixmap.o gnome_propertybox.o handlebox.o image.o imagemenuitem.o inputdialog.o label.o layout.o libglademm.o list.o menu.o menubar.o menuitem.o menushell.o misc.o notebook.o optionmenu.o packer.o paned.o pixmap.o pixmapmenuitem.o placeholder.o preview.o progressbar.o radiobutton.o radiomenuitem.o range.o ruler.o scale.o scrollbar.o scrolledwindow.o separator.o spinbutton.o statusbar.o table.o text.o textview.o togglebutton.o toolbar.o tooltips.o tree.o treeview.o unknown.o viewport.o widget.o window.o xpmname.o ; do echo writers/$i ; done ) >libwriters.a make[3]: Leaving directory `/home/rolly/programming/glademm-2.5.0/src/writers' make[3]: Entering directory `/home/rolly/programming/glademm-2.5.0/src' /bin/sh ../libtool --mode=link g++ -g -O2 -o glade-- Cxx.o Cxx_Fileset.o Cxx_Fs_Signal.o Naming.o Tag.o TagStream.o Widget.o const_contained_iterator.o glade--.o getopt.o getopt1.o strsep.o WidgetFile.o ChildParamList.o GladeTag.o `cat writers/libwriters.a` SourceWriter/libSourceWriter.a g++ -g -O2 -o glade-- Cxx.o Cxx_Fileset.o Cxx_Fs_Signal.o Naming.o Tag.o TagStream.o Widget.o const_contained_iterator.o glade--.o getopt.o getopt1.o strsep.o WidgetFile.o ChildParamList.o GladeTag.o writers/WriterBase.o writers/WriterBase_matches.o writers/Class.o writers/accellabel.o writers/accelgroup.o writers/adjustment.o writers/alignment.o writers/arrow.o writers/aspectframe.o writers/bbox.o writers/bonobo_dock.o writers/bonobo_dockitem.o writers/box.o writers/button.o writers/calendar.o writers/checkbutton.o writers/checkmenuitem.o writers/clist.o writers/clock.o writers/colorsel.o writers/combo.o writers/container.o writers/ctree.o writers/curve.o writers/custom.o writers/default.o writers/dial.o writers/dialog.o writers/drawingarea.o writers/editable.o writers/entry.o writers/eventbox.o writers/fileselection.o writers/fixed.o writers/fontselection.o writers/frame.o writers/gamma.o writers/gnome_about.o writers/gnome_app.o writers/gnome_appbar.o writers/gnome_calculator.o writers/gnome_dateedit.o writers/gnome_dialog.o writers/gnome_dock.o writers/gnome_dockitem.o writers/gnome_druid.o writers/gnome_druidpage.o writers/gnome_druidpagestart.o writers/gnome_druidpagestd.o writers/gnome_druidpagefinish.o writers/gnome_entry.o writers/gnome_messagebox.o writers/gnome_numberentry.o writers/gnome_pixmap.o writers/gnome_propertybox.o writers/handlebox.o writers/image.o writers/imagemenuitem.o writers/inputdialog.o writers/label.o writers/layout.o writers/libglademm.o writers/list.o writers/menu.o writers/menubar.o writers/menuitem.o writers/menushell.o writers/misc.o writers/notebook.o writers/optionmenu.o writers/packer.o writers/paned.o writers/pixmap.o writers/pixmapmenuitem.o writers/placeholder.o writers/preview.o writers/progressbar.o writers/radiobutton.o writers/radiomenuitem.o writers/range.o writers/ruler.o writers/scale.o writers/scrollbar.o writers/scrolledwindow.o writers/separator.o writers/spinbutton.o writers/statusbar.o writers/table.o writers/text.o writers/textview.o writers/togglebutton.o writers/toolbar.o writers/tooltips.o writers/tree.o writers/treeview.o writers/unknown.o writers/viewport.o writers/widget.o writers/window.o writers/xpmname.o SourceWriter/libSourceWriter.a make[3]: Leaving directory `/home/rolly/programming/glademm-2.5.0/src' make[2]: Leaving directory `/home/rolly/programming/glademm-2.5.0/src' Making all in tests make[2]: Entering directory `/home/rolly/programming/glademm-2.5.0/tests' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/rolly/programming/glademm-2.5.0/tests' Making all in docs make[2]: Entering directory `/home/rolly/programming/glademm-2.5.0/docs' Making all in old make[3]: Entering directory `/home/rolly/programming/glademm-2.5.0/docs/old' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/rolly/programming/glademm-2.5.0/docs/old' make[3]: Entering directory `/home/rolly/programming/glademm-2.5.0/docs' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/rolly/programming/glademm-2.5.0/docs' make[2]: Leaving directory `/home/rolly/programming/glademm-2.5.0/docs' make[2]: Entering directory `/home/rolly/programming/glademm-2.5.0' make[2]: Leaving directory `/home/rolly/programming/glademm-2.5.0' make[1]: Leaving directory `/home/rolly/programming/glademm-2.5.0' (3)"# make check" It showed Making check in src make[1]: Entering directory `/home/rolly/programming/glademm-2.5.0/src' Making check in SourceWriter make[2]: Entering directory `/home/rolly/programming/glademm-2.5.0/src/SourceWriter' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/home/rolly/programming/glademm-2.5.0/src/SourceWriter' Making check in writers make[2]: Entering directory `/home/rolly/programming/glademm-2.5.0/src/writers' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/home/rolly/programming/glademm-2.5.0/src/writers' make[2]: Entering directory `/home/rolly/programming/glademm-2.5.0/src' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/home/rolly/programming/glademm-2.5.0/src' make[1]: Leaving directory `/home/rolly/programming/glademm-2.5.0/src' Making check in tests make[1]: Entering directory `/home/rolly/programming/glademm-2.5.0/tests' make check-TESTS make[2]: Entering directory `/home/rolly/programming/glademm-2.5.0/tests' rm -r test20_notebook mkdir test20_notebook cd test20_notebook && ln -s ../test20_notebook.glade . cd test20_notebook && ln -s ../test20_notebook.gladep . cd test20_notebook && ../../src/glade-- -s test20_notebook.glade sh: line 1: autoconf2.50: command not found sh: line 1: gtkmm-config: command not found Unknown library `gnomemm' Found pkg-config version 0.15.0 Generating code for gtk 1.2.10 (pkg-config), gtkmm 0.0.0 (n.a.), gnomemm 1.4.1 (gnome-config) Using autoconf 2.59.0, automake-1.8 1.8.3, gnome's gettext notebook1: widgets in a separate file need their own class, marked cd test20_notebook && if [ -f ../test20_notebook_add.tgz ] ; then tar xvzf ../test20_notebook_add.tgz ; fi cd test20_notebook && if [ ! -d pixmaps ] ; then ln -sf ../pixmaps ; fi cd test20_notebook && CXXFLAGS=-Wall ./autogen.sh /usr/bin/gnome-autogen.sh **Warning**: 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. processing . Creating ./aclocal.m4 ... Running gettextize... Ignore non-fatal messages. Copying file ABOUT-NLS Copying file config.rpath Copying file mkinstalldirs Not copying intl/ directory. Copying file po/Makefile.in.in Copying file po/boldquot.sed Copying file po/[email protected] Copying file po/[email protected] Copying file po/insert-header.sin Copying file po/Makevars.template Copying file po/quot.sed Copying file po/remove-potcdate.sin Copying file po/Rules-quot Adding an entry to po/ChangeLog (backup is in po/ChangeLog~) Creating directory m4 Copying file m4/codeset.m4 Copying file m4/gettext.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intmax.m4 Copying file m4/inttypes.m4 Copying file m4/inttypes_h.m4 Copying file m4/inttypes-pri.m4 Copying file m4/isc-posix.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/longdouble.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/signed.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/ulonglong.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Creating m4/Makefile.am Creating m4/ChangeLog Updating Makefile.am (backup is in Makefile.am~) Updating configure.in (backup is in configure.in~) Adding an entry to ChangeLog (backup is in ChangeLog~) Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration to look for an external libintl. Please create po/Makevars from the template in po/Makevars.template. You can then remove po/Makevars.template. Please run 'aclocal -I m4' to regenerate the aclocal.m4 file. You need aclocal from GNU automake 1.5 (or newer) to do this. Then run 'autoconf' to regenerate the configure file. Please run 'automake m4/Makefile' to create m4/Makefile.in You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. You might also want to copy the convenience header file gettext.h from the /usr/share/gettext directory into your package. It is a wrapper around <libintl.h> that implements the configure --disable-nls option. Press Return to acknowledge the previous 6 paragraphs. Making ./aclocal.m4 writable ... Running libtoolize... You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `../..'. Running aclocal -I /usr/share/aclocal/gnome2-macros ... /usr/share/aclocal/gnome2-macros/linger.m4:4: warning: underquoted definition of AC_STRUCT_LINGER run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/share/aclocal/gnome2-macros/gnome-cxx-check.m4:2: warning: underquoted definition of GNOME_CHECK_CXX /usr/share/aclocal/gnome2-macros/check-utmp.m4:11: warning: underquoted definition of AC_CHECK_UTMP /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG /usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF /usr/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC /usr/share/aclocal/libole2.m4:18: warning: underquoted definition of AM_PATH_LIBOLE2 /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD /usr/share/aclocal/libguppi.m4:11: warning: underquoted definition of AM_PATH_LIBGUPPI /usr/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE /usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART /usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /usr/share/aclocal/gconf-2.m4:8: warning: underquoted definition of AM_GCONF_SOURCE_2 /usr/share/aclocal/gconf-1.m4:4: warning: underquoted definition of AM_PATH_GCONF /usr/share/aclocal/gconf-1.m4:71: warning: underquoted definition of AM_GCONF_SOURCE /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT aclocal: configure.in: 35: macro `AM_GNOME_GETTEXT' not found in library Running automake --gnu ... configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). Makefile.am: installing `./INSTALL' Makefile.am: installing `./COPYING' Use of uninitialized value in pattern match (m//) at /usr/bin/automake line 3444. configure.in:7: required file `config.h.in' not found configure.in:53: required file `macros/Makefile.in' not found Makefile.am:6: required directory ./macros does not exist Use of uninitialized value in pattern match (m//) at /usr/bin/automake line 3444. Use of uninitialized value in pattern match (m//) at /usr/bin/automake line 3444. /usr/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL Running autoconf ... configure.in:6: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:11: error: possibly undefined macro: AM_PROG_CC_STDC configure.in:16: error: possibly undefined macro: AM_PROG_LIBTOOL configure.in:35: error: possibly undefined macro: AM_GNOME_GETTEXT Running ./configure --enable-maintainer-mode --enable-compile-warnings ... ./configure: line 1279: AM_INIT_AUTOMAKE: command not found checking for gcc... gcc checking for C compiler default output file name... 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 for library containing strerror... none required 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 ./configure: line 3069: AM_PROG_CC_STDC: command not found checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E ./configure: line 4302: AM_PROG_LIBTOOL: command not found ./configure: line 4307: GNOME_INIT: command not found ./configure: line 4308: GNOME_COMMON_INIT: command not found ./configure: line 4309: GNOME_COMPILE_WARNINGS: command not found ./configure: line 4320: AM_GNOME_GETTEXT: command not found configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating macros/Makefile config.status: error: cannot find input file: macros/Makefile.in make[2]: *** [run_test20_notebook] Error 1 make[2]: Leaving directory `/home/rolly/programming/glademm-2.5.0/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/rolly/programming/glademm-2.5.0/tests' make: *** [check-recursive] Error 1 [root@localhost glademm-2.5.0]# There seems errors while make check, and I already have gtkmm-2.2 & 2.4 in my system, what should I do? Thank you! Regards Rolly _______________________________________________ glademm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/glademm-list