[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Email postcommit hook, subscription, properties ....

From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: 2007-11-06 14:45:15 CET

> > Unfortunately, subnant requires mono, Nant (which requires
> > and mono), and Nant contrib (which requires I don't know what.) I
> > having trouble satisfying the dependencies of subnant (though I'm
> still
> > trying.)
> I haven't had much chance to test subnant on a Linux box for quite
> a while now, but getting NAnt running was always the tricky bit.
> NAntContrib shouldn't have any dependencies other than NAnt.
> Can you be more specific with your problem?

First a little background.
        NAnt 0.85 from source
        RedHat Enterprise 4u4 x86_64.
        mono from source, with defaults
        pkg-config from CD rpm, pkgconfig-0.15.0-3.x86_64.rpm

I joined the NAnt users mailing list to ask for help, but there seems to
be very little activity in that list. So far I'm stuck.

To install subnant:
        Subnant requires mono, NAnt, NAntContrib.
        I installed mono (default instructions) no problem.
        To install NAnt:
                NAnt requires pkg-config. I installed from RedHat RPM,
no problem.
                I try building NAnt, and get failures.
        I never even attempted to build NAntContrib, due to previous

At first, to build NAnt, I just followed the NAnt instructions. e.g.
"sudo make install prefix=/usr/local"
This failed with the error "Unable to locate 'mono' module using
pkg-config." So I "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" and
then attempt again and here's the result:

> [csc] /tmp/nant-0.85/src/NAnt.Core/Task.cs(404,33):
> error CS0809: Obsolete member
> `NAnt.Core.Task.InitializeElement(System.Xml.XmlNode)' overrides
non-obsolete member
> [csc] Compilation failed: 1 error(s), 0 warnings
> BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
> /tmp/nant-0.85/src/NAnt.Core/NAnt.Core.build(11,10):
> External Program Failed:
> /usr/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was
> 1)
> Total time: 1.9 seconds.
> Nested build failed. Refer to build log for exact reason.
> Total time: 2.2 seconds.
> make: *** [install] Error 1

And, when I look into it more, here's what I did:
> [eharvey]$ ls -l /usr/local/lib/mono/2.0/gmcs.exe -rwxr-xr-x 1 root
> root 995328 Nov 2 14:24 /usr/local/lib/mono/2.0/gmcs.exe* [eharvey]$
> /usr/local/lib/mono/2.0/gmcs.exe --help
> -bash: /usr/local/lib/mono/2.0/gmcs.exe: cannot execute binary file
> [eharvey]$ file /usr/local/lib/mono/2.0/gmcs.exe
> /usr/local/lib/mono/2.0/gmcs.exe: MS Windows PE 32-bit Intel 80386
> console executable

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 6 14:45:49 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.