[Opensim-dev] Build Instructions for Hardy Heron?
Justin Clark-Casey
jjustincc at googlemail.com
Sat Apr 26 11:23:18 UTC 2008
Huntress Gary B NPRI wrote:
>
> I've tried to build 0.5.4 several times on different platforms. Each time nant fails with something very similar to:
>
> [echo] Build Directory is /home/gary/0.5.4-release/OpenSim/Region/Terrain.BasicTerrain/bin/Debug
> [csc] Compiling 25 files to '/home/gary/0.5.4-release/OpenSim/Region/Terrain.BasicTerrain/bin/Debug/OpenSim.Region.Terrain.BasicTerrain.dll'.
> [csc] /home/gary/0.5.4-release/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs(708,31): error CS0117: `libTerrain.Channel' does not contain a definition for `AerobicErosion'
> [csc] /home/gary/0.5.4-release/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Channel.cs(35,19): (Location of the symbol related to previous error)
> [csc] /home/gary/0.5.4-release/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs(730,20): warning CS0162: Unreachable code detected
> [csc] Compilation failed: 1 error(s), 1 warnings
>
> BUILD FAILED - 0 non-fatal error(s), 3 warning(s)
>
> /home/gary/0.5.4-release/OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build(10,10):
> External Program Failed: /usr/lib/mono/2.0/gmcs.exe (return code was 1)
>
> Total time: 1 seconds.
>
> BUILD FAILED
>
> The first few times I assumed I did not have my environment set up right because I was developing on centos and then OS X. This time I decided to use ubuntu because it's listed in the build instructions at http://opensimulator.org/wiki/OpenSim_Build_Instructions <http://opensimulator.org/wiki/OpenSim_Build_Instructions> that say:
>
> sudo aptitude install subversion nant mono mono-gmcs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil
> cd opensim
> ./runprebuild.sh
> nant
>
> Aptitude ran fine and all packages are installed ok. I know there has been a lot of work on the terrain library but it should still build right? Or has the terrain server been moved into another project that needs to be compiled seperately?
>
To be honest, I think your best bet would be to try the latest
Subversion revision, which seems pretty stable right now (at least it
does at r4373), or the tagged but as yet unreleased 0.5.5. The code
you're seeing errors with has changed significantly since 0.5.4 - I
think libTerrainBSD has now been entirely replaced!
--
justincc
Justin Clark-Casey
http://justincc.wordpress.com
More information about the Opensim-dev
mailing list