activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Mittler <>
Subject Re: building NMS
Date Wed, 19 Dec 2007 05:08:48 GMT
Thanks Jim,
That definitely helps :).  FYI, it looks like I had to add this to  
my .bash_profile on OS X to get nant to work (this should probably end  
up in the instructions for OS X):

export PKG_CONFIG_PATH="/Library/Frameworks/Mono.framework/Versions/ 

The build got much further, but ends with the following:


      [echo] Building the Apache.NMS.ActiveMQ library
   [asminfo] Generated file '/Users/nmittler/activemq-dotnet/ 
       [csc] Compiling 229 files to '/Users/nmittler/activemq-dotnet/ 
       [csc] /Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/ 
warning CS1587: XML comment is not placed on a valid language element
       [csc] /Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/ 
warning CS0219: The variable `info' is assigned but its value is never  
       [csc] /Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/ 
warning CS0219: The variable `info' is assigned but its value is never  
       [csc] /Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/ 
src/main/csharp/Transport/Stomp/StompWireFormat.cs(241,53): warning  
CS0219: The variable `textMessage' is assigned but its value is never  
       [csc] /Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/ 
src/main/csharp/Transport/Tcp/TcpTransportFactory.cs(82,49): error  
CS0117: `System.Net.Dns' does not contain a definition for  
       [csc] /Library/Frameworks/Mono.framework/Versions/1.2.6/lib/ 
mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll (Location of  
the symbol related to previous error)
       [csc] Compilation failed: 1 error(s), 4 warnings

BUILD FAILED - 0 non-fatal error(s), 6 warning(s)

External Program Failed: /Library/Frameworks/Mono.framework/Versions/ 
1.2.6/lib/mono/1.0/mcs.exe (return code was 1)

Total time: 7.1 seconds.

I just installed the latest mono build for OS X ... could there be  
something wrong with my installation?


On Dec 18, 2007, at 8:44 PM, Jim Gomes wrote:

> Hi Nathan,
> I think those instructions are a bit out of date.  We have  
> reorganized the
> project into separate projects based upon individual provider
> implementations.  I have been following your bug report, and was  
> going to
> try and duplicate it on my machine as well, since the problems you  
> report
> may be with the .NET client.  I have been working with the .NET client
> stuff, and I know that there are certain problems with the latest  
> trunk
> revision.  I have a set of patches that I am preparing that should fix
> several problems with the .NET client.
> For now, instead of compiling from the root activemq-net file,  
> change into
> the Apache.NMS.ActiveMQ/trunk folder and try building from there.  I  
> can
> send you a patch file that will add all of my changes into your build
> environment so you can test with those as well.  But first, let's at  
> least
> get you set up to build the product.
> Thanks,
> Jim
> On Dec 18, 2007 8:32 PM, Nathan Mittler <>  
> wrote:
>> Hey guys,
>> I'm trying to build NMS to debug issue
>> and am getting the error:
>> NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
>> Copyright (C) 2001-2006 Gerry Shaw
>> Could not find a '*.build' file in '/Users/nmittler/activemq-dotnet'
>> For more information regarding the cause of the build failure, run  
>> the
>> build again in debug mode.
>> Try 'nant -help' for more information
>> I checked out the code by following the instructions on
>> , and looking in the top-level directory, I don't see a .build file
>> (as suggested by the error).  I am on OS X and followed the building
>> instructions at
>> I've never worked with .NET before, so my guess is that I'm missing
>> something obvious.  Any help would be greatly appreciated!
>> Thanks,
>> Nate

View raw message