Author Topic: Installation: Syntax error: "(" unexpected  (Read 1693 times)

Zardar

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Installation: Syntax error: "(" unexpected
« on: June 20, 2007, 09:56:37 pm »
Hello all,

I'am very new in PS and very interested to get into it.  :)
But I already get stuck in by installing PS under Ubuntu 7.0.4.  :'(

I downloaded the installer from the PS homepage and made it executable in several ways, but when I use to run the installer, following message is coming:
   
   sudo sh PlaneShift_CBV0.3.018.bin
   Password:
   PlaneShift_CBV0.3.018.bin: 1: Syntax error: "(" unexpected

or nothing happen like below: 

   sudo ./PlaneShift_CBV0.3.018.bin
   Password:
   planeshift$

I checked md5sum is checked and it's ok.
I also found 3 or 4 topics in the Linux forums, but all hints or suggests didn't helped me for the installation.

Has anyone an idea how to solve this problem?
Thanks for any help in forehand.

PC:
CPU  : Pentium Dual core 3GHz
RAM : 1GB
Graphic : Nvidia GeForce 6700 XL (OpenGL is running) 
OS : Ubuntu 7.0.4  64bit

srm

  • Traveller
  • *
  • Posts: 20
    • View Profile
Re: Installation: Syntax error: "(" unexpected
« Reply #1 on: June 20, 2007, 11:12:39 pm »
just out of interest, what do you mean with "made it executable in several ways" ?

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Installation: Syntax error: "(" unexpected
« Reply #2 on: June 21, 2007, 01:10:10 am »
Feisty doesn't like the bitrock installer.  The only alternate installer is mine but its 32 bit - should work if you have the 32 bit compatibility libs installed.

You can get it here:

http://vaalnor.mine.nu/Downloads/PlaneShift%20Crystal%20Blue-0.3.018-Linux-x86-Install

If that doesn't work for you then you can try compiling your own version.  I have feisty specific instructions already made and they are easy to follow.  It can be found here:

http://vaalnor.mine.nu/psdoc/?q=node/43

Zardar

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Installation: Syntax error: "(" unexpected
« Reply #3 on: June 26, 2007, 07:59:38 am »
Thank you for your quick reply and sorry for my late answer, Induane.

First I tried to install some of the 32 bit libs --> but no success.
Than I tied out different Ubuntu distributions, because I'am experiemntalize with Ubuntu (Ubuntu users may forgive me).
Finally I installed Ubuntu 7.0.4 i386 (32bit) Version, as proposed on the Ubuntu download page with a small performance lost, and had no problems with the installation of PS and also my Nvidia-card is running well.

Even with your proposed installer I couldn't run the installation under 64bit version, and for compiling I was shocked by the long but very detail discription.

But one more question please, I read many times, that the PS-Updater should not be used for Linux.
Does it mean never use, always make Uninstall and Install new version?

To srm
I read in the articals and installation manual that basically a "chmod +x ..." should do it, but also "chmod 755 ..." was mentioned. basically there should be no difference for exicution, or?   

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Installation: Syntax error: "(" unexpected
« Reply #4 on: June 26, 2007, 10:50:05 am »
Well after .019 the updater should hopefully be fixed so while you may need to uninstall and reinstall for the .019 release when it arrives, you might not have to after that.

And yes either method should suffice for making it executable.

lone_gunman_tete

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Re: Installation: Syntax error: "(" unexpected
« Reply #5 on: June 30, 2007, 06:30:24 am »
I had the same problem - only works in a terminal window while gnome is running. I would also use automatix to get the latest nvidia driver
1. run chmod 755 yourplaneshift.bin
2. next sudo /.yourplanshift.bin
3. install it to the default directory!

you should now be able to play
« Last Edit: June 30, 2007, 06:34:15 am by lone_gunman_tete »