[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: db init
[Monotone-devel] Re: db init
Wed, 23 Mar 2005 18:47:01 -0500
I have an old SuSE 7.2, upgraded with tons of sources and stuffed with
a myriad things. The popt was from there, circa 2001, but I see that
popt source on freshmeat, the first I googled out, is version 1.7 from
2002. Couldn't find popt on gnome.org right away... The one I have
in SuSE is version 1.6. I compiled your patch fine -- although it
didn't auto-patch into monotone-0.17/monotone.cc, I had to manually
insert it (your lines are off, perpaps you're using the most recent
version). Would installing patch-1.7 help? Perhaps it thinks I want
to do something else...
I'm doing several-version g++ compatibility check for my other C++
projects, so I might try other versions of g++.
Question: if I want to compile several versions of boost for different
g++ ones, since using the ABI option is rather new and I don't know
whether that would work -- and it won't with g++ 2.95.3 -- I keep
boost lib<s>.so files for different g++ versions in different subdirs,
e.g. /usr/local/lib/gcc/3.4.3/. If I set LDFLAGS=-L<that> before
compiling monotone binary, link fails. I had to hack it into
monotone_LDFLAGS in Makefile. Why doesn't it use the environment's
Perhaps you could advise on how to layout boost/monotone for several
different versions of g++? I was badly burned by .o incompatibilities
and C++ mangling so now I always keep .o's produced by different g++'s
in different object subdirs, like obj/gcc-3.4.3/some.o.
On Wed, 23 Mar 2005 14:53:25 -0800, Nathaniel Smith <address@hidden> wrote:
> On Wed, Mar 23, 2005 at 05:25:50PM -0500, Deliverable Mail wrote:
> > Well, if I just stick the expected type from my previous post where it
> > was expected, I do get monotone.cc to compile, but upon an attemt to
> > db init, get this:
> > monotone: misuse: database schemas do not match: wanted
> > 40369a7bda66463c5785d160819ab6398b9d44f4, got
> > . try migrating database
> That's... weird...
> I've never seen something like this, either with 0.17 or with my
> just-patched version. Therefore, it seems like it probably has
> something to do with:
> - your patch for your compile problem (though I can't see how)
> - some other version skew in your environment -- what versions of
> other tools are you using? are you using the sqlite, crypto++,
> lua libraries that monotone ships?
> - some other oddity of your environment? maybe g++ 3.4 miscompiles
> crypto++ or something, that would be fun...
> -- Nathaniel
> "...All of this suggests that if we wished to find a modern-day model
> for British and American speech of the late eighteenth century, we could
> probably do no better than Yosemite Sam."
> Monotone-devel mailing list
Re: [Monotone-devel] db init, Richard Levitte - VMS Whacker, 2005/03/23