CoX on Linux - Ubuntu 12.04 - Tried cohlaunch


Aggelakis

 

Posted

I'm trying to get CoX to run on my new linux box (Ubuntu 12.04). I've done some research and found cohlaunch.pl, which I'm pretty sure is the current standard way to run CoX on linux.
The main problem I've had with it are the dependencies. It's dependencies require dependencies. and THOSE have dependencies. I spent like 4 hours just trying to install all of them, and I thought I had it right, but then I run cohlaunch.pl, and I get this:

Quote:
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./cohlaunch.pl line 37.
BEGIN failed--compilation aborted at ./cohlaunch.pl line 37.
I'm pretty sure I've installed XMLSimple, but maybe not correctly. Could someone please give me some help to get this thing running?


 

Posted

Good luck, I tried for months to get it to work. I'll be watching this thread though to see if you get it so please keep us up to date


 

Posted

My Linux is rusty, but one place to start would be running

Code:
dpkg-query -L [package name of XML::Simple]

(no square brackets) if you don't know the package name, try

dpkg-query -L *XML*Simple*
which should tell you where you have it installed. If it's not in any of the directories listed in your compiler error (and evidently it's not), that might give you a clue of what went wrong.


"You don't lose levels. You don't have equipment to wear out, repair, or lose, or that anyone can steal from you. About the only thing lighter than debt they could do is have an NPC walk by, point and laugh before you can go to the hospital or base." -Memphis_Bill
We will honor the past, and fight to the last, it will be a good way to die...

 

Posted

It cannot run on Linux.


 

Posted

I'm using ubuntu 12.04 and I think I got it working.

Everything seems to have gone as intended and it's now downloading CoH from scratch. I'll know for sure once it finishes.


 

Posted

Quote:
Originally Posted by American_Angel View Post
It cannot run on Linux.
The people who run it on Linux disagree with you.


 

Posted

Quote:
Originally Posted by Surging_Starfall View Post
I'm using ubuntu 12.04 and I think I got it working.

Everything seems to have gone as intended and it's now downloading CoH from scratch. I'll know for sure once it finishes.
Would love to hear how you did it starfall, so I can get rid of my last Windows Machine in the house.


 

Posted

Well it is still downloading, but to get to my point, you just need to get all the things it lists you needing.

To start I double checked my perl version with 'perl -v'

I already have wine

Wget was next http://ftp.gnu.org/gnu/wget/ I think I used the most recent .tar.gz version, but I remember also getting the .xz one as I had no idea how to install them(only been using Linux for a week since my first time ever using it).
Since the Install said to use Terminal to run the configure, I tried that but had no idea how to make it find it. Luckily, double clicking configure lets me choose to run it in Terminal anyway so I did that, then typed wget into Term to double check that it's there now.

Next was xDelta, but the link just takes you too a search engine where there is only one xDelta 1.1, and I wasn't able to get it to install the same way as wget. Luckily typing xdelta into Terminal, if you don't have xdelta, tells you what to type to get xdelta. The version might be the latest since it got it on it's own(logical to think that it would get the latest one), haven't checked, but despite the thing about xdelta3, I haven't noticed any issues yet.

For XML::Simple, I just googled it, found http://manpages.ubuntu.com/manpages/...::FAQ.3pm.html then found this and typed it into Terminal
perl -MCPAN -e 'install XML::Simple'

Finally, after all that, typing perl ./cohlaunch.pl worked up until this point.

Edit: It worked. Had to stop it from trying to launch itself after installing and relaunch it with [ ./cohlaunch.pl -renderthread 0] though.