Re: [glade--] Help !! error on running autogen .
Jeff Simpson <[email protected]> Thu, 15 Dec 2005 07:32:39 -0500
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
--===============1496322362== Content-Type: multipart/alternative; boundary="----=_Part_5516_22689498.1134649959546" ------=_Part_5516_22689498.1134649959546 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 12/15/05, romeo g <[email protected]> wrote: > > Dear all, > I m a newbie to linux. > I have been trying to create c++ code generated from glademm. > > I m using Red Hat 9 (Kernel 2.4) which comes with packages gtk -2.2, > glade 1.1.3 , automake 1.6.3, autoconf 2.57, glib 2.0 > > I have installed the following packages also > > glademm 2.6.0 > gtkmm 2.2 > libglademm 2.2 > libgnomecanvasmm 2.0 > libgconfmm 2.0 > libgnomemm 2.0 > libgnomeuimm 2.0 > libsigc++ 1.2 > > On running ./autogen.sh ,I get the following error... > > ****Error ***** > > which: no gnumake in > (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/b > in:/usr/X11R6/bin:/home/subash/bin) > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. found > autoconf (GNU Autoconf) 2.57 found > automake (GNU automake) 1.6.3 found > This script runs configure and make... > You did remember necessary arguments for configure, right? > Symlinking file ABOUT-NLS > Symlinking file config.rpath > Symlinking file mkinstalldirs > Not copying intl/ directory. > Symlinking file po/Makefile.in.in > Symlinking file po/boldquot.sed > Symlinking file po/[email protected] > Symlinking file po/[email protected] > Symlinking file po/insert-header.sin > Symlinking file po/Makevars.template > Symlinking file po/quot.sed > Symlinking file po/remove-potcdate.sin > Symlinking file po/Rules-quot > Adding an entry to po/ChangeLog (backup is in po/ChangeLog~) > Creating directory m4 > Symlinking file m4/codeset.m4 > Symlinking file m4/gettext.m4 > Symlinking file m4/glibc21.m4 > Symlinking file m4/iconv.m4 > Symlinking file m4/intdiv0.m4 > Symlinking file m4/inttypes.m4 > Symlinking file m4/inttypes_h.m4 > Symlinking file m4/inttypes-pri.m4 > Symlinking file m4/isc-posix.m4 > Symlinking file m4/lcmessage.m4 > Symlinking file m4/lib-ld.m4 > Symlinking file m4/lib-link.m4 > Symlinking file m4/lib-prefix.m4 > Symlinking file m4/progtest.m4 > Symlinking file m4/stdint_h.m4 > Symlinking file m4/uintmax_t.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 'automake m4/Makefile' to create m4/Makefile.in > > 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. > > 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 five paragraphs. > > configure.in:7: `automake requires `AM_CONFIG_HEADER', not > `AC_CONFIG_HEADER' > configure.in: installing `./missing' > Makefile.am: installing `./INSTALL' > Makefile.am: installing `./COPYING' > src/Makefile.am: installing `./depcomp' > src/Makefile.am:18: invalid unused variable name: `one23_LDADD' > src/Makefile.am:10: invalid unused variable name: `one23_SOURCES' > src/Makefile.am:18: invalid unused variable name: `one23_LDADD' > src/Makefile.am:10: invalid unused variable name: `one23_SOURCES' > 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 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 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 dependency style of g++... gcc3 > checking how to run the C++ preprocessor... g++ -E > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > 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 for a sed that does not truncate output... /bin/sed > checking whether ln -s works... yes > checking how to recognise dependent libraries... pass_all > checking command to parse /usr/bin/nm -B output... ok > 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 ranlib... ranlib > checking for strip... strip > checking for objdir... .libs > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.lo... yes > checking if gcc supports -fno-rtti -fno-exceptions... yes > checking whether the linker (/usr/bin/ld) supports shared libraries... ye= s > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking whether -lc should be explicitly linked in... no > creating libtool > checking for msgfmt... /usr/bin/msgfmt > checking for gmsgfmt... /usr/bin/msgfmt > checking for xgettext... /usr/bin/xgettext > checking for msgmerge... /usr/bin/msgmerge > checking for ld used by GCC... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for shared library run path origin... done > checking whether NLS is requested... yes > checking for GNU gettext in libc... yes > checking for pkg-config... /usr/bin/pkg-config > checking for gtkmm-2.0 >=3D 2.2.12... yes > checking GTKMM_CFLAGS... -I/usr/local/include/gtkmm-2.0 > -I/usr/local/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 > -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 > -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 > checking GTKMM_LIBS... -Wl,--export-dynamic -L/usr/local/lib > -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-x11-2.0 -lpangomm-1.0 > -lglibmm-2.0 -lsigc-1.2 -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 > configure: creating ./config.status > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating po/Makefile.in > config.status: creating m4/Makefile > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing default-1 commands > config.status: creating po/POTFILES > config.status: creating po/Makefile > cd . && /bin/sh /home/subash/123/missing --run aclocal-1.6 -I m4 > cd . && \ /bin/sh /home/subash/123/missing --run automake-1.6--gnu Makef= ile > configure.in:7: `automake requires `AM_CONFIG_HEADER', not > `AC_CONFIG_HEADER' > gmake: *** [Makefile.in] Error 1 You can do just what it says and replace AC_CONFIG_HEADER with AM_CONFIG_HEADER. Do a google search to see if the syntax is any different (I don't remember). I've done that one myself working with older packages. I agree with the other poster, though, use newer packages if possible, it makes everything a lot easier. - Jeff ------=_Part_5516_22689498.1134649959546 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 12/15/05, <b class=3D"gmail_sendername">romeo g</b> <<a href=3D"mailt= o:[email protected]">[email protected]</a>> wrote:<div><span class=3D"= gmail_quote"></span><blockquote class=3D"gmail_quote" style=3D"border-left:= 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex= ;"> Dear all,<br>I m a newbie to linux.<br>I have been trying to create c++ cod= e generated from glademm.<br><br>I m using Red Hat 9 (Kernel 2.4) which com= es with packages gtk -2.2,<br>glade 1.1.3 , automake 1.6.3, autoconf 2.57 , glib 2.0<br><br>I have installed the following packages also<br><br>glade= mm 2.6.0<br>gtkmm 2.2<br>libglademm 2.2<br>libgnomecanvasmm 2.0<br>libgconf= mm 2.0<br>libgnomemm 2.0<br>libgnomeuimm 2.0<br>libsigc++ 1.2<br><br>On run= ning ./autogen.sh ,I get the following error... <br><br>****Error *****<br><br>which: no gnumake in (/usr/local/sbin:/usr/l= ocal/bin:/sbin:/bin:/usr/sbin:/usr/b<br>in:/usr/X11R6/bin:/home/subash/bin)= <br>GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. found <br>autoconf (GNU Autoconf) 2.57 found<br>automake (GNU automake) 1.6.3 fou= nd<br>This script runs configure and make...<br>You did remember necessary = arguments for configure, right?<br>Symlinking file ABOUT-NLS<br>Symlinking = file=20 config.rpath<br>Symlinking file mkinstalldirs<br>Not copying intl/ director= y.<br>Symlinking file po/Makefile.in.in<br>Symlinking file po/boldquot.sed<= br>Symlinking file <a href=3D"mailto:po/[email protected]">po/en@boldquot.= header </a><br>Symlinking file <a href=3D"mailto:po/[email protected]">po/[email protected]= der</a><br>Symlinking file po/insert-header.sin<br>Symlinking file po/Makev= ars.template<br>Symlinking file po/quot.sed<br>Symlinking file po/remove- potcdate.sin<br>Symlinking file po/Rules-quot<br>Adding an entry to po/Chan= geLog (backup is in po/ChangeLog~)<br>Creating directory m4<br>Symlinking f= ile m4/codeset.m4<br>Symlinking file m4/gettext.m4<br>Symlinking file m4/gl= ibc21.m4 <br>Symlinking file m4/iconv.m4<br>Symlinking file m4/intdiv0.m4<br>Symlink= ing file m4/inttypes.m4<br>Symlinking file m4/inttypes_h.m4<br>Symlinking f= ile m4/inttypes-pri.m4<br>Symlinking file m4/isc-posix.m4<br>Symlinking fil= e m4/lcmessage.m4 <br>Symlinking file m4/lib-ld.m4<br>Symlinking file m4/lib-link.m4<br>Symli= nking file m4/lib-prefix.m4<br>Symlinking file m4/progtest.m4<br>Symlinking= file m4/stdint_h.m4<br>Symlinking file m4/uintmax_t.m4<br>Creating m4/Make= file.am <br>Creating m4/ChangeLog<br>Updating <a href=3D"http://Makefile.am">Makefi= le.am</a> (backup is in Makefile.am~)<br>Updating <a href=3D"http://configu= re.in">configure.in</a> (backup is in configure.in~)<br>Adding an entry to = ChangeLog (backup is in ChangeLog~) <br><br>Please use AM_GNU_GETTEXT([external]) in order to cause autoconfigu= ration<br>to look for an external libintl.<br><br>Please create po/Makevars= from the template in po/Makevars.template.<br>You can then remove po/Makev= ars.template. <br><br>Please run 'automake m4/Makefile' to create m4/Makefile.in<br><br>P= lease run 'aclocal -I m4' to regenerate the aclocal.m4 file.<br>You need ac= local from GNU automake 1.5 (or newer) to do this.<br>Then run 'autoconf' t= o regenerate the configure file. <br><br>You might also want to copy the convenience header file gettext.h<b= r>from the /usr/share/gettext directory into your package.<br>It is a wrapp= er around <libintl.h> that implements the configure --disable-nls <br>option.<br><br>Press Return to acknowledge the previous five paragraphs= .<br><br><a href=3D"http://configure.in:7">configure.in:7</a>: `automake re= quires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'<br><a href=3D"http://conf= igure.in"> configure.in</a>: installing `./missing'<br><a href=3D"http://Makefile.am">= Makefile.am</a>: installing `./INSTALL'<br><a href=3D"http://Makefile.am">M= akefile.am</a>: installing `./COPYING'<br>src/Makefile.am: installing `./de= pcomp' <br>src/Makefile.am:18: invalid unused variable name: `one23_LDADD'<br>src/= Makefile.am:10: invalid unused variable name: `one23_SOURCES'<br>src/Makefi= le.am:18: invalid unused variable name: `one23_LDADD'<br>src/Makefile.am:10= : invalid unused variable name: `one23_SOURCES' <br>checking for a BSD-compatible install... /usr/bin/install -c<br>checkin= g whether build environment is sane... yes<br>checking for gawk... gawk<br>= checking whether make sets $(MAKE)... yes<br>checking for style of include = used by make... GNU <br>checking for gcc... gcc<br>checking for C compiler default output... a.= out<br>checking whether the C compiler works... yes<br>checking whether we = are cross compiling... no<br>checking for suffix of executables...<br>check= ing for suffix of object files... o <br>checking whether we are using the GNU C compiler... yes<br>checking whe= ther gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... n= one needed<br>checking dependency style of gcc... gcc3<br>checking for stre= rror in -lcposix... no <br>checking for gcc... (cached) gcc<br>checking whether we are using the G= NU C compiler... (cached) yes<br>checking whether gcc accepts -g... (cached= ) yes<br>checking for gcc option to accept ANSI C... (cached) none needed <br>checking dependency style of gcc... (cached) gcc3<br>checking for gcc o= ption to accept ANSI C... none needed<br>checking how to run the C preproce= ssor... gcc -E<br>checking for egrep... grep -E<br>checking for ANSI C head= er files... yes <br>checking how to run the C preprocessor... gcc -E<br>checking for g++...= g++<br>checking whether we are using the GNU C++ compiler... yes<br>checki= ng whether g++ accepts -g... yes<br>checking dependency style of g++... gcc= 3 <br>checking how to run the C++ preprocessor... g++ -E<br>checking build sy= stem type... i686-pc-linux-gnu<br>checking host system type... i686-pc-linu= x-gnu<br>checking for ld used by GCC... /usr/bin/ld<br>checking if the link= er (/usr/bin/ld) is GNU ld... yes <br>checking for /usr/bin/ld option to reload object files... -r<br>checkin= g for BSD-compatible nm... /usr/bin/nm -B<br>checking for a sed that does n= ot truncate output... /bin/sed<br>checking whether ln -s works... yes<br> checking how to recognise dependent libraries... pass_all<br>checking comma= nd to parse /usr/bin/nm -B output... ok<br>checking for sys/types.h... yes<= br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checki= ng for=20 string.h... yes<br>checking for memory.h... yes<br>checking for strings.h..= . yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>= checking for unistd.h... yes<br>checking dlfcn.h usability... yes<br>checki= ng=20 dlfcn.h presence... yes<br>checking for dlfcn.h... yes<br>checking for ranl= ib... ranlib<br>checking for strip... strip<br>checking for objdir... .libs= <br>checking for gcc option to produce PIC... -fPIC<br>checking if gcc PIC = flag -fPIC works... yes <br>checking if gcc static flag -static works... yes<br>checking if gcc sup= ports -c -o file.o... yes<br>checking if gcc supports -c -o file.lo... yes<= br>checking if gcc supports -fno-rtti -fno-exceptions... yes<br>checking wh= ether the linker (/usr/bin/ld) supports shared libraries... yes <br>checking how to hardcode library paths into programs... immediate<br>ch= ecking whether stripping libraries is possible... yes<br>checking dynamic l= inker characteristics... GNU/Linux ld.so<br>checking if libtool supports sh= ared libraries... yes <br>checking whether to build shared libraries... yes<br>checking whether t= o build static libraries... yes<br>checking whether -lc should be explicitl= y linked in... no<br>creating libtool<br>checking for msgfmt... /usr/bin/ms= gfmt <br>checking for gmsgfmt... /usr/bin/msgfmt<br>checking for xgettext... /us= r/bin/xgettext<br>checking for msgmerge... /usr/bin/msgmerge<br>checking fo= r ld used by GCC... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is = GNU ld... yes <br>checking for shared library run path origin... done<br>checking whether= NLS is requested... yes<br>checking for GNU gettext in libc... yes<br>chec= king for pkg-config... /usr/bin/pkg-config<br>checking for gtkmm-2.0 >= =3D=20 2.2.12... yes<br>checking GTKMM_CFLAGS... -I/usr/local/include/gtkmm-2.0<br= >-I/usr/local/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0<br>-I/usr/local/= lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2<br>-I/usr/include/gl= ib- 2.0 -I/usr/lib/glib-2.0/include<br>-I/usr/lib/gtk-2.0/include -I/usr/includ= e/pango-1.0<br>-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include= /atk-1.0<br>checking GTKMM_LIBS... -Wl,--export-dynamic -L/usr/local/lib <br>-lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-x11-2.0 -lpangomm-1.0<br>-lgl= ibmm-2.0 -lsigc-1.2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm<br>-lpango= xft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0<br>-ldl -lglib= -2.0 <br>configure: creating ./config.status<br>config.status: creating Makefile= <br>config.status: creating src/Makefile<br>config.status: creating po/Make= file.in<br>config.status: creating m4/Makefile<br>config.status: creating= =20 config.h<br>config.status: executing depfiles commands<br>config.status: ex= ecuting default-1 commands<br>config.status: creating po/POTFILES<br>config= .status: creating po/Makefile<br>cd . && /bin/sh /home/subash/123/m= issing --run=20 aclocal-1.6 -I m4<br>cd . && \ /bin/sh /home/subash/123/missing --r= un automake-1.6 --gnu Makefile<br><a href=3D"http://configure.in= :7">configure.in:7</a>: `automake requires `AM_CONFIG_HEADER', not `AC_CONF= IG_HEADER' <br>gmake: *** [<a href=3D"http://Makefile.in">Makefile.in</a>] Error 1</bl= ockquote><div><br>You can do just what it says and replace AC_CONFIG_HEADER= with AM_CONFIG_HEADER. Do a google search to see if the syntax is any diff= erent (I don't remember). I've done that one myself working with older pack= ages. <br><br>I agree with the other poster, though, use newer packages if possib= le, it makes everything a lot easier.<br><br> - Jeff<br></div></div> ------=_Part_5516_22689498.1134649959546-- --===============1496322362== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ glademm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/glademm-list --===============1496322362==--