[Opensim-users] Book on building mono applications in Linux
Frank W Sweet
fwsweet at backintyme.com
Mon Mar 23 15:52:01 UTC 2009
A big "Thank you" to Bulli, Mike, and Matt for your help. I was
absolutely stunned by Bulli's saying that the EXEs and DLLs compiled
under Windows would run unchanged under Linux. I would have thought
that the OS APIs were incompatible. It just goes to show how little I
know about Linux. Anyway, I dragged my bin directory from W-XP to
Ubuntu, kicked it off, and incredibly it ran.
Actually, it crashed when it tried to load a DLL, but I am pretty sure
that is because it did not know which directory it was running inside.
(My launcher "bat" file, my region XML's, and my ini's are all in a
directory outside of and separate from my bin directory for obvious
reasons.) I am pretty sure there must be a way that I can tell a Linux
program that it is running inside a directory that is not where the
launch "bat" is running from (the Linux equivalent to the "start in"
parameter of the W-Xp shortcut.).
Again, thank you very much, guys. You learn something new every day.
In case anyone is curious, I have appended below the applicable log.
Frank W Sweet
Backintyme Publishing
log4net:ERROR XmlHierarchyConfigurator: No appender named
[NHibernateFileLog] could be found.
log4net:ERROR XmlHierarchyConfigurator: Appender named
[NHibernateFileLog] not found.
11:22:38 - Performing compatibility checks...
11:22:38 - Environment is compatible.
11:22:39 - [CONFIG]: Reading configuration settings
11:22:39 - [CONFIG]: Reading configuration file
/home/fwsweet/VM06FTP/OpensimExe/OARs/gridtsor2.ini
11:22:39 - [STARTUP]: Beginning startup processing
11:22:39 - [STARTUP]: Version: OpenSimulator Server 0.6.3
11:22:39 -
====================================================================
11:22:39 - =================== STARTING HYPERGRID NODE
========================
11:22:39 -
====================================================================
11:22:39 -
====================================================================
11:22:39 - ========================= STARTING OPENSIM
=========================
11:22:39 -
====================================================================
11:22:39 - [OPENSIM MAIN]: Running in grid mode
11:22:40 - [DATASTORE]: Attempting to load OpenSim.Data.MySQL.dll
11:22:40 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
Exception: System.IO.FileNotFoundException: Could not load file or
assembly 'OpenSim.Data.MySQL.dll' or one of its dependencies. The
system cannot find the file specified.
File name: 'OpenSim.Data.MySQL.dll'
at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom
(string,bool)
at System.Reflection.Assembly.LoadFrom (System.String assemblyFile)
[0x00000]
at OpenSim.Region.Framework.StorageManager..ctor (System.String
dllName, System.String connectionstring, System.String
estateconnectionstring) [0x00000]
at OpenSim.OpenSimBase.CreateStorageManager (System.String
connectionstring, System.String estateconnectionstring) [0x00000]
at OpenSim.OpenSimBase.CreateStorageManager () [0x00000]
at OpenSim.Region.ClientStack.RegionApplicationBase.StartupSpecific
() [0x00000]
at OpenSim.OpenSimBase.StartupSpecific () [0x00000]
at OpenSim.OpenSim.StartupSpecific () [0x00000]
at OpenSim.HGOpenSimNode.StartupSpecific () [0x00000]
at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000]
at OpenSim.Application.Main (System.String[] args) [0x00000]
Application is terminating: True
----- Original Message -----
From: "Bulli" <avdleeuw at gmail.com>
To: "Frank W Sweet" <fwsweet at backintyme.com>;
<opensim-users at lists.berlios.de>
Sent: Sunday, March 22, 2009 5:14 PM
Subject: Re: [Opensim-users] Book on building mono applications in
Linux
I don't have a reference to any Mono books, but why bother?
I think you can still build your servers on windows.... then copy them
over to the Linux-boxes and run them there.
For me it works the other way around at least: I tend to build some
libomv applications on Linux using mono and then run them under
Windows.
Regards,
Bulli Schumann
_______________________________________________
Opensim-users mailing list
Opensim-users at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users
More information about the Opensim-users
mailing list