Shop OBEX P1 Docs P2 Docs Learn Events
Debian testing.Syntax error after install — Parallax Forums

Debian testing.Syntax error after install

heichheich Posts: 26
edited 2012-10-01 15:55 in Propeller 1
Hi there

Debian Wheezy 3.2.0-3-686-pae Kernel

I just downloaded SimpleIDE-0-7-2 (beta) from sites.google

$ tar -xjf SimpleIDE-0-7-2-1.x86_64.debian64-dev-linux.tar.bz2
$ cd SimpleIDE-0-7-2

Since i have Debian, and I don't want sudo, I do

$ su -
# ./setup.sh myusername

Installing ./simpleide as heich
Found Users /opt/parallax/bin
Setup complete. To run program use: ./simpleide

# exit (from root)
$ ./simpleide

Here is the error msg:
/opt/parallax/SimpleIDE-0-7-2/bin//SimpleIDE: 1: /opt/parallax/SimpleIDE-0-7-2/bin//SimpleIDE: Syntax error: "(" unexpected

from the previous line, i realized that there is a double backlash on the path concatenated in simple ide:
`$dirname/$appname "$@"` &

If i remove that double backlash, i'm still receiving the error msg.

As a test, i installed the propeller GCC libraries on /opt/parallax. Same results :(

Am I doing something wrong?

Best regards

Hector

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-10-01 10:30
    Hi Hector,

    Version 0-7-2 is quite old. There are newer distributions here https://code.google.com/p/propside/downloads/list
    The latest package setup scripts (v0-8-5 for example) automatically copy the propeller-gcc distribution to /opt.

    Please try the v0-8-5 distribution if you can.

    I'm not really sure why you're getting a syntax error when starting the 'simpleide' script.
    The simpleide script sets the LD_LIBRARY_PATH and starts the bin/SimpleIDE application.
    Perhaps you can do these steps separately without the script?

    Double backslash should not mean anything unless wheezy has some change that treats it as special.

    I don't have a wheezy virtual machine and space for more VMs is disappearing.
    I've asked Daniel to install a Debian wheezy for another issue. Maybe he can help with this.


    --Steve

    heich wrote: »
    Hi there

    Debian Wheezy 3.2.0-3-686-pae Kernel

    I just downloaded SimpleIDE-0-7-2 (beta) from sites.google

    $ tar -xjf SimpleIDE-0-7-2-1.x86_64.debian64-dev-linux.tar.bz2
    $ cd SimpleIDE-0-7-2

    Since i have Debian, and I don't want sudo, I do

    $ su -
    # ./setup.sh myusername

    Installing ./simpleide as heich
    Found Users /opt/parallax/bin
    Setup complete. To run program use: ./simpleide

    # exit (from root)
    $ ./simpleide

    Here is the error msg:
    /opt/parallax/SimpleIDE-0-7-2/bin//SimpleIDE: 1: /opt/parallax/SimpleIDE-0-7-2/bin//SimpleIDE: Syntax error: "(" unexpected

    from the previous line, i realized that there is a double backlash on the path concatenated in simple ide:
    `$dirname/$appname "$@"` &

    If i remove that double backlash, i'm still receiving the error msg.

    As a test, i installed the propeller GCC libraries on /opt/parallax. Same results :(

    Am I doing something wrong?

    Best regards

    Hector
  • heichheich Posts: 26
    edited 2012-10-01 15:55
    jazzed wrote: »
    Hi Hector,

    Version 0-7-2 is quite old. There are newer distributions here https://code.google.com/p/propside/downloads/list
    The latest package setup scripts (v0-8-5 for example) automatically copy the propeller-gcc distribution to /opt.

    Please try the v0-8-5 distribution if you can.

    I'm not really sure why you're getting a syntax error when starting the 'simpleide' script.
    The simpleide script sets the LD_LIBRARY_PATH and starts the bin/SimpleIDE application.
    Perhaps you can do these steps separately without the script?

    Double backslash should not mean anything unless wheezy has some change that treats it as special.

    I don't have a wheezy virtual machine and space for more VMs is disappearing.
    I've asked Daniel to install a Debian wheezy for another issue. Maybe he can help with this.


    --Steve


    Hello Steve!!


    Early morning today, searching for the source code, I went to propside site, and i realized i was installing an old version, which i got from

    https://sites.google.com/site/propellergcc/downloads/linux-downloads

    I've downloaded -from the right site- 0-8-5-1.i686 but I could'n tested yet.

    Please ask Daniel not to install another VM, only for Wheezy.

    As soon i can, i'm going to try again. Also, i'm reading how to compile from source ;)


    Thanks and best regards.
Sign In or Register to comment.