Recent problems building from SVN trunk

Derek Atkins warlord at MIT.EDU
Fri Mar 10 19:42:41 EST 2006


Yeah, I got this as well recently.   Try this:

  rm -rf /opt/gnucash-svn/*
  make clean
  make all install

-derek

Quoting David Herman <dvherman at gmail.com>:

> On Fri, 2006-03-10 at 18:27 -0500, Derek Atkins wrote:
>> Dammit, this needs to be a FAQ.  You ran rm -rf which left the file
>> ".links" in the top-level of your source directory.  You either need
>> to "make distclean" or you need to rm .links so it creates the proper
>> symlinks.
>>
>> -derek
>>
> OK That resolved the goffice problem.  Do I feel humble ....
>
> However I still have the `libgw-app-utils.la' problem.
>
> system is FC4 (i386) current with updates. I get the following from
>
> make all install
>
> gcc -shared  .libs/gw-app-utils.o  -Wl,--rpath
> -Wl,/opt/gnucash-svn/lib/gnucash -Wl,--rpath -Wl,/opt/gnucash-svn/lib
> -L/opt/gnucash-svn/lib/gnucash -lgncmod-app-utils
> -L/usr/src/build/530333-i386/BUILD/guile-1.6.7/libguile/.libs
> -L/home/dvherman/GNUCash/gnome2-gnucash/src/engine/.libs
> -L/home/dvherman/GNUCash/gnome2-gnucash/src/gnc-module/.libs
> -L/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../
> -L/home/dvherman/GNUCash/gnome2-gnucash/src/calculation/.libs
> -L/home/dvherman/GNUCash/gnome2-gnucash/src/core-utils/.libs -L/usr/lib
> -L/home/dvherman/GNUCash/gnome2-gnucash/lib/libqof/qof/.libs
> -lgwrap-guile-runtime -lgwrap-core-runtime -lffi -lguile -lguile-ltdl
> -lqthreads -lpthread -lcrypt -L/opt/gnucash-svn/lib -lqof -lgthread-2.0
> -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpopt -lm  -pthread
> -pthread -pthread -Wl,--export-dynamic -Wl,-soname
> -Wl,libgw-app-utils.so.0 -o .libs/libgw-app-utils.so.0.0.0
> /usr/bin/ld: cannot find -lgncmod-app-utils
> collect2: ld returned 1 exit status
> libtool: install: error: relink `libgw-app-utils.la' with the above
> command before installing it
> make[6]: *** [install-pkglibLTLIBRARIES] Error 1
> make[6]: Leaving directory
> `/home/dvherman/GNUCash/gnome2-gnucash/src/app-utils'
>
> make -C src/engine all install showed no errors however then next make
> all install still fails.
>
>
>
>> Quoting David Herman <dvherman at gmail.com>:
>>
>> > I have also been having problem building the SVN trunk, this has been
>> > going on for several days.
>> >
>> > I also was having the problem with "missing libgw-engine.so.0".
>> >
>> > Now I'm not getting that far.
>> >
>> > After removing the build tree and performing a "checkout" I am no
>> > getting this - error: goffice/goffice-config.h: No such file or
>> > directory
>> >
>> > log follows
>> >
>> > make[7]: Entering directory
>> > `/home/dvherman/GNUCash/gnome2-gnucash/lib/goffice-0.0.4/goffice/utils'
>> > if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc
>> > -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../..
>> > -I../../../..  -I../../../../lib/libgsf-1.12.3
>> > -I../../../../lib/goffice-0.0.4 -I../../../../lib/goffice-0.0.4
>> > -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/freetype2 -I/usr/include/gtk-2.0
>> > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
>> > -I/usr/include/freetype2/config -I/usr/include/libglade-2.0
>> > -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0     -g -O2 -g
>> > -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror
>> > -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -MT
>> > go-marshalers.lo -MD -MP -MF ".deps/go-marshalers.Tpo" -c -o
>> > go-marshalers.lo go-marshalers.c; \
>> > then mv -f ".deps/go-marshalers.Tpo" ".deps/go-marshalers.Plo"; else rm
>> > -f ".deps/go-marshalers.Tpo"; exit 1; fi
>> > gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../..
>> > -I../../../.. -I../../../../lib/libgsf-1.12.3
>> > -I../../../../lib/goffice-0.0.4 -I../../../../lib/goffice-0.0.4
>> > -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/freetype2 -I/usr/include/gtk-2.0
>> > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
>> > -I/usr/include/freetype2/config -I/usr/include/libglade-2.0
>> > -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -g -O2 -g
>> > -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror
>> > -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -MT
>> > go-marshalers.lo -MD -MP -MF .deps/go-marshalers.Tpo -c go-marshalers.c
>> > -fPIC -DPIC -o .libs/go-marshalers.o
>> > go-marshalers.c:2:36: error: goffice/goffice-config.h: No such file or
>> > directory
>> > make[7]: *** [go-marshalers.lo] Error 1
>> > make[7]: Leaving directory
>> > `/home/dvherman/GNUCash/gnome2-gnucash/lib/goffice-0.0.4/goffice/utils'
>> > make[6]: *** [all] Error 2
>> > make[6]: Leaving directory
>> > `/home/dvherman/GNUCash/gnome2-gnucash/lib/goffice-0.0.4/goffice/utils'
>> > make[5]: *** [all-recursive] Error 1
>> >
>> > Any suggestions?
>> >
>> >
>> > _______________________________________________
>> > gnucash-devel mailing list
>> > gnucash-devel at gnucash.org
>> > https://lists.gnucash.org/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 at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list