Hi again,
Just to elaborate on what I've seen and tried
Problem: Executing the following code:
Code: Select all
sudo mono /bin/SwitchKing/Bin/SwichKing.exe terminal 8080 8800
Gives me the following error message:
Code: Select all
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/local/lib/mono/2.0/mscorlib.dll' directory.
The thing I have tried:
1) Override runtime version (mono runtime=VERSION)
Not sure what specific version number to use, as I cannot find a list. Found a web page refering to 4.0.XXX (cant remember the number now), but mono still states cannot locate that version, and is reverting to default 2.0.50727. Where is the default value set, and what are applicable?
2) Edit app.config
There are like 20 of this file, though all seem like a part of a exercise or sample catalog.
I suspect that there is a *.config file for switch king somewhere that i should edit or create, like in the end of this article:
http://stackoverflow.com/questions/1087 ... ead-of-4-0
And does that mean I have to recompile the whole shebang, taking 6 hours?
3) symlink the 2.0 folder/files
Another article states the a guy having problems with mono defaulting to version 2.0, when the files where only present in a 1.0 folder. By symlinking 1.0 to 2.0 folder, he was able to run. That does not sound very advisable to me though. Guess I could symlink the files into 2.0 folder, but do not feel comfortable with that.
4) Make sure to install mono-complete
I've installed according to the linked article, which clearly stated to use the mono-complete from the start, so that should not be the problem.
5) change xsp2 to xsp4
Tried to locate some reference to xspX in any SwitchKing config files, but could not find anything. Just a wild guess based on this article:
http://stackoverflow.com/questions/1160 ... eb-applica
Right now I am trying these steps again, as I am unsure if I used -- instead of the (mis)spelled long - from the to do list of Neil Danson.
- sudo git clone git://github.com/mono/mono.git
- cd mono
- sudo ./autogen.sh -–prefix=/usr/local –-enable-nls=no
- Note the above step reads two dashes before prefix and enable-nls. Thanks crazy fonts (and eagle eyed readers)
- sudo make
Link to some relevant sources:
http://nonodes.spunow.co.uk/2010/11/net ... no-28.html
https://bugs.launchpad.net/ubuntu/+sour ... omments/14
http://mono.1490590.n4.nabble.com/The-a ... 07560.html
Think that covers it, any reflections?