On my machine (Suse 9.3) I manage to get the sources configured, so I can attempt the make. But then make then fails :-(
I started by doing just what you did: running autogen.sh Maybe any of this output (below) is of help to you? Also, on my computer at least, I can configure and build the gnome-terminal sources without much problem. Also, when you report that the output says, for instance, "glib-gettext.m4 not found", have you checked if it's installed on your system? This is what I see on mine: > locate glib-gettext.m4 /opt/gnome/share/aclocal/glib-gettext.m4 > rpm -qf /opt/gnome/share/aclocal/glib-gettext.m4 glib2-devel-2.6.3-4 Darren PS. I'm a newbie myself... so not sure if what I'm providing you is too helpful. --------- /opt/gnome/bin/gnome-autogen.sh [1mchecking for autoconf >= 2.53... [m testing autoconf2.50... not found. testing autoconf... found 2.59 [1mchecking for automake >= 1.8... [m testing automake-1.8... not found. testing automake-1.9... found 1.9.5 [1mchecking for libtool >= 1.4.3... [m testing libtoolize... found 1.5.14 [1mchecking for glib-gettext >= 2.2.0... [m testing glib-gettextize... found 2.6.3 [1mchecking for intltool >= 0.25... [m testing intltoolize... found 0.33 [1mchecking for pkg-config >= 0.14.0... [m testing pkg-config... found 0.15.0 [1mchecking for gnome-common >= 2.3.0... [m testing gnome-doc-common... found 2.8.0 [1mChecking for required M4 macros... [m[1mChecking for forbidden M4 macros... [m**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. [1mProcessing ./configure.ac [m[1mRunning libtoolize... [m[1mRunning glib-gettextize... Ignore non-fatal messages. [mCopying file mkinstalldirs Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /opt/gnome/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. [1mRunning intltoolize... [mno need for patching file 'Makefile.in.in' [1mRunning gnome-doc-common... [m[1mRunning aclocal-1.9... [m/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal [1mRunning autoconf... [m[1mRunning autoheader... [m[1mRunning automake-1.9... [m[1mRunning ./configure --enable-maintainer-mode ... [mchecking 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 whether to enable maintainer-specific portions of Makefiles... yes checking for intltool >= 0.21... 0.33 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext 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 style of include used by make... GNU checking dependency style of gcc... gcc3 checking for library containing strerror... none required checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking build system type... i686-suse-linux checking host system type... i686-suse-linux checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/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 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 for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 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/i586-suse-linux/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory 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/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i586-suse-linux/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/i586-suse-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory 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/i586-suse-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes checking what language compliance flags to pass to the C compiler... checking for pkg-config... /usr/bin/pkg-config checking for libgnome-2.0 >= 2.9.0 libgnomeui-2.0 >= 2.9.0 gtk +-2.0 >= 2.5.0... yes checking GNOME_HELLO_CFLAGS... -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libart-2.0 -I/usr/include/libxml2 -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include -I/opt/gnome/include/bonobo-activation-2.0 -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/usr/include/freetype2/config checking GNOME_HELLO_LIBS... -Wl,--export-dynamic -pthread -L/opt/gnome/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for scrollkeeper-config... /usr/bin/scrollkeeper-config checking locale.h usability... yes checking 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 ngettext in libc... 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 checking for catalogs to be installed... am az be bg ca cs da de el en_CA en_GB es fi fr gl he hr id it ja ka lv mn ms nl nn no pa pl pt pt_BR ru rw sk sr [EMAIL PROTECTED] sv tr uk vi wa zh_CN zh_TW configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating pixmaps/Makefile config.status: creating help/Makefile config.status: creating help/C/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing intltool commands config.status: executing depfiles commands config.status: executing default-1 commands Now type `make' to compile gnome-hello >>> HERE I TYPE MAKE make all-recursive Making all in po make[2]: Nothing to be done for `all'. Making all in src if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libart-2.0 -I/usr/include/libxml2 -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include -I/opt/gnome/include/bonobo-activation-2.0 -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/usr/include/freetype2/config -DG_LOG_DOMAIN=\"GnomeHello\" -DDATADIR=\""/usr/local/share"\" -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -O2 -MT app.o -MD -MP -MF ".deps/app.Tpo" -c -o app.o app.c; \ then mv -f ".deps/app.Tpo" ".deps/app.Po"; else rm -f ".deps/app.Tpo"; exit 1; fi app.c: In function `button_click_cb': app.c:165: error: too few arguments to function `g_utf8_strreverse' make[2]: *** [app.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 On Mon, 2005-10-24 at 22:50 +0100, Joachim Noreiko wrote: > Hi list. > Another newbie's rolled in ;) > > I'm trying to compile gnome-terminal... yes, this is > way beyond my capabilities, but there's a bug in it > that's bugging me ;) > > So I thought I'd try something simpler and I found the > gnome-hello module. > > I found this document which seems to go with it: > http://developer.gnome.org/doc/GGAD/ggad.html > > However it talks a lot about Gnome 1.0. Is it up to > date? > > I got a bit lost halfway down the 'Creating Your > Source Tree' page with all the talk of automake, > autoconf, etc. > Then this bit amused me: "A file called INSTALL that > explains how to compile and install the package." > gnome-hello doesn't have an INSTALL file ;) > > Not to be deterred, I tried running autogen.sh and got > a lot of errors, such as: > > gnome-compiler-flags.m4 not found > libtool.m4 not found > glib-gettext.m4 not found > intltool.m4 not found > pkg.m4 not found > > Is there an idiot-proof guide to getting started that > I haven't found yet? > Failing that, do you need help writing one? > > Joachim > > > > > ___________________________________________________________ > How much free photo storage do you get? Store your holiday > snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com > _______________________________________________ > gnome-love mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gnome-love _______________________________________________ gnome-love mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-love
