Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12618 Discussions

ModelSIM ase setup syntax error on Ubuntu 10.04.

Altera_Forum
Honored Contributor II
1,118 Views

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.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
405 Views

Problem solved. I confused sh with bash.

0 Kudos
Altera_Forum
Honored Contributor II
405 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
405 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
404 Views

this was exactly, what I needed. 

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