Hey ya.

* I'm trying to install nant 0.85 on RedHat Enterprise 4u4 x86_64.
* I installed mono 1.2.5.1 from source, with defaults.  ( sudo
./configure --prefix=/usr/local && sudo make && sudo make install )
* I installed pkg-config from CD rpm, pkgconfig-0.15.0-3.x86_64.rpm
* When I try building nant, this is what I get:
        [eharvey]$ sudo make install prefix=/usr/local
        mkdir -p bootstrap
        cp -R lib/ bootstrap/lib
        # Mono loads log4net before privatebinpath is set-up, so we need
this in the same directory
        # as NAnt.exe
        cp lib/log4net.dll bootstrap
        cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
        mono bootstrap/NAnt.exe -f:NAnt.build install
-D:install.prefix="/usr/local"
        NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
        Copyright (C) 2001-2006 Gerry Shaw
        http://nant.sourceforge.net
        
        
        BUILD FAILED
        
        The current runtime framework 'mono-2.0' is not correctly
configured in the NAnt configuration file.
            Unable to locate 'mono' module using pkg-config. Download
the Mono development packages from
http://www.mono-project.com/downloads/.
        
        For more information regarding the cause of the build failure,
run the build again in debug mode.
        
        Try 'nant -help' for more information
        make: *** [install] Error 1

I noticed several clues:

#1  The README.txt file from nant-0.85 says "A working Mono installation
and development libraries (version 1.0 or higher)"  But when I download
and/or build mono, it's just Mono - I see nothing about development
libraries.  Can't seem to figure out how to build the development
libraries.

#2  From the same phrase above, it says "version 1.0 or higher."  Which
I satisfy - I have mono 1.2.5.1.  Yet when I run the nant "make install
..." command, the error message says "runtime framework 'mono-2.0'"

#3  Of course I can attempt the same thing in debug mode (if I can
figure out how to enter debug mode) but I'm just guessing that level of
detail won't be necessary, if somebody can already steer me right.

#4  You don't suppose there's a problem because it's x86_64, do you?
(I've seen occasionally, other packages from other sources, which
wouldn't build on the 64bit platform, because the developers developed
on x86.)

Thank you for your help.

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