> I noticed in your patch that you updated the DB_FLAGS to:
> DB_FLAGS = -I$(DB_HOME)/include -DHAVE_CXX_STDHEADERS
That was a mistake that didn't pan out. When I discovered it I later
went back to re-configure Berkeley DB with --enable-cxx as you
suggested but then forget to remove it from DB_FLAGS. I removed the
removed 'src/FreezeScript/DumpDB.o' and did test build. It worked
fine so you're right it's not needed.
> Why, since it's the first #define in <db_cxx.h>? Obviously you need
> to build Berkeley DB configured with --enable-cxx using the same
> C++ compiler as the one you use for Ice (or at least a compatible
> compiler)
> You also made some changes to IceXML and the Freeze backup demo
> ... could you provide more info?
** Regarding IceXML
I apparently downloaded a slightly different version of expat than was
expected. In particular `IceXML/Parser.cpp' was #including `expat.h'
but the version I downloaded had `xmlparse.h' instead. I didn't want
to just change the source so tried to come up with a way to allow it
to work with both versions of expat.
The expat I found with goggle search was:
ftp://ftp.jclark.com/pub/xml/expat.zip
If I need to get a different version of expat let me know. If this
version is the correct one and if you decide to support both versions
of expat then I can download the updated Makefiles and sources once
you come up with a way to support it.
What I did was put `-DICE_USE_XMLPARSEAPI' in Make.rules and then put
this in Parser.cpp:
#ifdef ICE_USE_XMLPARSEAPI
# include <xmlparse.h>
#else
# include <expat.h>
#endif
Certainly this is not the only way to do this.
** Next regarding Freeze backup demo.
I checked the sources into CVS so I can track changes I might make and
so that I can use cvs to merge in future changes I might download from
zeroc. However the way CVS works it creates a CVS subdirs:
full/CVS
include/CVS
to hold cvs state info. When I did a make clean using original
Makefile it removed the CVS dir as follows:
rm -rf full/* incremental/*
So I removed the empty dires full & incremental for the CVS repository
and adjusted the Makefile to creat them on demand. If you don't want
to keep this change that's fine I can deal with it.
Thanks,
-john