News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Linux nightlies on Lubuntu fail to start [solved]

Started by Spacethingy, September 14, 2013, 02:32:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Spacethingy

Sorry for the vague title, it's just that I've tried a few different versions.


The latest Simutrans nightlies won't start on Lubuntu, executing the binary has no apparent effect.
I have paks in place, I checked execute permissions were OK, I tried using the CLI, all to no use.


Both r6701 and r6699 of gcc4 don't work, r6699 of gcc3 doesn't work, and r6701 of gcc3 has a broken archive.


r6520 (112.3) from Simutrans.com works fine. I haven't been through the nightlies systematically, but I don't think any of the available ones work for me.



EDIT: Out of interest, what's the difference between gcc3/4? I don't really know what it is.
Life is like a Simutrans transformer:

You only get one of them, and you can't have it on a slope.

prissi

IS there a libary missing? Best to compile it yourself, then you can be sure nothing is missing.

Spacethingy

#2
Um... isn't the point of pre-compiled binaries that I don't have to compile them? ;D I'll give it a go.

EDIT: OK, got up to the point about editing config.default and the point about "you need to specify frontend, colour depth, system ["you should know it" Uh, sorry no!]."

I have no idea what that means. How do I specify it? How do I choose? I can't find any help online, sorry.
Life is like a Simutrans transformer:

You only get one of them, and you can't have it on a slope.

isidoro

Quote from: Spacethingy on September 14, 2013, 02:32:17 PM
[...]
The latest Simutrans nightlies won't start on Lubuntu, executing the binary has no apparent effect.
I have paks in place, I checked execute permissions were OK, I tried using the CLI, all to no use.
[...]
EDIT: Out of interest, what's the difference between gcc3/4? I don't really know what it is.

Don't you get any message from the command line?  What version of Lubuntu do you have?

I have 13.04 (32 bits) at hand and can check.

About gcc3/gcc4, they are different versions of gcc.  You can check what of them you have installed with dpkg -l gcc.

Can the missing file(s) be related to http://forum.simutrans.com/index.php?topic=12556.0?

Spacethingy

Quote from: isidoro on September 15, 2013, 12:21:20 AM
Don't you get any message from the command line?  What version of Lubuntu do you have?

12.10 Quantal, 32 bit, the command line doesn't appear I'm afraid. Executing it from a terminal doesn't work, it doesn't seem to recognize the executable, it just says "command not found".

QuoteAbout gcc3/gcc4, they are different versions of gcc.  You can check what of them you have installed with dpkg -l gcc.

I've got 4.7.2 according to that.

QuoteCan the missing file(s) be related to http://forum.simutrans.com/index.php?topic=12556.0?

Not sure, I tried using the zip there provided by Prissi, still no joy.
Life is like a Simutrans transformer:

You only get one of them, and you can't have it on a slope.

ArthurDenture

QuoteExecuting it from a terminal doesn't work, it doesn't seem to recognize the executable, it just says "command not found".

The steps you want to follow are:
- Download the nightly into your ~/simutrans directory (that is, the "simutrans" directory inside your home directory)
- Open a terminal. It should start in your home directory.
- cd simutrans
- ./sim

When you run a command, Linux checks for that command inside all the directories listed in your $PATH. (If you want to see that list, run echo $PATH at the terminal.) For security reasons it does *not* check in the current directory. So to run a command in the current directory, you need to add "./", where the "." means "the current directory".

Hope that helps? If not, it'll help if you post a more detailed description of the steps you take when trying to run Simutrans from the command line.

Spacethingy

#6
Quote from: ArthurDenture on September 15, 2013, 02:15:24 PM
The steps you want to follow are:
- Download the nightly into your ~/simutrans directory (that is, the "simutrans" directory inside your home directory)
- Open a terminal. It should start in your home directory.
- cd simutrans
- ./sim

When you run a command, Linux checks for that command inside all the directories listed in your $PATH. (If you want to see that list, run echo $PATH at the terminal.) For security reasons it does *not* check in the current directory. So to run a command in the current directory, you need to add "./", where the "." means "the current directory".

Hope that helps? If not, it'll help if you post a more detailed description of the steps you take when trying to run Simutrans from the command line.


:D  You sir, have just given me an extremely important piece of information about Linux... That explains why it was suggesting installing it with apt-get when I tried to run the stable binary called "simutrans". Excellent, thanks! So, trying it properly...


The nightly executable returns "error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory". So, I guess I need to try getting that library.

EDIT:...and doing so using sudo apt-get install libsdl-mixer1.2-dev makes the nightly work fine! Hooray! Thanks guys!
Life is like a Simutrans transformer:

You only get one of them, and you can't have it on a slope.