> If you compile Mono from source, then you should have the 
> following file:
> /usr/local/lib/pkgconfig/mono.pc

Let's see...
        [eharvey]$ ls -l /usr/local/lib/pkgconfig/mono.pc
        -rw-r--r--  1 root root 295 Nov  2 14:24
/usr/local/lib/pkgconfig/mono.pc
Yup.


> You should make sure that the PKG_CONFIG_PATH environment 
> variable includes directory /usr/local/lib/pkgconfig.

Let's see....
        [eharvey]$ echo $PKG_CONFIG_PATH
        
        [eharvey]$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
        [eharvey]$ echo $PKG_CONFIG_PATH
        /usr/local/lib/pkgconfig

So now I have that.

This was a step in the right direction.  Now I am able to get somewhere,
but I have a strange error.  Below is the tail of my "sudo make install
prefix=/usr/local"

>                   [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

Does anybody have any idea how I could have compiled this from source on
Linux x86_64, and come out with a Windows PE 32-bit executable?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to