Difficulty build SVN 9480

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Difficulty build SVN 9480

Brent Seidel-3
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
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Difficulty build SVN 9480

John Sheridan
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
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>  

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Difficulty build SVN 9480

Brent Seidel-3
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
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>>
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Difficulty build SVN 9480

Dickson, Mike (ISS Software)
On my CentOS server I've deinstalled all of the standard Mono and built
mono 2.4 (minus the libgdiplus code with Mono 2.4, I used the system one
for that, issues with ODE and the recent one in Mono 2.4).  I used the
standard install to /usr/local.  Adding a LD_CONFIG_PATH entry
for /usr/local/lib and it came up fine.  You'll also need to define
PKG_CONFIG_PATH to build Nant.  Here's the entries in my profile that
are relevant.

export MONO_THREADS_PER_CPU=25

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

In summary, use the system libgdi* rather than the mono drop. Build the
mono-2.4 tarball and the Nant tarball and install.  That's enough to run
prebuild and build and run OpenSim.

Note, I'm running the 0.6.4 production build. I keep up on head but
generally don't run it.

Mike

On Thu, 2009-05-21 at 04:11 +0000, Brent Seidel wrote:

> 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, :)


_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users