Forum Discussion

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

Quartus 7.1, 6.1 Debian 4.0 ETCH Installation

Hello all,

I'm a bit disappointed about Altera Linux policy.

I'm a proud owner of DE2 Altera's Development and Educational board.

My operating system is Debian/GNU Linux 2.6.21-1-686 ETCH 4.0 version

I was trying to install Quartus II in several ways:

1) Using Wine -> Quartus 6.0 Full Web Edition crashed after 15 minutes of work (setting Pin Assignment according to the starting VHDL tutorial). After that I can't start the program again. Moreover there is no possibility to install USB Blaster drivers for Wine. :( .

2) Trying to download Quartus II 6.1 and 7.1 and install it according to the receipt given for Ubuntu 7.04 :

00) before everything you have to install tcsh and csh

01) cd /bin

02) mv csh chs_

03) ln -sf tcsh csh

04) cd your_quartus_installation_files

05) ./install

06) cd your_devinfo_installation_files

07) ./install

08) cd /bin

09) ln -sf bash sh

10) export QUARTUS_ROOTDIR=your_quartus_path

11) cd your_nios2eds_installation_files

12) ./install

13) cd /bin

14) mv csh_ csh

15) ln -sf dash sh

16) edit /etc/udev/rules.d/40-permissions.rules and add to the end of this file :

# Altera USB-Blaster

BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666", SYMLINK+="usbblaster"

I haven't use the /opt/altera7.1/quartus7.1 directory , but my home directory (I haven't got free space in /opt dir) /home/majess/altera7.1/quartus7.1

I've also installed the devinfo 1 and 2.

After untarring the archives I've changed the ./install script and comment the lines responsible for "bindkey" command.

Installation runs smoothly and everything looked OK.

I've add to $PATH the /home/majess/altera7.1/quartus7.1/bin and

I've set up the $QUARTUS_ROOTDIR as /home/majess/altera7.1/quartus7.1

I've only installed the tcsh .... without csh.

When I give a command: ./quartus from my prompt I have the output:

majess@lap-153:~/altera7.1/quartus7.1/bin$ ./quartus

arch: Command not found.

arch: Command not found.

arch: Command not found.

Unknown Linux processor

MWARCH: Undefined variable.

I was trying to search through the net about this error, so I've look into the qenv.csh script and add setenv QUARTUS_MWWM allwm in the section:

# This is the case for a non-supported Linux distribution. We don't prevent Quartus II

# from running on this distribution, but we don't do anything special either. Individual

# users may need to set QUARTUS_MWWM, LD_ASSUME_KERNEL, etc. as needed.

if (! $?QUARTUS_MWWM ) then

setenv MWWM allwm

setenv QUARTUS_MWWM allwm

endif

I've run the script again and it shows the same problem with

arch: Command not found.

arch: Command not found.

arch: Command not found.

Unknown Linux processor

MWARCH: Undefined variable.

:(.

I've run the ./check_patches from adm directory but it shows the same.

Any Ideas? Help?

Regards,

Lukasz MAjewski

I've ask Altera's supprot about supporting linux for the Quartus II Web Edition, but they of course said like always "YES we have some plans about that, but decision hasn't been made." (I've had the same reply for the same question in late January)

BTW. Xi....x company is offering WebPACK ISE web edition for linux sine 2005 :(

2 Replies

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

    I ran into the same prob with ubuntu tribe 5... it appears to be a bug with the missing 'arch' command. edit the <quartus root>/mw/setup-mwuser.csh file by commenting out the following lines... that will get u going.... although i haven't actually done anything with quartus yet... i just found the prob now...

    else if (`uname` == Linux) then

    setenv MWOS linux

    # if ((`arch` =~ i*86) || (`arch` =~ ia64) || (`arch` =~ x86*)) then

    setenv MWARCH i86

    # else

    # echo "Unknown Linux processor"

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

    The work around for :arch: Command not found" is to create a file named "/bin/arch", where it contains the following:

    ===== Start Cut here ====

    # ! /bin/bash

    uname -m

    ===== End Cut

    Then set the exec bit on the file by:

    chmod +x /bin/arch

    I am surprised by Altera's scripts that are still using the deprecated command arch. Altera should use "uname -m" in place of "arch".

    --Joe