> > Unfortunately, subnant requires mono, Nant (which requires
pkg-config
> > and mono), and Nant contrib (which requires I don't know what.)  I
am
> > 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 1.2.5.1 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
failures.
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
`NAnt.Core.Element.InitializeElement(System.Xml.XmlNode)'
>                   [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.
> 
> 
> BUILD FAILED
> 
> 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