PlaneShift

Support => Linux Specific Issues => Topic started by: tanuva on July 02, 2007, 06:50:19 pm

Title: [solved] PS and (K|X)Ubuntu
Post by: tanuva on July 02, 2007, 06:50:19 pm
Since the provided installer doesnt seem to work with Ubuntu (Some syntax error described in another thread), it would be really useful if you could provide the PS data in a zip/tar.gz/whatever file, so no installer would prevent us from playing.... Comments?  :detective:
Title: Re: PS and (K|X)Ubuntu
Post by: miadon on July 02, 2007, 08:09:42 pm
the installer works fine with *ubuntu. What were you doing when you were trying to run it.
Title: Re: PS and (K|X)Ubuntu
Post by: tanuva on July 02, 2007, 08:24:11 pm
I downloaded it, made it executable (chmod +x PlaneShift_CBV0.3.018.bin) and tried to execute it.
sh produces this output:
Code: [Select]
marcel@1337:~$ sh PlaneShift_CBV0.3.018.bin
PlaneShift_CBV0.3.018.bin: 1: Syntax error: "(" unexpected
simply executing it is followed by a segfault:
Code: [Select]
marcel@1337:~$ ./PlaneShift_CBV0.3.018.bin
Segmentation fault (core dumped)
The segfault appears the moment I press the "forward" button on the page which wants me to accept the license, what I did.
Title: Re: PS and (K|X)Ubuntu
Post by: Induane on July 03, 2007, 04:28:59 am
@miadon

For a few people it works fine on Ubuntu.  Myself however, and many many many others here on the forums (can't count the threads or visits to #planeshift-build) have major problems with it that just cannot be resolved.  Thats why I have that alternate installer I provide :)
Title: Re: PS and (K|X)Ubuntu
Post by: bilbous on July 03, 2007, 05:51:43 am
I just installed PS in Feisty. I had no problem. What I did was realizing the Ubu defaults to the nash shell as referred to in another thread I just typed "bash" at the prompt before the installation and proceeded in the bash shell. My PlaneShift_CBV0.3.018.bin had previously been set to executable. Then I just typed "./P*" in the directory (it was the only file starting with P).

I should note that I always set a new password for the root account when I install a Ubuntu so that I can get a root terminal instead of using sudo all the time. The above procedure was done as root.

I am not sure using bash will work for everyone but it is a simple enough thing to try before more time consuming efforts. Bash seems to have been installed by default even if it is not the default shell. I certainly did not install it intentionally.
Title: Re: PS and (K|X)Ubuntu
Post by: tanuva on July 03, 2007, 04:07:08 pm
[...]
Thats why I have that alternate installer I provide :)
Last time I tried to get your installer the server didnt seem to be online, but now it works, downloading atm. Gonna call back if it works...
I just installed PS in Feisty. I had no problem. What I did was realizing the Ubu defaults to the nash shell as referred to in another thread I just typed "bash" at the prompt before the installation and proceeded in the bash shell. My PlaneShift_CBV0.3.018.bin had previously been set to executable. Then I just typed "./P*" in the directory (it was the only file starting with P).

I should note that I always set a new password for the root account when I install a Ubuntu so that I can get a root terminal instead of using sudo all the time. The above procedure was done as root.

I am not sure using bash will work for everyone but it is a simple enough thing to try before more time consuming efforts. Bash seems to have been installed by default even if it is not the default shell. I certainly did not install it intentionally.
I didnt know about that... Is there a way to see which command interpreter is running? But running it explicitly with the bash didnt solve the problem, so this cant be a too serious issue...

// Induane's installer worked perfectly, thank you! :)
Title: Re: [solved] PS and (K|X)Ubuntu
Post by: Induane on July 04, 2007, 03:49:47 pm
I'm glad the installer worked.  Xordan said the new version of the bitrock installer fixes some issues with ubuntu so there may be no need for me to make another installer for .019 but we'll see.  I know Ubuntu switched to using dash as  its default shell back in edgy but I don't think thats the issue.  Running bash directly did not fix the issue for me either.