Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20702 Discussions

Linux Installation Problems

Altera_Forum
Honored Contributor II
1,335 Views

I'm trying to install Quartus II on Ubuntu 8.04 using "90_altera_webinstall.sh" 

 

The installation wizard gets to installing "Nios II Embedded Design Suite" and I get the pop up; 

 

External program failed: /tmp/altera_9.0/linux/nios2eds/install -f /opt/altera9.0 

 

I exit the installation wizard and try to run the installation script manually in a Terminal and I get; 

 

./install: 44: Syntax error: "(" unexpected (expecting "fi") 

 

Any help?? :confused:
0 Kudos
10 Replies
Altera_Forum
Honored Contributor II
647 Views

did you install tcsh? 

sudo apt-get install tcsh  

 

doe's "bash" is the shell? 

sudo rm /bin/sh sudo ln -s bash /bin/sh
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

 

--- Quote Start ---  

doe's "bash" is the shell? 

--- Quote End ---  

 

 

parrado's right. Not having tcsh or having "dash" linked as the standard "/bin/sh" could cause something like what you're seeing. "dash", by the way, is the default for Ubuntu systems.
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

Hey thanks, that worked a treat!! 

 

I have another question now, where is the 'start menu' icon located? 

 

Usually there in the bin folder of a program but I can't find it this time 

 

Any ideas??? :confused:
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

There is not icons on applications launch menu. 

 

Quartus II doesn't know the linux distro. or window manager (GNOME, KDE) used in the target system. However, you can add a new menu item in Ubuntu by doing: 

 

system->preferences->Main Menu 

 

New Item: Select "application in terminal", choose a custom name, 

 

and if you have installed Quartus at /opt/altera9.0/ then put at command field: 

 

/opt/altera9.0/quartus/bin/quartus
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

 

--- Quote Start ---  

There is not icons on applications launch menu. 

 

Quartus II doesn't know the linux distro. or window manager (GNOME, KDE) used in the target system. However, you can add a new menu item in Ubuntu by doing: 

 

system->preferences->Main Menu 

 

New Item: Select "application in terminal", choose a custom name, 

 

and if you have installed Quartus at /opt/altera9.0/ then put at command field: 

 

/opt/altera9.0/quartus/bin/quartus 

--- Quote End ---  

 

 

That's what I thought, but I get this; 

 

dan@dan-laptop:~$ /opt/altera9.0/quartus/bin/quartus 

/opt/altera7.2/quartus7.2/adm/qenv.csh: No such file or directory. 

 

:mad:
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

in fact, in your case it's 

 

/opt/altera7.2/quartus/bin/quartus 

 

 

did you export QUARTUS_ROOTDIR? 

 

QUARTUS_ROOTDIR=/opt/altera7.2/quartus 

export QUARTUS_ROOTDIR
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

 

--- Quote Start ---  

 

did you export QUARTUS_ROOTDIR? 

 

QUARTUS_ROOTDIR=/opt/altera7.2/quartus 

export QUARTUS_ROOTDIR 

--- Quote End ---  

 

 

 

How do I do that?
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

Using Linux without understanding a shell (tcsh, csh, bash, ksh, zsh, etc.) is like cooking without a pan. You should really get yourself a good book on Linux/Unix, in general. I like the books by Mr. Sobell....here: http://www.sobell.com/ 

 

I've also attached an environment setup script (for "sh"-like shells: bash, Bourne shell, zsh, etc.) that I've used successfully for years. You'll have to modify it to suit your needs, but it should be relatively straightforward. 

- It's attached as a ".txt" file because of forum post restrictions...you'll want to rename this. 

 

Cheers, 

 

- Brendan
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

Thanks for the info 

 

I've only been using Linux for 6 months, I'm still learning....... ;)
0 Kudos
Altera_Forum
Honored Contributor II
647 Views

 

--- Quote Start ---  

 

 

/opt/altera7.2/quartus/bin/quartus 

 

 

--- Quote End ---  

 

 

At the end of the quartus installer wizard (90_altera_webinstall.sh), I get the option of loading Quartus and it loads up. 

 

I know the software has installed correctly but I just can't load it! 

 

Running the comment quoted above, I get; 

 

bash: /opt/altera7.2/quartus/bin/quartus: No such file or directory
0 Kudos
Reply