Forum Discussion

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

Linux Installation Problems

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:

10 Replies

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

    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
    
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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:
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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:
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    did you export QUARTUS_ROOTDIR?

    QUARTUS_ROOTDIR=/opt/altera7.2/quartus

    export QUARTUS_ROOTDIR

    --- Quote End ---

    How do I do that?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the info

    I've only been using Linux for 6 months, I'm still learning....... ;)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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