--On February 9, 2006 9:59:49 AM -0500 Derek Atkins <[EMAIL PROTECTED]>
wrote:
You didn't specify which SVN revision you tried. Also, could you try
the 1.9.0 test release?
The patch was generated against 13074. I tried it again against 13174,
which is slightly post 1.9.0 and it still doesn't work right. The two
patches that are relevant to building, rather than running, in a
separate directory are
Index: configure.in
===================================================================
--- configure.in (revision 13074)
+++ configure.in (working copy)
@@ -453,7 +453,7 @@
fi
if test x$QOF_XML_DIR = x; then
QOF_LIB_DIR='${libdir}'
- QOF_CFLAGS='-I${top_srcdir}/lib/libqof/qof'
+ QOF_CFLAGS='-I${top_srcdir}/lib/libqof/qof
-I${top_builddir}/lib/libqof/qof'
QOF_LIBS='${top_builddir}/lib/libqof/qof/libqof.la'
QOF_VERSION="internal"
QOF_PREFIX="internal"
Index: intl-scm/Makefile.am
===================================================================
--- intl-scm/Makefile.am (revision 13074)
+++ intl-scm/Makefile.am (working copy)
@@ -8,7 +8,7 @@
BUILT_SOURCES = guile-strings.c
-SCMFILES = $(shell find ${top_srcdir}/src -name test -prune -o -name
'*.scm' -print )
+SCMFILES = $(shell cd ${srcdir} && find ../src -name test -prune -o
-name '*.scm' -print )
# This needs to be generated in srcdir
guile-strings.c: $(SCMFILES)
After updating to 13174 in /tools/gnucash-1.9/gnucash-1.9 and undoing
these two patches I ran autogen.sh in that directory. I then cd'ed
into /tools/gnucash-1.9/build/darwin (which was empty) and ran
configure as
../../gnucash-1.9/configure \
--prefix=/tools/gnucash-1.9/install \
--exec-prefix=/tools/gnucash-1.9/install/darwin \
--enable-prefer-db1=no \
--disable-static \
--enable-ofx \
--enable-doxygen \
--enable-maintainer-mode \
--enable-compiler-warnings=minimum \
--enable-etags \
--enable-ctags \
--enable-opt-style-install \
--enable-debug \
--with-g-wrap-prefix=/tools/g-wrap-1.9.6/install/darwin
Running make in build/darwin/intl-scm gives these errors:
ERROR: In procedure open-file:
ERROR: No such file or directory:
"../../../gnucash-1.9/src/app-utils/app-utils.scm"
Running make in build/darwin/lib/libqof/backend/file gives the errors
In file included from
../../../../../../gnucash-1.9/lib/libqof/backend/file/qsf-backend.c:26:
In file included from
../../../../../../gnucash-1.9/lib/libqof/backend/file/qsf-xml-map.c:31:
../../../../../../gnucash-1.9/lib/libqof/qof/qof.h:99:23: error:
qofla-dir.h: No such file or directory
../../../../../../gnucash-1.9/lib/libqof/qof/qof.h:99:23: error:
qofla-dir.h: No such file or directory
There are many other errors of this sort in other directories.
The two patches above fix these problems for me. I realize that I'm
building things in a rather odd way, but I'm trying to use some build
tools originally meant for other purposes.
--
Mike Alexander [EMAIL PROTECTED]
Ann Arbor, MI PGP key ID: BEA343A6
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel