Re: [Monotone-devel] library build

2008-09-29 Thread Zbigniew Zagórski
2008/9/28 Zbigniew Zagórski [EMAIL PROTECTED]:
 2008/9/28 Stephen Leake [EMAIL PROTECTED]:
...

 MinGW doesn't have a decent package manager, and I don't know where to
 get pcre for MinGW; I looked for that a while ago. I haven't looked
 for the others.

 AFAIR, on properly configured mingw+msys

 ./configure --prefix=/mingw  make install

 works like a charm for pcre-7.7.

 However, i don't know if botan  sqlite builds natively on mingw32 without
 tricks. I'll try to pefrorm some research on topic.

From my recent tests it appears that:
 - lua
 - pcre
 - botan
 - sqlite3
build without any problem on mingw/msys with simple
./configure --prefix=/mingw ; make ; make install

However, lua and botan need some custom configuration and makefile invocation.

I failed to build libidn on mingw and gave up after some strange
libtool+DLL linking errors.

Jack: are you interested in making botan compliant to standard
configure/make scenario ? I know it's overkill sometimes but making
configuration script names configure and supporting --prefix option
would be very convienient for some ad-hoc builders.

PS. I would like to test this library-build branch on mingw, is it
buildable at least on some common platform like linux ?

-- 
Zbigniew Zagórski
/ software developer / geek / happy daddy /
___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Bug: invariant 'fetching nonexistent entry from nodes' violated

2008-09-29 Thread Stephen Leake
Jack Lloyd [EMAIL PROTECTED] writes:

 _MTN/debug attached. If help is needed replicating just let me
 know. Is this known? I feel like I might have reported this before,
 but didn't see anything in my mail archives.

 I'm not really sure what I did... normally when mtn has an invariant
 failure I can at least see why. Here I had some various modifications
 to src/ciphers/various things and while in src I typed mtn revert .
 which got me this:

There isn't enough information here to say what's wrong; can you post
a reproducing recipe?


-- 
-- Stephe


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] library build

2008-09-29 Thread Stephen Leake
Zbigniew Zagórski [EMAIL PROTECTED] writes:

 2008/9/28 Stephen Leake [EMAIL PROTECTED]:
 Zbigniew Zagórski [EMAIL PROTECTED] writes:

 2008/9/28 Stephen Leake [EMAIL PROTECTED]:
 ...
 I agree this is a reasonable goal, at least on platforms that have
 decent package managers.

 MinGW doesn't have a decent package manager, and I don't know where to
 get pcre for MinGW; I looked for that a while ago. I haven't looked
 for the others.

 AFAIR, on properly configured mingw+msys

 properly is of course the issue.

 Well, the only changes i have is custom  m4, autoconf, automake a
 result of private battle in order to get recent versions of these.
 Rest is standard ... i think.

This monotone wiki page:

http://www.venge.net/mtn-wiki/BuildingOnWindows 

has instructions for installing the mingw tools needed to build mtn.
Can you test with a setup following those instructions, and add the
pcre etc instructions?

 Where did you get the mingw pcre package from?

 I've used source found on http://pcre.org/, normal download no port
 needed - 7.7, 7.8 versions build.

Ok, that's good.

-- 
-- Stephe


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Bug: invariant 'fetching nonexistent entry from nodes' violated

2008-09-29 Thread Derek Scherger
The only thing that comes to mind is renames. Is there any chance you had
pending renames inside and outside of the directory you were in when you
reverted? I'm not even sure if this can/would cause the problem you're
seeing but hey, you never know.

Cheers,
Derek


On Mon, Sep 29, 2008 at 4:49 AM, Stephen Leake 
[EMAIL PROTECTED] wrote:

 Jack Lloyd [EMAIL PROTECTED] writes:

  _MTN/debug attached. If help is needed replicating just let me
  know. Is this known? I feel like I might have reported this before,
  but didn't see anything in my mail archives.
 
  I'm not really sure what I did... normally when mtn has an invariant
  failure I can at least see why. Here I had some various modifications
  to src/ciphers/various things and while in src I typed mtn revert .
  which got me this:

 There isn't enough information here to say what's wrong; can you post
 a reproducing recipe?


 --
 -- Stephe


 ___
 Monotone-devel mailing list
 Monotone-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/monotone-devel

___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Bug: invariant 'fetching nonexistent entry from nodes' violated

2008-09-29 Thread Jack Lloyd

Yes, renames plus directory drops IIRC. In the end the workspace got
totally stuck, I could not check in or revert even from the top level
directory, and I just deleted it and started with a new checkout of
the branch head (did not consider the debugging implications of rm
-rf'ing it, sorry).

-Jack

On Mon, Sep 29, 2008 at 09:18:04AM -0600, Derek Scherger wrote:
 The only thing that comes to mind is renames. Is there any chance you had
 pending renames inside and outside of the directory you were in when you
 reverted? I'm not even sure if this can/would cause the problem you're
 seeing but hey, you never know.
 
 Cheers,
 Derek
 
 
 On Mon, Sep 29, 2008 at 4:49 AM, Stephen Leake 
 [EMAIL PROTECTED] wrote:
 
  Jack Lloyd [EMAIL PROTECTED] writes:
 
   _MTN/debug attached. If help is needed replicating just let me
   know. Is this known? I feel like I might have reported this before,
   but didn't see anything in my mail archives.
  
   I'm not really sure what I did... normally when mtn has an invariant
   failure I can at least see why. Here I had some various modifications
   to src/ciphers/various things and while in src I typed mtn revert .
   which got me this:
 
  There isn't enough information here to say what's wrong; can you post
  a reproducing recipe?
 
 
  --
  -- Stephe
 
 
  ___
  Monotone-devel mailing list
  Monotone-devel@nongnu.org
  http://lists.nongnu.org/mailman/listinfo/monotone-devel
 

 ___
 Monotone-devel mailing list
 Monotone-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/monotone-devel



___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] library build

2008-09-29 Thread Jack Lloyd
On Mon, Sep 29, 2008 at 12:01:50PM +0200, Zbigniew Zag??rski wrote:

 Jack: are you interested in making botan compliant to standard
 configure/make scenario ?

Um not particularly, TBH. I really really do not like autoconf.
And it is completely useless off Unix.

That said if someone sent me a configure.in that worked and handled
the same things configure.pl does I would certainly ship it at least
as an option.

 I know it's overkill sometimes but making  configuration script
 names configure and supporting --prefix option  would be very
 convienient for some ad-hoc builders.

Just it being named configure instead of configure.pl is a major
factor? :(

The --prefix option is supported BTW, though install on Windows IIRC
does not work.

-Jack


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel