problems compiling gnucash (gnucash-gnome2-dev branch)

Yada Yuk yadayuk at yahoo.com
Sun Aug 17 14:52:14 CDT 2003


Hi
/usr/include/libintl.h:40: extern char *gettext
(__const char *__msgid) __THROW;

I tried re-running autogen.sh with the
--with-included-gettext option and that worked (got it
compiling a little further).

Thanks
Yada

--- Olaf Faaland <junk4olaf at yahoo.com> wrote:
> What is on that line in the  /usr/include/libintl.h?
> 
> It won't help me, but it 
> might matter to someone more knowledgeable.
> 
> In any case, maybe it's some problem with your
> gettext.  You might try 
> re-running autogen.sh with --with-included-gettext
> (along with whatever other 
> arguments you gave it), and then re-running make, to
> see if that helps.
> 
> If that doesn't work, In order to keep moving, you
> could try re-running 
> autogen.sh with --disable-nls (if you don't need to
> use one of the 
> translations).  As a workaround, until someone can
> help you troubleshoot 
> properly.
> 
> -Olaf
> 
> 
> On Sunday 17 August 2003 01:30 am, Yada Yuk wrote:
> > I checked out a version of the tree again,
> uninstalled
> > and re-installed the following packages -
> > guile-1.6 guile-1.6-dev guile-1.6-slib
> > libgwrapguile-dev libgwrapguile1
> > guile1.4 guile-common libguile-ltdl-1 libguile9
> >
> > And now it seems to compile more of the code.
> > Currently my compile crashes with the following
> error.
> > Any help fixing it is greatly appreciated.
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../..
> > -I../../src/gnc-module -I../../src/engine
> > -I../../src/backend/file -I../../src/network-utils
> > -I../../src/app-utils -I../../lib/egg -I../../src
> > -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include
> > -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
> > -I/usr/include/libxml2 -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/libgnomeprint-2.2
> > -I/usr/include/libart-2.0 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
> > -I/usr/include/pango-1.0
> > -I/usr/include/libgnomeprintui-2.2
> > -I/usr/include/libgnomecanvas-2.0
> > -I/usr/include/freetype2 -I/usr/include/gtk-2.0
> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> > -I/usr/X11R6/include -DORBIT2=1 -pthread
> > -I/usr/include/libgnomeui-2.0
> > -I/usr/include/libgnome-2.0
> > -I/usr/include/libgnomecanvas-2.0
> > -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0
> > -I/usr/include/gconf/2
> -I/usr/include/libbonoboui-2.0
> > -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include
> > -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
> > -I/usr/include/pango-1.0 -I/usr/include/freetype2
> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> > -I/usr/X11R6/include -I/usr/include/libxml2
> > -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0
> > -I/usr/include/libxml2 -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/g-wrap -g -O2 -Werror
> > -Wp,-MD,.deps/dialog-account.pp -c
> dialog-account.c
> > -fPIC -o .libs/dialog-account.o
> > In file included from
> ../../src/engine/messages.h:34,
> >                  from dialog-account.c:49:
> > /usr/include/libintl.h:40: syntax error before
> "const"
> > /usr/include/libintl.h:44: syntax error before
> "const"
> > /usr/include/libintl.h:52: syntax error before
> "const"
> > /usr/include/libintl.h:81: syntax error before
> "const"
> > /usr/include/libintl.h:86: syntax error before
> "const"
> > /usr/include/libintl.h:91: syntax error before
> "const"
> > make[4]: *** [dialog-account.lo] Error 1
> > make[4]: Leaving directory
> > `/home/hrishisid/projects/gnucash/src/gnome-utils'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory
> > `/home/hrishisid/projects/gnucash/src/gnome-utils'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory
> > `/home/hrishisid/projects/gnucash/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/home/hrishisid/projects/gnucash'
> > make: *** [all-recursive-am] Error 2
> >
> > Thanks
> > Yada
> >
> > --- Yada Yuk <yadayuk at yahoo.com> wrote:
> > > Looks like the problem is because of the version
> of
> > > guile I have installed. I have Debian SID
> packages
> > > guile1.4 and guile-1.6 installed.
> > >
> > > An earlier thread
> >
> >
>
(http://www.mail-archive.com/gnucash-devel@lists.gnucash.org/msg02068.html)
> >
> > > seems to suggest that guile-1.6 will not work
> > > correctly. So I uninstalled gulie-1.6 but that
> also
> > > removes the packages libgwrapguile1 and
> > > libgwrapguile-dev (which provide g-wrap)!!
> > >
> > > Also, another thread
> >
> >
>
(http://www.mail-archive.com/gnucash-devel@lists.gnucash.org/msg02833.html)
> >
> > > suggests that guile-1.6-dev should be installed.
> I
> > > am
> > > a little confused now.
> > >
> > > Yada
> > >
> > > --- Yada Yuk <yadayuk at yahoo.com> wrote:
> > > > I am trying to compile the gnucash-gnome2-dev
> on
> a
> > > > Debian SID system.
> > > >
> > > > I get the following error when I try a Make.
> > > >
> > > >
> > > > --Begin  text--
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I../..
> > >
> > > -I../../lib/libc
> > >
> > > > -I../../src -I../../src/gnc-module -DGNUCASH
> > > > -I/usr/include/glib-2.0
> > >
> > > -I/usr/lib/glib-2.0/include
> > >
> > > > -I
> > > > /usr/include/g-wrap -g -O2 -Werror
> > > > -Wp,-MD,.deps/engine-helpers.pp -c
> > >
> > > engine-helpers.c
> > >
> > > > -fPIC -o .libs/engine-helpers.o
> > > > cc1: warnings being treated as errors
> > > > engine-helpers.c: In function
> > > > `gnc_timepair2timespec':
> > > > engine-helpers.c:108: warning: passing arg 2
> of
> > > > `scm_num2long' makes integer from pointer
> without
> > >
> > > a
> > >
> > > > cast
> > > > -- End text--
> > > >
> > > > engine-helpers.c:108  result.tv_nsec =
> > > > scm_num2long(SCM_CDR(x), SCM_ARG1,
> __FUNCTION__);
> > > >
> > > > I grepped for SCM_ARG1 in all the header files
> > > > includes in engine-helpers.c but could not
> find
> > >
> > > it.
> > >
> > > > How do I fix this error?
> > > >
> > > > I dont know what stage the gnucash port to
> gnome2
> > >
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


More information about the gnucash-devel mailing list