Issue building NAnt
I learned from Curt Arnold that there have been problems building NAnt on the gump machine. On unix, NAnt uses pkg-config to get information on the installed mono package. We did this in order to support multiple versions of Mono on a given machine. Looking back, it might have been enough to get the path from the mono shell script located in the PATH environment variable and leave it up to users to modify the PATH accordingly when they want to target a different version of Mono. For people not familiar with Mono: a single version of Mono contains a single runtime but class libraries for multiple versions of .NET (in Mono these are referred to as profiles). Even if you do not modify the PATH environment variable, NAnt will still support targeting multiple versions .NET. When we decided to use pkg-config to retrieve info on the mono package, the actual packaging of Mono was not yet clear and we assumed that they'd ship a separate package for each .NET version (including both a runtime and the class libraries). So far for the background information. Curt sent me the build log of one of the NAnt build failure: The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. Framework directory '/usr/lib/pkgconfig/../../lib/mono/1.0' does not exist. Would it possible to send me the output of the following commands on the gump machine: $ pkg-config --modversion mono $ pkg-config --variable=prefix mono $ pkg-config --variable=libdir mono $ which mono Can you also verify whether the following files/directories exist: $prefix/bin/mono $prefix/lib/mono/1.0 <= this probably won't exist Our framework support is configured using NAnt projects in the NAnt configuration file (NAnt.exe.config), and by reviewing it I noticed that we do not use the value of the libdir variable, but instead assume that its $prefix/lib. This is ofcourse not correct. I'll stay on this until it's working. Gert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Issue building NAnt
On Feb 15, 2007, at 12:47 AM, Gert Driesen wrote: Would it possible to send me the output of the following commands on the gump machine: $ pkg-config --modversion mono $ pkg-config --variable=prefix mono $ pkg-config --variable=libdir mono $ which mono On clarus.apache.org. (an Xserve running Mac OS X Server 10.4.8, and Gump): clarus:~ sctemme$ pkg-config --modversion mono 1.1.13.2 clarus:~ sctemme$ pkg-config --variable=prefix mono /Library/Frameworks/Mono.framework/Versions/1.1.13.2/lib/pkgconfig/../.. clarus:~ sctemme$ pkg-config --variable=libdir mono /Library/Frameworks/Mono.framework/Versions/1.1.13.2/lib/ pkgconfig/../../lib clarus:~ sctemme$ which mono /usr/bin/mono clarus:~ sctemme$ ls -l /usr/bin/mono lrwxr-xr-x 1 root wheel 48 Feb 18 2006 /usr/bin/mono -> /Library/ Frameworks/Mono.framework/Commands/mono Can you also verify whether the following files/directories exist: $prefix/bin/mono clarus:~ sctemme$ ls -l `pkg-config --variable=prefix mono`/bin/mono -rwxr-xr-x 1 root wheel 4539848 Jan 24 2006 /Library/Frameworks/ Mono.framework/Versions/1.1.13.2/lib/pkgconfig/../../bin/mono $prefix/lib/mono/1.0 <= this probably won't exist The above is a regular file so, no. If there is anything else I can do to help, please let me know. S. -- [EMAIL PROTECTED]http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature
RE: Issue building NAnt
> -Original Message- > From: Sander Temme [mailto:[EMAIL PROTECTED] > Sent: vrijdag 16 februari 2007 7:45 > To: Gump code and data; Gert Driesen > Subject: Re: Issue building NAnt > > > On Feb 15, 2007, at 12:47 AM, Gert Driesen wrote: > > > Would it possible to send me the output of the following commands > > on the gump machine: > > > > $ pkg-config --modversion mono > > $ pkg-config --variable=prefix mono > > $ pkg-config --variable=libdir mono > > $ which mono > > On clarus.apache.org. (an Xserve running Mac OS X Server 10.4.8, and > Gump): > > clarus:~ sctemme$ pkg-config --modversion mono > 1.1.13.2 > clarus:~ sctemme$ pkg-config --variable=prefix mono > /Library/Frameworks/Mono.framework/Versions/1.1.13.2/lib/pkgconfig/../. > . > clarus:~ sctemme$ pkg-config --variable=libdir mono > /Library/Frameworks/Mono.framework/Versions/1.1.13.2/lib/ > pkgconfig/../../lib > clarus:~ sctemme$ which mono > /usr/bin/mono > clarus:~ sctemme$ ls -l /usr/bin/mono > lrwxr-xr-x 1 root wheel 48 Feb 18 2006 /usr/bin/mono -> /Library/ > Frameworks/Mono.framework/Commands/mono > > > > Can you also verify whether the following files/directories exist: > > > > $prefix/bin/mono > > clarus:~ sctemme$ ls -l `pkg-config --variable=prefix mono`/bin/mono > -rwxr-xr-x 1 root wheel 4539848 Jan 24 2006 /Library/Frameworks/ > Mono.framework/Versions/1.1.13.2/lib/pkgconfig/../../bin/mono > > > $prefix/lib/mono/1.0 <= this probably won't exist > > The above is a regular file so, no. > > If there is anything else I can do to help, please let me know. Is the NAnt build actually failing on that machine, or was the build log I got from Curt Arnold taken from another machine ? I do not have access to a Mac OS X, so I have not been able to try it out myself. Gert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]