Author Topic: [solved] PS and (K|X)Ubuntu  (Read 984 times)

tanuva

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
[solved] PS and (K|X)Ubuntu
« 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:
« Last Edit: July 03, 2007, 05:31:03 pm by tanuva »

miadon

  • Hydlaa Notable
  • *
  • Posts: 934
    • View Profile
Re: PS and (K|X)Ubuntu
« Reply #1 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.
- MiadonCam (Refresh page to see live in game Miadon Action!!)

tanuva

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: PS and (K|X)Ubuntu
« Reply #2 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.

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: PS and (K|X)Ubuntu
« Reply #3 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 :)

bilbous

  • Guest
Re: PS and (K|X)Ubuntu
« Reply #4 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.

tanuva

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: PS and (K|X)Ubuntu
« Reply #5 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! :)
« Last Edit: July 03, 2007, 05:30:24 pm by tanuva »

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: [solved] PS and (K|X)Ubuntu
« Reply #6 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.