Re: [glade--] I can't build a simple project



btw, except for two warnings at autogen.sh :

/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB

The program seems to built and compile Ok, without gettext.

thanks for your help.
Nir.

On 11/4/05, Nir Misgav <nirmisgav gmail com> wrote:
> And what if I want gettext enabled in my program ?
> If it's a bug it needs to be fixed. no ?
>
> On 11/4/05, Amadeus W.M. <amadeus84 cablespeed com> wrote:
> > On Fri, 2005-11-04 at 15:53 +0200, Nir Misgav wrote:
> > > Hello,
> > >
> > > I'm using glade-- version : 2.6.0-1.2 (Ubuntu dapper package)
> > >
> > > I'm trying to build a simple project through glade-2.
> > >
> > > when I build the project from glade-2 I get these lines :
> > > sh: autoconf2.50: command not found
> > > Found pkg-config version 0.19.0
> > > Generating code for gtk 2.8.6 (pkg-config), gtkmm 2.8.1 (pkg-config)
> > > Using autoconf 2.59.0, automake-1.9 1.9.6, glib's gettext
> > >
> > > Now I quit glade and run from the console:
> > > ./autogen.sh
> > >
> > > This is the whole output :
> > > =============================================================
> > > GNU Make 3.80 found
> > > autoconf (GNU Autoconf) 2.59 found
> > > automake (GNU automake) 1.9.6 found
> > > This script runs configure and make...
> > > You did remember necessary arguments for configure, right?
> > > /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
> > >   run info '(automake)Extending aclocal'
> > >   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> > > /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
> > > 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/en boldquot header
> > > Symlinking file po/en quot header
> > > 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/glibc2.m4
> > > Symlinking file m4/glibc21.m4
> > > Symlinking file m4/iconv.m4
> > > Symlinking file m4/intdiv0.m4
> > > Symlinking file m4/intmax.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/longdouble.m4
> > > Symlinking file m4/longlong.m4
> > > Symlinking file m4/nls.m4
> > > Symlinking file m4/po.m4
> > > Symlinking file m4/printf-posix.m4
> > > Symlinking file m4/progtest.m4
> > > Symlinking file m4/signed.m4
> > > Symlinking file m4/size_max.m4
> > > Symlinking file m4/stdint_h.m4
> > > Symlinking file m4/uintmax_t.m4
> > > Symlinking file m4/ulonglong.m4
> > > Symlinking file m4/wchar_t.m4
> > > Symlinking file m4/wint_t.m4
> > > Symlinking 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 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.
> > >
> > > ===============================================================
> > >
> > > if I run autogen.sh again, I get :
> > > ===============================================================
> > >
> > > GNU Make 3.80 found
> > > autoconf (GNU Autoconf) 2.59 found
> > > automake (GNU automake) 1.9.6 found
> > > This script runs configure and make...
> > > You did remember necessary arguments for configure, right?
> > > /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
> > >   run info '(automake)Extending aclocal'
> > >   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> > > /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
> > > gettextize: *** po/Makefile.in.in exists: use option -f if you really
> > > want to delete it.
> > > gettextize: *** Stop.
> > > configure.in: installing `./missing'
> > > src/Makefile.am: installing `./depcomp'
> > > Makefile.am: installing `./INSTALL'
> > > Makefile.am: installing `./COPYING'
> > > checking for a BSD-compatible install... /usr/bin/install -c
> > > checking whether build environment is sane... yes
> > > ........
> > > ........(seems irrelevant to me...)
> > > ........
> > > ........
> > > /usr/bin/make  all-recursive
> > > make[1]: Entering directory `/home/nirro/Projects/webmm2'
> > > Making all in m4
> > > make[2]: Entering directory `/home/nirro/Projects/webmm2/m4'
> > > make[2]: Nothing to be done for `all'.
> > > make[2]: Leaving directory `/home/nirro/Projects/webmm2/m4'
> > > Making all in po
> > > make[2]: Entering directory `/home/nirro/Projects/webmm2/po'
> > > make[2]: *** No rule to make target `/config.status', needed by
> > > `Makefile'.  Stop.
> > > make[2]: Leaving directory `/home/nirro/Projects/webmm2/po'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/nirro/Projects/webmm2'
> > > make: *** [all] Error 2
> > >
> > > ==================================================================
> > >
> > >
> > > What is the problem and what is the fix ?
> > >
> > > Thanks,
> > > Nir.
> > > _______________________________________________
> > > glademm-list mailing list
> > > glademm-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/glademm-list
> >
> >
> > I don't pretend to understand the gnu auto tools, but I had similar
> > problems coming from gettext. Start a new Gtk+ Project in glade2, and
> > under Options, the C options tab, uncheck gettext. Of course, choose C++
> > language, etc. Then save, build, autogen.sh, etc. It was a long time ago
> > when I was messing with this, but as I remember, unchecking gettext in
> > an already existing project didn't have any effect. You need to generate
> > a clean autogen.sh without gettext.
> >
> >
> >
> >
>



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