Build problems

Derek Atkins warlord@MIT.EDU
20 Jul 2001 13:52:11 -0400


Gnucash 1.6 requires g-wrap 1.x.  You need to change to that.

-derek

Greg Novak <novak@ucolick.org> writes:

> I'm trying to use GnuCash but unfortunately I don't administer the machine
> I'm working on, so I can't just install the rpm file.  Is it
> possible/feasible to make the rpm file able to install in a user's home
> directory rather than insisting on going in /usr/bin?
> 
> I tried building from source.  I run:
> ./configure --prefix=/u/novak/bin/local
> make
> 
> THe build gets fairly far but then terminates with an error:
> 
> -----------------------------------------------------------
> 
> gcc -g -O2 -Wall -I/usr/lib/glib/include -I/usr/include
> -DNEED_GNOMESUPPORT_H -I
> /usr/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/lib/glib/include
> -I/usr/
> include/gnome-xml -I/usr/include -o .libs/gnucash MultiLedger.o
> SplitLedger.o De
> stroy.o EuroUtils.o FileDialog.o Refresh.o gnome/libgncgnome.a
> register/libgncre
> gister.a register/gnome/libgncregistergnome.a guile/libgncguile.a
> gnome/libgncgn
> ome.a engine/.libs/libgncengine.so -lm -rdynamic -L/usr/lib
> -L/usr/X11R6/lib -lg
> nomeui -lart_lgpl -lgdk_imlib -lgnome -lgnomesupport -lesd -laudiofile
> -ldb1 -lg
> tkxmhtml -lXpm -ljpeg -lpng -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl
> -lXext 
> -lX11 -lm -lxml -lz /u/novak/bin/local/lib/libgwrapguile.a -L/usr/lib
> -lguile -l
> dl -lreadline -ltermcap -lm -lm -Wl,--rpath -Wl,/u/novak/bin/local/lib
> guile/libgncguile.a(gnc.o): In function `init_gnc':
> /u/novak/Inbox/gn2/src/guile/gnc.c:7921: undefined reference to
> `scm_make_smob_t
> ype'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7922: undefined reference to
> `scm_set_smob_ma
> rk'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7923: undefined reference to
> `scm_set_smob_fr
> ee'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7924: undefined reference to
> `scm_set_smob_pr
> int'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7925: undefined reference to
> `scm_set_smob_eq
> ualp'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7932: undefined reference to
> `scm_make_smob_t
> ype'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7933: undefined reference to
> `scm_set_smob_ma
> rk'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7934: undefined reference to
> `scm_set_smob_fr
> ee'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7935: undefined reference to
> `scm_set_smob_pr
> int'
> /u/novak/Inbox/gn2/src/guile/gnc.c:7936: undefined reference to
> `scm_set_smob_eq
> ualp'
> collect2: ld returned 1 exit status
> 
> -----------------------------------------------------------
> 
> Where are these files supposed to be?  Also, I initially didn't have Swig
> installed so I followed the advice of the configure script and tried:
> ./configure --prefix=/u/novak/bin/local --with-swig
> make
> Here the build gets into an apparently infinite loop at the line:
> 
> -----------------------------------------------------------
> -perl5 -I.. -I../../../src/engine -o gnucash-engine-perl5_wrap_int.c
> gnucash.engine.i
> -----------------------------------------------------------
> 
> I'm trying to build gnucash 1.4.12 and I'm on a Red Hat 6.1 machine.
> Other version information:
> guile-1.3.7
> gnome-libs-1.0.40
> g-wrap-0.9.12
> swig-1.3.6
> 
> Thanks!!!
> Greg
> 
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnumatic.com
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available