Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

ModelSIM ase setup syntax error on Ubuntu 10.04.

While following those instructions on "philip pemberton's website" (Installing Altera Quartus 10 Web Edition on Ubuntu 10.04), everything goes fine with Quartus and USB programmer tricks on Ubuntu 10.04LTS 32bit. ModelsSIM installation returns the following output:x@y:~/somedir$ sudo sh ./setup

./setup: 1: Syntax error: "&" unexpected

On SuSE 11.3 64bit with additional tweaks i can install everything.

This is with Quartus/MS 10.0 version.

I have no idea what might be the cause of this error or how to find it. Any help appreciated.

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi

    Could you explain in details the way to run this setup?

    I have the same problem on Ubuntu, and I found no information about solving it.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm not sure what exact details did you mean.

    If you're talking about the exactly same problem, i typed sh where bash was needed.

    That is, line:

    x@y:~/somedir$ sudo sh ./setup

    Should look like this (as written in philp's site):

    x@y:~/somedir$ sudo bash ./setup

    Therewere someother minor problems with quartus on 64bit SuSE.Good luck.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    this was exactly, what I needed.

    I didn't get it, just to simply switch sh/bash in command line. Thanks a lot!