activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Mittler <nathan.mitt...@gmail.com>
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/ 
Current/lib/pkgconfig/:${PKG_CONFIG_PATH}"

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

compile-main:

      [echo] Building the Apache.NMS.ActiveMQ library
   [asminfo] Generated file '/Users/nmittler/activemq-dotnet/ 
Apache.NMS.ActiveMQ/trunk/src/main/csharp/CommonAssemblyInfo.cs'.
       [csc] Compiling 229 files to '/Users/nmittler/activemq-dotnet/ 
Apache.NMS.ActiveMQ/trunk/build/mono-1.0/debug/Apache.NMS.ActiveMQ.dll'.
       [csc] /Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/ 
src/main/csharp/OpenWire/V1/DataStructureSupportMarshaller.cs(19,1):  
warning CS1587: XML comment is not placed on a valid language element
       [csc] /Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/ 
src/main/csharp/OpenWire/V1/ConnectionControlMarshaller.cs(89,27):  
warning CS0219: The variable `info' is assigned but its value is never  
used
       [csc] /Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/ 
src/main/csharp/OpenWire/V2/ConnectionControlMarshaller.cs(89,27):  
warning CS0219: The variable `info' is assigned but its value is never  
used
       [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  
used
       [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  
`GetHostEntry'
       [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)

/Users/nmittler/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant- 
common.xml(357,6):
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?

Thanks,
Nate

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 <nathan.mittler@gmail.com>  
> wrote:
>
>> Hey guys,
>> I'm trying to build NMS to debug issue
>> http://issues.apache.org/activemq/browse/AMQCPP-157
>> and am getting the error:
>>
>>
>> NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
>> Copyright (C) 2001-2006 Gerry Shaw
>> http://nant.sourceforge.net
>>
>>
>> BUILD FAILED
>>
>> 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
>> http://activemq.apache.org/nms/source.html
>> , 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 http://activemq.apache.org/nms/building.html.
>>
>>
>> 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
>>


Mime
View raw message