Windows Compilation Error: gconftool-2

Andreas Köhler andi5.py at gmx.net
Sun Jan 7 10:02:05 EST 2007


Hi Tom,

On Sa, 2007-01-06 at 19:51 -0600, Tom Purl wrote:
> I'm trying to install GnuCash from source on Windows XP SP 2.  I get to the following point when I run install.sh in debug mode:
> 
>     [snip]
>     qpopd
>     ++ popd
>     ++ qpushd /c/soft/gnucash/inst/etc/gconf/schemas
>     ++ pushd /c/soft/gnucash/inst/etc/gconf/schemas
>     ++ gconftool-2 --config-source=xml:merged:c:/soft/gnucash/inst/etc/gconf/gconf.xml.defaults --install-schema-file apps_gnucash_dialog_business_common.schemas
> 
> At this point, an empty DOS command window pops up with the following title:
> 
>     c:/soft/gnome/libexec\gconfd-2.exe
> 
> The installation script seems to hang at this point.  I've waited over half an hour for something to happen twice, and it just hangs.

The cmd.exe window might be OK, but the install.sh should continue after
a few seconds, of course.

> I don't seem to have a gconf.xml.defaults folder in my c:/soft/gnucash/inst/etc/gconf folder.  I only have a "schemas" folder there.  

That is correct. We just spawned gconfd-2 to register these schema files
into that directory.
> 
> I then copied the gconf.xml.defaults folder from a different location to that directory, and I got the following error when I ran install.sh again:

What is your "different location"? Do you have a gconfd-2 running
already, is there some conflict with another installed package?

>      gcc -DHAVE_CONFIG_H -I. -I../../../../../repos/lib/libqof/backend/file -I../../../.. -I../../../.. -I../../../.. -I../../../.. -I/c/soft/autotools/include -I/c/soft/regex/include -I/c/soft/gnome/include -I/c/soft/guile/include -D_WIN32 -I.. -I../.. -DLOCALE_DIR=\"c:/soft/gnucash/inst/share/locale\" -I../../../../lib/libqof/qof -I../../../../../repos/lib/libqof/qof -Ic:/soft/gnome/include -Ic:/soft/gnome/include/glib-2.0 -Ic:/soft/gnome/lib/glib-2.0/include -I../../../../../repos/lib/libc -Werror -Wdeclaration-after-statement -g -O2 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT qsf-xml.lo -MD -MP -MF .deps/qsf-xml.Tpo -c ../../../../../repos/lib/libqof/backend/file/qsf-xml.c  -DDLL_EXPORT -DPIC -o .libs/qsf-xml.o
>     /bin/sh ../../../../libtool --tag=CC --mode=link gcc -I.. -I../.. -DLOCALE_DIR=\""c:/soft/gnucash/inst/share/locale"\" -I../../../../lib/libqof/qof -I../../../../../repos/lib/libqof/qof -Ic:/soft/gnome/include -Ic:/soft/gnome/include/glib-2.0 -Ic:/soft/gnome/lib/glib-2.0/include   -I../../../../../repos/lib/libc -Werror -Wdeclaration-after-statement -g -O2 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused  -L/c/soft/autotools/lib -L/c/soft/regex/lib -L/c/soft/gnome/lib -L/c/soft/guile/lib -g -no-undefined -o libgncqof-backend-qsf.la -rpath c:/soft/gnucash/inst/lib -module -avoid-version qsf-backend.lo qsf-xml-map.lo qsf-xml.lo ../../../../lib/libqof/qof/libgncqof.la -Lc:/soft/gnome/lib -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -lregex -Lc:/soft/gnome/lib -lxml2 -lz   ../../../../lib/libc/libc-missing.la -lpopt -lm  -lm
>     libtool: link: `qsf-xml-map.lo' is not a valid libtool object
>     make[7]: *** [libgncqof-backend-qsf.la] Error 1
>     make[7]: Leaving directory `/c/soft/gnucash/build/lib/libqof/backend/file'
>     make[6]: *** [all-recursive] Error 1
>     make[6]: Leaving directory `/c/soft/gnucash/build/lib/libqof/backend/file'
>     make[5]: *** [all] Error 2
>     make[5]: Leaving directory `/c/soft/gnucash/build/lib/libqof/backend/file'
>     make[4]: *** [all-recursive] Error 1
>     make[4]: Leaving directory `/c/soft/gnucash/build/lib/libqof/backend'
>     make[3]: *** [all-recursive] Error 1
>     make[3]: Leaving directory `/c/soft/gnucash/build/lib/libqof'
>     make[2]: *** [all-recursive] Error 1
>     make[2]: Leaving directory `/c/soft/gnucash/build/lib'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory `/c/soft/gnucash/build'
>     make: *** [all] Error 2
> 
> Is this a bug, or is there some mistake that I'm making?

Hm. You might want to 'cd /c/soft/gnucash/build/lib/libqof/backend/file
&& make clean' and rerun install.sh.

There have been some recent changes, so removing c:\soft\gnucash\build
and \inst completely is probably an even better idea.

> Thanks!
> 
> Tom Purl

-- andi5




More information about the gnucash-devel mailing list