problems compiling gnucash (gnucash-gnome2-dev branch)

Yada Yuk yadayuk at yahoo.com
Sun Aug 17 21:16:21 CDT 2003


Managed to succesfully compile. Gnucash runs (i.e.
main window comes up, tip of day comes up). Crashes
when I try to open new user tutorial.

But yay I got it to compile. Now lets see if can do
anything use ful and fix errors...

Thanks for all the help in compiling
Yada

--- Derek Atkins <warlord at MIT.EDU> wrote:
> What version of intltoolize do you have installed?
> 
> I've got:
> 
> --> intltoolize --version
> intltoolize (GNU intltool) 0.22
> 
> -derek
> 
> Yada Yuk <yadayuk at yahoo.com> writes:
> 
> > More problems compiling the gnucash-gnome2-dev
> branch.
> > The compile error message is as follows
> > 
> > --Begin error msg--
> > Making all in gnome
> > make[3]: Entering directory
> > `/home/hrishisid/projects/gnucash/src/gnome'
> > Makefile:686: *** missing separator.  Stop.
> > make[3]: Leaving directory
> > `/home/hrishisid/projects/gnucash/src/gnome'
> > 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
> > --End error msg--
> > The line in the Makefile is
> >
>
/home/yadayuk/projects/gnucash/src/gnome/Makefile:686
> > @INTLTOOL_DESKTOP_RULE@
> > 
> > Any help appreciated.
> > Thanks
> > 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 is
> > > at. (Does it compile ? Does it run with bugs ?).
> Is
> > > there some place I can find out the current
> state?
> > > 
> > > Thanks
> > > Yada
> > > PS: here are some notes on some errors I got
> prior
> > > to
> > > the current one and what actions I took to fix
> them
> > > 
> > > To compile gnucash branch "gnucash-gnome2-dev"
> on 
> > > Debian SID 
> > > 
> > > cvs -z3 -d
> > > :pserver:cvs at cvs.gnucash.org:/home/cvs/cvsroot
> > > checkout -r gnucash-gnome2-dev gnucash
> > > 
> > > cd gnucash
> > > ./autogen.sh
> > > ./configure
> > > make
> DESTDIR=/home/yadayuk/projects/gnucash_test/
> > > 
> > > Errors running autogen.sh
> > > -------------------------
> > > Error:
> > > "checking for guile - 1.3.4 <= version <
> 99.99.99...
> > > no
> > >  configure: WARNING: guile version check failed
> > >  configure: error:
> > > 
> > >    guile  does not appear to be installed
> correctly,
> > > or is not in the
> > >    correct version range.  Perhaps you have not
> > > installed the guile
> > >    development packages?  Right now gnucash
> requires
> > > at least version
> > >    1.3.4 to build."
> > >    
> > > Solution:
> > > aptitude install libguile-dev
> > > 
> > > Note:
> > > guile-1.6-dev and libguile-dev do not co-exist
> (as
> > > of
> > > Aug 17 2003) on Debian SID
> > > Installing one uninstalls the other!! The
> autogen.sh
> > > script requires
> > > libguile-dev to be installed (does not check
> > > guile-1.6-dev) while "make"
> > > requires guile-1.6-dev.
> > > 
> > > Error: 
> > > "
> > > checking for libgnomeprint-2.0
> > > libgnomeprintui-2.0...
> > > Package libgnomeprint-2.0 was not found in the
> > > pkg-config search path.
> > > Perhaps you should add the directory containing
> > > `libgnomeprint-2.0.pc'
> > > to the PKG_CONFIG_PATH environment variable
> > > No package 'libgnomeprint-2.0' found
> > > 
> > > configure: error: Library requirements
> > > (libgnomeprint-2.0 libgnomeprintui-2.0) not met;
> > > consider adjusting the PKG_CONFIG_PATH
> environment
> > > variable if your libraries are in a nonstandard
> > > prefix
> > > so pkg-config can find them.
> > > "
> > > 
> > > Solution:
> > > Made following soft links 
> > > cd /usr/lib/pkgconfig/
> > > ln -s libgnomeprint-2.2.pc libgnomeprint-2.0.pc
> > > ln -s libgnomeprintui-2.2.pc
> libgnomeprintui-2.0.pc
> > > 
> > > Make Errors
> > > -----------
> > > Error:
> > > grep: /usr/lib/libguile-ltdl.la: No such file or
> > > directory
> > > sed: can't read /usr/lib/libguile-ltdl.la: No
> such
> > > file or directory
> > > libtool: link: `/usr/lib/libguile-ltdl.la' is
> not a
> > > valid libtool archive
> > > 
> > > Solution:
> > > aptitude install guile-1.6-dev (see note above)
> > > 
> > > Error:
> > > 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
> > > 
> > > Solution: ???
> > > 
> 
=== 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