Hi John, It turns out that there is a bug in the Mono 1.9.1 libraries. Mantis #3626 goes on and on about this. It also turns out that updating the version of Mono may *not* overwrite the buggy library. What I had to do was configure mono using "./configure -- prefix=/usr" and then build and install it (I'm using mono 2.4). I was then able to get later versions (currently running 9561) to build.
I did add a note about this to the CentOS specific build instructions. Perhaps it should be part of the more general instructions. I hope that this helps. brent On 20-May-2009, at 9:02 PM, John Sheridan wrote: > Actually, I'm getting this same problem with the 0.6.5-rc1 checkout > with > Mono 1.9.1 and 2.0. Yet I've seen other using this release. Is there > some trick to getting this one to build other then the normal > instructions from the wiki? > > Thanks, :) > > - John > Brent Seidel wrote: >> I am able to build SVN 9479, but when I try to build SVN 9480, I get >> the following results from nant: >> ---------- >> NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007) >> Copyright (C) 2001-2007 Gerry Shaw >> http://nant.sourceforge.net >> >> Buildfile: file:///home/OpenSim/svn/opensim-0.6.4.9561/OpenSim.build >> Target framework: Mono 2.0 Profile >> Target(s) specified: build >> >> [echo] Using 'mono-2.0' Framework >> >> init: >> >> >> Debug: >> >> [echo] Platform unix >> >> build: >> >> [nant] /home/OpenSim/svn/opensim-0.6.4.9561/OpenSim/Framework/ >> Servers/HttpServer/OpenSim.Framework.Servers.HttpServer.dll.build >> build >> Buildfile: file:///home/OpenSim/svn/opensim-0.6.4.9561/ >> OpenSim/Framework/Servers/HttpServer/ >> OpenSim.Framework.Servers.HttpServer.dll.build >> Target framework: Mono 2.0 Profile >> Target(s) specified: build >> >> >> build: >> >> [echo] Build Directory is /home/OpenSim/svn/ >> opensim-0.6.4.9561/OpenSim/Framework/Servers/HttpServer/bin/Debug >> [csc] Compiling 24 files to '/home/OpenSim/svn/ >> opensim-0.6.4.9561/OpenSim/Framework/Servers/HttpServer/bin/Debug/ >> OpenSim.Framework.Servers.HttpServer.dll'. >> [csc] /home/OpenSim/svn/opensim-0.6.4.9561/ >> OpenSim/ >> Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs >> (95,41): error CS0246: The type or namespace name `TResponse' could >> not be found. Are you missing a using directive or an assembly >> reference? >> [csc] /home/OpenSim/svn/opensim-0.6.4.9561/ >> OpenSim/ >> Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs >> (115,21): error CS0029: Cannot implicitly convert type `TResponse' to >> `TResponse' >> [csc] /home/OpenSim/svn/opensim-0.6.4.9561/ >> OpenSim/ >> Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs >> (115,21): The generic parameter `TResponse' of >> `OpenSim.Framework.Servers.HttpServer.AsynchronousRestObjectRequester >> .<> >> c__CompilerGenerated0<TRequest,TResponse>' cannot be converted to the >> generic parameter `TResponse' of >> `OpenSim.Framework.Servers.HttpServer.AsynchronousRestObjectRequester >> .Ma >> keRequest<TRequest,TResponse>(string, string, TRequest, >> System.Action<TResponse>)' (in the previous error) >> [csc] Compilation failed: 2 error(s), 0 warnings >> >> BUILD FAILED - 0 non-fatal error(s), 3 warning(s) >> >> /home/OpenSim/svn/opensim-0.6.4.9561/OpenSim/Framework/ >> Servers/HttpServer/OpenSim.Framework.Servers.HttpServer.dll.build >> (14,6): >> External Program Failed: /usr/lib/mono/2.0/gmcs.exe >> (return code was 1) >> >> Total time: 0.8 seconds. >> >> >> BUILD FAILED >> >> Nested build failed. Refer to build log for exact reason. >> >> Total time: 0.8 seconds. >> ---------- >> I used the same process for each version - checkout into a new >> director, runprebuild, and nant. >> >> I'm using mono 2.4 on CentOS 5.2. >> >> If anyone can give me some pointers, I'd appreciate it. >> >> thanks, >> brent >> >> _______________________________________________ >> Opensim-users mailing list >> [email protected] >> https://lists.berlios.de/mailman/listinfo/opensim-users >> >> > > _______________________________________________ > Opensim-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/opensim-users _______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
