<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-7">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
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
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
span.emailstyle17
{mso-style-name:emailstyle17;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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 OpenJpeg.cs inside libomv. Watch for
an updated release soon.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;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<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></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<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
<hr size=1 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
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><o:p></o:p></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<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
<hr size=1 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
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><o:p></o:p></p>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>OSX uses .dylib
files for unmanaged (<a href="http://non-.NET" target="_blank">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><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>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><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>John</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt'>From:</span></b><span
style='font-size:10.0pt'> 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><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal> <o:p></o:p></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>
[<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
On a functioning x86 server, I can see <a href="http://libopenjpeg-1.0.0.so"
target="_blank">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>
<o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt'>
<hr size=1 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt'>From:</span></b><span
style='font-size:10.0pt'> 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><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>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 href="http://osgrid.org:8001" target="_blank">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>
<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>