<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>Dear Jhurliman:<br><br>Thank you for collaborating with me a little bit while I work through some Linux on PPC details.<br><br>First of all, a uname -a does say ppc64 on this Mac G5 with Fedora 9 installed, so I will assume it is 64bit. <br><br>Next, I did download opensim-libs from the opensimulator.org svn and have a 'LibOMV_2362" directory and did build its contents and do have a openjpeg-dotnet.dll which I copied to the opensim/bin working directory. When I invoke "mono --debug OpenSim.exe", I can however see a System.DllNotFoundException on openjpeg-dotnet.dll, even though it came from the LibOMV_2362 compilation. The region does go through the normal startup and actually begins to start a logon, but we'll get to that in a minute.<br><br>I did try 'mono openjpeg-dotnet.dll' and mono tells me
 "Cannot open assumbly openjpeg-dotnet.dll". It is readable and executable. I can do a 'mono Ode.NET.dll' and mono tells me "Assembly Ode.NET.dll doesn't have an entry point", so I assume mono is setup up reasonably correctly.<br><br>Here is an attempt to logon to the region "Mac Land" which is connected to OSGrid with this Mac. Sorry about the long copy. This was done with "export MONO_LOG_LEVEL=debug" followed by "mono --debug OpenSim.exe" and the region was up to its normal console prompt with the associate openjpeg-dotnet.dll exception noted earlier.<br><br>Hopefully, this might trigger an idea that I can try next.<br><br>Thank you again for your support. Charles<br><br>18:38:30 - [CLIENT]: Told by user service to prepare for a connection from Charles Krinkeb b88323a6-d074-4900-9d60-356fc4cd25da, circuit 381494294<br>18:38:30 - [CLIENT]: Main agent detected<br>18:38:30 - [CONNECTION DEBUGGING]: Adding NewUserConnection for
 b88323a6-d074-4900-9d60-356fc4cd25da with CC of 381494294<br>18:38:30 - [CAPS]: Setting up CAPS handler for root agent b88323a6-d074-4900-9d60-356fc4cd25da in Mac Land<br>18:38:30 - [SEED]: /CAPS/4b6dac43-7f74-49e0-bf51-c3cf35660000/<br>18:38:30 - [EVENTQUEUE]: OnRegisterCaps: agentID b88323a6-d074-4900-9d60-356fc4cd25da caps OpenSim.Framework.Communications.Capabilities.Caps region Mac Land<br>18:38:30 - [EVENTQUEUE]: Using random UUID!<br>18:38:30 - [EVENTQUEUE]: CAPS URL: /CAPS/EQG/7f4aa4cb-6c80-4044-808e-8fa42271f892/<br>18:38:30 - [CAPS]: Registering handler for "EventQueueGet": path /CAPS/EQG/7f4aa4cb-6c80-4044-808e-8fa42271f892/<br>18:38:30 - [CAPS]: Registering handler for "RemoteParcelRequest": path /CAPS/4b6dac43-7f74-49e0-bf51-c3cf35660009/<br>18:38:30 - [VOICE]: OnRegisterCaps: agentID b88323a6-d074-4900-9d60-356fc4cd25da caps OpenSim.Framework.Communications.Capabilities.Caps<br>18:38:31 - [CAPS]: Registering handler for "MapLayer": path
 /CAPS/4b6dac43-7f74-49e0-bf51-c3cf35660001/<br>18:38:33 - [CAPS]: Seed Caps Request in region: Mac Land<br>18:38:35 - [EVENTQUEUE]: Adding new queue for agent b88323a6-d074-4900-9d60-356fc4cd25da in region Mac Land<br>18:38:35 - [CONNECTION DEBUGGING]: AddNewClient Called<br>18:38:35 - [CLIENT]: Got authenticated connection from 67.120.11.68:39736<br>18:38:35 - [CLIENT]: Adding new circuit for agent b88323a6-d074-4900-9d60-356fc4cd25da, circuit code 381494294<br>Mono-INFO: Assembly Ref addref OpenSim.Region.ClientStack.LindenUDP 0x1070dd78 -> System.Xml 0x1032fae8: 25<br><br>18:38:35 - [CLIENT]: Dropped Malformed Packet due to MalformedDataException:   at OpenMetaverse.Packets.RequestImagePacket+RequestImageBlock.FromBytes (System.Byte[] bytes, System.Int32& i) [0x00000] <br>  at OpenMetaverse.Packets.RequestImagePacket.FromBytes (System.Byte[] bytes, System.Int32& i, System.Int32& packetEnd, System.Byte[] zeroBuffer)
 [0x00000] <br>  at OpenSim.Framework.PacketPool.GetPacket (System.Byte[] bytes, System.Int32& packetEnd, System.Byte[] zeroBuffer) [0x00029] in /home/ckrinke/svn/opensim/OpenSim/Framework/PacketPool.cs:124 <br>  at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.OnReceivedData (IAsyncResult result) [0x00058] in /home/ckrinke/svn/opensim/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs:207 <br>18:38:35 - [CLIENT]: Dropped Malformed Packet due to MalformedDataException:   at OpenMetaverse.Packets.ViewerEffectPacket+EffectBlock.FromBytes (System.Byte[] bytes, System.Int32& i) [0x00000] <br>  at OpenMetaverse.Packets.ViewerEffectPacket.FromBytes (System.Byte[] bytes, System.Int32& i, System.Int32& packetEnd, System.Byte[] zeroBuffer) [0x00000] <br>  at OpenSim.Framework.PacketPool.GetPacket (System.Byte[] bytes, System.Int32& packetEnd, System.Byte[] zeroBuffer) [0x00029] in
 /home/ckrinke/svn/opensim/OpenSim/Framework/PacketPool.cs:124 <br>  at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.OnReceivedData (IAsyncResult result) [0x00058] in /home/ckrinke/svn/opensim/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs:207 <br>18:38:35 - [SCENE]: Adding new child agent Charles Krinkeb b88323a6-d074-4900-9d60-356fc4cd25da in Mac Land<br>18:38:35 - [USER CACHE]: Adding user profile for b88323a6-d074-4900-9d60-356fc4cd25da<br>18:38:36 - [APPEARANCE]: Problem fetching appearance for avatar Charles Krinkeb, System.ArgumentException: Value does not fall within the expected range.<br>  at System.Array.Reverse (System.Array array, Int32 index, Int32 length) [0x00127] in /builddir/build/BUILD/mono-1.9.1/mcs/class/corlib/System/Array.cs:1235 <br>  at OpenMetaverse.Utils.BytesToFloat (System.Byte[] bytes, Int32 pos) [0x00000] <br>  at OpenMetaverse.Primitive+TextureEntry.FromBytes (System.Byte[] data, Int32 pos,
 Int32 length) [0x00000] <br>  at OpenMetaverse.Primitive+TextureEntry..ctor (System.Byte[] data, Int32 pos, Int32 length) [0x00000] <br>  at OpenSim.Framework.AvatarAppearance..ctor (System.Collections.Hashtable h) [0x00067] in /home/ckrinke/svn/opensim/OpenSim/Framework/AvatarAppearance.cs:390 <br>  at OpenSim.Region.Communications.OGS1.OGS1UserServices.ConvertXMLRPCDataToAvatarAppearance (System.Collections.Hashtable data) [0x00059] in /home/ckrinke/svn/opensim/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs:176 <br>  at OpenSim.Region.Communications.OGS1.OGS1UserServices.GetUserAppearance (UUID user) [0x0005f] in /home/ckrinke/svn/opensim/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs:812 <br>  at OpenSim.Region.Environment.Modules.Avatar.AvatarFactory.AvatarFactoryModule.TryGetAvatarAppearance (UUID avatarId, OpenSim.Framework.AvatarAppearance& appearance) [0x0001d] in
 /home/ckrinke/svn/opensim/OpenSim/Region/Environment/Modules/Avatar/AvatarFactory/AvatarFactoryModule.cs:56 <br>  at OpenSim.Region.Environment.Scenes.Scene.GetAvatarAppearance (IClientAPI client, OpenSim.Framework.AvatarAppearance& appearance) [0x00012] in /home/ckrinke/svn/opensim/OpenSim/Region/Environment/Scenes/Scene.cs:2575 <br>18:38:36 - [APPEARANCE]: Appearance not found, returning default<br>18:38:36 - [EVENTQUEUE]: New client b88323a6-d074-4900-9d60-356fc4cd25da detected in region Mac Land<br>18:38:36 - [GROUP]: Adding Charles Krinkeb to OpenSimulator Testing <br>18:38:36 - [CLIENT]: Entered main packet processing loop for Charles Krinkeb<br>Mono-INFO: Assembly Ref addref OpenSim.Framework.Communications 0x104b0d90 -> OpenMetaverse 0x10702080: 8<br><br>18:38:36 - [SCENE]: Upgrading child to root agent for Charles Krinkeb in Mac Land<br>18:38:36 - [EVENTQUEUE]: Avatar b88323a6-d074-4900-9d60-356fc4cd25da entering parcel 1 in region
 Mac Land.<br>18:38:36 - [SUN]: Initial update for new client<br>18:38:36 - [WIND]: Initial update for new client<br>18:38:36 - [FRIEND]: Claiming Charles Krinkeb in region:8046226093938176.<br>18:38:37 - [APPEARANCE]: Problem fetching appearance for avatar Charles Krinkeb, System.ArgumentException: Value does not fall within the expected range.<br>  at System.Array.Reverse (System.Array array, Int32 index, Int32 length) [0x00127] in /builddir/build/BUILD/mono-1.9.1/mcs/class/corlib/System/Array.cs:1235 <br>  at OpenMetaverse.Utils.BytesToFloat (System.Byte[] bytes, Int32 pos) [0x00000] <br>  at OpenMetaverse.Primitive+TextureEntry.FromBytes (System.Byte[] data, Int32 pos, Int32 length) [0x00000] <br>  at OpenMetaverse.Primitive+TextureEntry..ctor (System.Byte[] data, Int32 pos, Int32 length) [0x00000] <br>  at OpenSim.Framework.AvatarAppearance..ctor (System.Collections.Hashtable h) [0x00067] in
 /home/ckrinke/svn/opensim/OpenSim/Framework/AvatarAppearance.cs:390 <br>  at OpenSim.Region.Communications.OGS1.OGS1UserServices.ConvertXMLRPCDataToAvatarAppearance (System.Collections.Hashtable data) [0x00059] in /home/ckrinke/svn/opensim/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs:176 <br>  at OpenSim.Region.Communications.OGS1.OGS1UserServices.GetUserAppearance (UUID user) [0x0005f] in /home/ckrinke/svn/opensim/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs:812 <br>  at OpenSim.Region.Environment.Modules.Avatar.AvatarFactory.AvatarFactoryModule.TryGetAvatarAppearance (UUID avatarId, OpenSim.Framework.AvatarAppearance& appearance) [0x0001d] in /home/ckrinke/svn/opensim/OpenSim/Region/Environment/Modules/Avatar/AvatarFactory/AvatarFactoryModule.cs:56 <br>  at OpenSim.Region.Environment.Scenes.Scene.GetAvatarAppearance (IClientAPI client, OpenSim.Framework.AvatarAppearance& appearance) [0x00012] in
 /home/ckrinke/svn/opensim/OpenSim/Region/Environment/Scenes/Scene.cs:2575 <br>18:38:37 - [APPEARANCE]: Appearance not found, returning default<br>Mono-INFO: Assembly Ref addref OpenSim.Region.Communications.OGS1 0x10860f38 -> OpenSim.Framework.Statistics 0x104ab200: 6<br><br>18:38:37 - [OGS1 INVENTORY SERVICE]: Requesting inventory from http://osgrid.org:8004/GetInventory/ for user b88323a6-d074-4900-9d60-356fc4cd25da<br>18:38:37 - [CAPS]: Setting up CAPS handler for root agent b88323a6-d074-4900-9d60-356fc4cd25da in Mac Land<br>18:38:37 - [SEED]: /CAPS/4b6dac43-7f74-49e0-bf51-c3cf35660000/<br>18:38:37 - [EVENTQUEUE]: OnRegisterCaps: agentID b88323a6-d074-4900-9d60-356fc4cd25da caps OpenSim.Framework.Communications.Capabilities.Caps region Mac Land<br>18:38:37 - [EVENTQUEUE]: Found Existing UUID!<br>18:38:37 - [EVENTQUEUE]: CAPS URL: /CAPS/EQG/7f4aa4cb-6c80-4044-808e-8fa42271f892/<br>18:38:37 - [CAPS]: Registering handler for "EventQueueGet": path
 /CAPS/EQG/7f4aa4cb-6c80-4044-808e-8fa42271f892/<br>18:38:37 - [CAPS]: Registering handler for "RemoteParcelRequest": path /CAPS/4b6dac43-7f74-49e0-bf51-c3cf35660009/<br>18:38:37 - [VOICE]: OnRegisterCaps: agentID b88323a6-d074-4900-9d60-356fc4cd25da caps OpenSim.Framework.Communications.Capabilities.Caps<br>18:38:37 - [CAPS]: Registering handler for "MapLayer": path /CAPS/4b6dac43-7f74-49e0-bf51-c3cf35660001/<br>18:38:37 - [WORLDMAP]: MakeRootAgent Works!<br>18:38:37 - [WorldMap]: Starting remote MapItem request thread<br>18:38:38 - [APPEARANCE]: Sending appearance to all other agents for Charles Krinkeb<br>Stacktrace:<br><br><br>Native stacktrace:<br><br>    mono [0x1014224c]<br>    mono [0x10148a3c]<br>    [0x100370]<br>    [0xf6764120]<br>    mono(mono_compile_method+0x24) [0x10045b54]<br>    mono [0x10167ab4]<br>   
 [0xf7ce6114]<br>    [0xf28bb594]<br>    [0xf28bb484]<br>    [0xf2c28044]<br>    [0xf2c335e8]<br>    [0xf2c32c10]<br>    [0xf3078be0]<br>    [0xf672a690]<br>    mono [0x1012c548]<br>    mono(mono_runtime_delegate_invoke+0x54) [0x10045214]<br>    mono [0x10086d4c]<br>    mono [0x100e6ff0]<br>    mono [0x10105b98]<br>    /lib/libpthread.so.0 [0xf1b6e3c]<br>    /lib/libc.so.6(clone+0x84) [0xf40b710]<br>18:38:39 - [CLIENT]: Dropped Malformed Packet due to MalformedDataException:   at OpenMetaverse.Packets.RequestImagePacket+RequestImageBlock.FromBytes (System.Byte[] bytes, System.Int32& i) [0x00000] <br>  at OpenMetaverse.Packets.RequestImagePacket.FromBytes (System.Byte[] bytes, System.Int32& i, System.Int32& packetEnd,
 System.Byte[] zeroBuffer) [0x00000] <br>  at OpenSim.Framework.PacketPool.GetPacket (System.Byte[] bytes, System.Int32& packetEnd, System.Byte[] zeroBuffer) [0x00029] in /home/ckrinke/svn/opensim/OpenSim/Framework/PacketPool.cs:124 <br>  at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.OnReceivedData (IAsyncResult result) [0x00058] in /home/ckrinke/svn/opensim/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs:207 <br><br>Debug info from gdb:<br><br>(no debugging symbols found)<br>(<br><br><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "Hurliman, John" <john.hurliman@intel.com><br><b><span style="font-weight: bold;">To:</span></b> "opensim-dev@lists.berlios.de" <opensim-dev@lists.berlios.de><br><b><span
 style="font-weight: bold;">Sent:</span></b> Sunday, November 23, 2008 11:55:11 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Opensim-dev] OpenSim on Mac G5<br></font><br>



 
 

<style>
<!--
 
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {margin-right:0in;margin-left:0in;font-size:10.0pt;font-family:"Times New Roman", "serif";}
span.emailstyle17
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
span.EmailStyle19
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
.MsoChpDefault
        {font-size:10.0pt;}
 _filtered {margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {}
-->
</style>



<div class="Section1">

<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Somewhere in the output of “uname -a" you should be
able to tell if it’s a 32-bit or 64-bit Linux OS. If you paste the thread
spew into e-mail I can take a peek to see if it is something with
libopenjpeg-dotnet.dll or not. I recently found out that using OpenJPEG is *<b>not</b>*
threadsafe, and locking needs to happen in <a target="_blank" href="http://OpenJpeg.cs">OpenJpeg.cs</a> inside libomv. Watch for
an updated release soon.</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">  </span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">John</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">  </span></p> 

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">
opensim-dev-bounces@lists.berlios.de
[mailto:opensim-dev-bounces@lists.berlios.de] <b>On Behalf Of </b>Charles
Krinke<br>
<b>Sent:</b> Sunday, November 23, 2008 4:52 PM<br>
<b>To:</b> opensim-dev@lists.berlios.de<br>
<b>Subject:</b> Re: [Opensim-dev] OpenSim on Mac G5</span></p> 

</div>

</div>

<p class="MsoNormal">  </p> 

<div>

<div>

<p class="MsoNormal"><span style="font-family: "Arial","sans-serif";">Sorry,
JHurliman, that didnt quite come out the way I had intended.<br>
<br>
I loaded Linux on a seperate partition of this Mac as that seemed the most
straightforward way to get it functioning as an OpenSim server. After this is
figured out, I can then extend the notions to the OS X partition by rebooting
the server.<br>
<br>
So, this is an experiment to see how far our OpenSim notions can be extended.
It is certainly not a complaint of any sort. It just seemed this was a good
weekend to attempt to get some progress in the Mac and 64bit notions.<br>
<br>
Charles</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-family: "Arial","sans-serif";">  </span></p> 

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">

<hr size="1" width="100%" align="center">

</span></div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> Charles Krinke <cfk@pacbell.net><br>
<b>To:</b> opensim-dev@lists.berlios.de<br>
<b>Sent:</b> Sunday, November 23, 2008 4:42:32 PM<br>
<b>Subject:</b> Re: [Opensim-dev] OpenSim on Mac G5</span></p> 

<div>

<div>

<p class="MsoNormal"><span style="font-family: "Arial","sans-serif";">Well, this
Mac G5 has had Fedora 9 Linux installed by me, so I dont think the dylib's
affect the situation.<br>
<br>
I have been able to compile openjpeg-dotnet.dll from our svn and can get the
"Mac Land" region up and running on OSGrid. The issue currently is
that the region crashes with a mono thread spew when a login occurs. It looks
like mono threads are getting wrapped all around each other as the crash occurs
at different times in the login process.<br>
<br>
For today, I am calling success at getting Linux installed, the source compiled
with mono/nant and the region inserting itself into the grid. Fedora 9 comes
with mono-1.9.1, which is just about the latest. <br>
<br>
I am a little puzzled as to whether the system is running as 32bit or 64bit in
Linux. Is there any way to tell? Although the install DVD iso image comes only
one way, I assume it is 64bit. <br>
<br>
So, some puzzles are solved and a few others are surfacing.<br>
<br>
Charles</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-family: "Arial","sans-serif";">  </span></p> 

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">

<hr size="1" width="100%" align="center">

</span></div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> "Hurliman, John"
<john.hurliman@intel.com><br>
<b>To:</b> "opensim-dev@lists.berlios.de"
<opensim-dev@lists.berlios.de><br>
<b>Sent:</b> Sunday, November 23, 2008 1:13:39 PM<br>
<b>Subject:</b> Re: [Opensim-dev] OpenSim on Mac G5</span></p> 

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">OSX uses .dylib
files for unmanaged (<a rel="nofollow" target="_blank" href="http://non-.NET">non-.NET</a>)
code, not .dll or .so. I would say make sure you have
libopenjpeg-2.1.3.0-dotnet-1.dylib (or something like that) but the fact that
Mono is trying to access openjpeg-dotnet.dll means the DllMap seems to have
failed. Make sure you have OpenMetaverse.dll.config in that directory, and that
it contains a DllMap entry from openjpeg-dotnet.dll to the actual .dylib binary
in your bin/ directory.</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">On a side note,
I’ve been looking into a fully managed JPEG2000 codec. It’s quite a ways from
complete right now (and certainly slower than unmanaged code), but might prove
useful for certain specific tasks.</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">John</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p> 

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> opensim-dev-bounces@lists.berlios.de
[mailto:opensim-dev-bounces@lists.berlios.de] <b>On Behalf Of </b>Charles
Krinke<br>
<b>Sent:</b> Sunday, November 23, 2008 11:34 AM<br>
<b>To:</b> opensim-dev@lists.berlios.de<br>
<b>Subject:</b> Re: [Opensim-dev] OpenSim on Mac G5</span></p> 

</div>

</div>

<p class="MsoNormal"> </p> 

<div>

<div>

<p class="MsoNormal">To amplify a tiny bit, the exception says basically:<br>
<br>
System.DllNotFoundException: openjpeg-dotnet.dll.<br>
<br>
The issue right now seems to be that an "ls open* -la" shows this
file exists and is marked executable. So, I think there may be an underlying
.so that is non existent at this point.<br>
<br>
$ ls open*.dll -la<br>
-rwxrwxr-x 1 ckrinke ckrinke 196608 2008-11-23 11:03 openjpeg-dotnet.dll<br>
[</p> 

</div>

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><br>
On a functioning x86 server, I can see <a rel="nofollow" target="_blank" href="http://libopenjpeg-1.0.0.so">libopenjpeg-1.0.0.so</a> and other files that are not on this
Mac G5 in our opensim/bin/ directory. I did try copying the the files from
/usr/lib that appear to be concerned with jpeg to our opensim/bin directory
like this:<br>
<br>
$ cp /usr/lib/libjp*.so* .<br>
<br>
And the region still has the same System.DllNotFoundException.<br>
<br>
So, anyone that can shed a little light on this puzzle would help me get some
additional testing setup.<br>
<br>
Charles<br>
<br>
</p> 

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt;">

<hr size="1" width="100%" align="center">

</span></div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Charles Krinke <cfk@pacbell.net><br>
<b>To:</b> opensim-dev@lists.berlios.de<br>
<b>Sent:</b> Sunday, November 23, 2008 11:26:18 AM<br>
<b>Subject:</b> [Opensim-dev] OpenSim on Mac G5</span></p> 

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;">I have a Mac G5 available for testing
for a little while and have installed Fedora 9 on it.<br>
<br>
I can get OpenSim.exe compiled and the region up on OSGrid. There are a couple
of issues. One solved, one not solved.<br>
<br>
ODE: Using our wiki, I was able to make ODE. I observe that we seem to need to
initialize ODE even when ODE is not specified in the OpenSim.ini file. We might
want to eliminate that dependency.<br>
<br>
The region does come up, but has a jpeg exception which is at the end of this
email. At this point, I am a little puzzled with our various jpeg .so, .dll and
such that are in svn. Looks like we are supplying an x86 version binary from
svn.<br>
<br>
In any case, a little help in getting past this jpeg exception would let me get
to where we can test a bit more on a 64bit Mac G5.<br>
<br>
10:47:04 - [MAPTILE]: Generating Maptile Step 1: Terrain<br>
10:47:04 - [MAPTILE]: Generating Maptile Step 1: Done in 82 ms<br>
10:47:04 - [MAPTILE]: Generating Maptile Step 2: Object Volume Profile<br>
10:47:04 - [MAPTILE]: Generating Maptile Step 2: Done in 21 ms<br>
Failed generating terrain map: System.DllNotFoundException: openjpeg-dotnet.dll<br>
  at (wrapper managed-to-native)
OpenMetaverse.Imaging.OpenJPEG:DotNetAllocDecoded
(OpenMetaverse.Imaging.OpenJPEG/MarshalledImage&)<br>
  at OpenMetaverse.Imaging.OpenJPEG.Encode (OpenMetaverse.Imaging.ManagedImage
image, Boolean lossless) [0x00000] <br>
  at OpenMetaverse.Imaging.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap
bitmap, Boolean lossless) [0x00000] <br>
  at
OpenSim.Region.Environment.Modules.World.WorldMap.MapImageModule.WriteJpeg2000Image
(System.String gradientmap) [0x000bb] in
/home/ckrinke/svn/opensim/OpenSim/Region/Environment/Modules/World/WorldMap/MapImageModule.cs:119
<br>
10:47:04 - [OGS1 GRID SERVICES]: Attempting to register region Mac Land with
grid at <a rel="nofollow" target="_blank"  href="http://osgrid.org:8001">http://osgrid.org:8001</a><br>
10:47:05 - [OGS1 GRID SERVICES]: Region Mac Land successfully registered with
grid at http://osgrid.org:8001<br>
<br>
</p> 

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div></div></div></body></html>