Forum Discussion

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

Quartus v7.2 - UBUNTU v8.04, Hardy

Quartus for the first time doesn't run at all on Ubuntu v8.04.

Previous releases of Ubuntu worked w/ Quartus...

Now it just hangs.

Any ideas other than switching from Ubuntu? I can use v7.10 until a later date... but v8.04 is the long term support (LTS) version - Altera should consider supporting it.

Jon

20 Replies

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

    Hi everyone,

    Thanks for all the information! I could successfully use Quartus 7.2 under ubuntu 8.04 using the libX11.so.6.2.0 trick. I copied the library from a 7.10 ubuntu installation. It works like a charm with compiz, etc.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks!

    The X11 library trick worked - I had forgotten about it since I thought it was a hack that would make other things unstable - but since it's localized to quartus alone... no biggie.

    Which begs the question. If quartus needs this ancient library, then why don't they just 'ship' it with the installer?

    Jon

    Thanks to you, slacker!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No problem, Mr. Herr, and it's Ura Slacker....on this forum :-) I'm just glad you're enjoying Ubuntu (that's a given) and, now, QII.

    BTW, the 8.0 version of the Altera tools shouldn't require the X11 hack, or, at least, I don't need it to run them. Someone out there must be listening!

    Cheers,

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

    Thanks, I'm up and running too now.

    Incidentally, can anyone open the tools->options menu under Ubuntu without causing a seg fault? This hasn't worked for me for a while, and I want to make sure there isn't some simple fix out there.

    Thanks,

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

    Ura Slacker - I just downloaded Quartus 8.0... and it works without the X11 hack just as you reported!

    Thanks,

    Jon

    Now if they'd just give up on 'bindkey' - I wouldn't have to edit their install script.

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

    Hello! Please, give me instructions how to install Quartus 8.0 on Kubuntu 8.04? I followed instructions of instaling Quartus 7.2 on Kubuntu 7.10 with all necessary changes and differences, but it shows me error:

    MwCreateRegistryServer failed: CreateProcess failed.

    P.S.

    I have some experience with devices and software tools of Altera's competitor and thinking about to switch to them with new projects... + because they offer FREE NATIVE Linux tools for small and average devices!

    Altera needs only ONE extra worker (this is very small for big corporation such as Altera) to test Quartus on ALL popular Linux distros and make instructions how to install Quartus for every distro! :mad: :(

    How can I transfer my wishes about Linux support to Altera's managing directors (or somebody who can solve this serious problem?)...

    Here is my running script...

    #!/bin/bash
    export LM_LICENSE_FILE=/opt/lic.dat
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/altera8.0/quartus/linux:/opt/altera8.0/quartus/stingray/lib-linux_optimized:/opt/altera8.0/quartus/mw/lib-linux_optimized:/opt/altera8.0/quartus/mw/lib-linux_optimized:/opt/altera8.0/quartus/stingray/lib-linux_optimized
    # export MWHOME=/opt/altera8.0/quartus/mw/lib-linux_optimized
    export MWHOME=/opt/altera8.0/quartus/mw
    export QUARTUS_64BIT=0
    export QUARTUS_ROOTDIR=/opt/altera8.0/quartus
    unset GCC_EXEC_PREFIX
    # strace -f /opt/altera8.0/quartus/linux/quartus
    /opt/altera8.0/quartus/linux/quartus
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm running the 8.0 version of the tools, on Xubuntu Hardy Heron (8.04). Other than the whole dash versus bash thing, and other assorted scripting issues during installation, everything went smoothly.

    Here's my (slightly edited) environment setup script:

    VERSION=8.0b215
    LM_LICENSE_FILE=${HOME}/license.dat:${HOME}/license_ae.dat
    QUARTUS_ROOTDIR=/opt/altera/${VERSION}/quartus
    SOPC_KIT_NIOS2=/opt/altera/${VERSION}/nios2eds
    SOPC_BUILDER_PATH=${SOPC_KIT_NIOS2}+
    PERL5LIB=/bin:${QUARTUS_ROOTDIR}/sopc_builder/bin/perl_lib:${QUARTUS_ROOTDIR}/sopc_builder/bin/europa:${QUARTUS_ROOTDIR}/sopc_builder/bin:
    PATH=${SOPC_KIT_NIOS2}/bin:${SOPC_KIT_NIOS2}/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin:${SOPC_KIT_NIOS2}/sdk2/bin:${SOPC_KIT_NIOS2}/bin/fs2/bin:${QUARTUS_ROOTDIR}/bin:${QUARTUS_ROOTDIR}/linux/perl/bin:${QUARTUS_ROOTDIR}/linux/gnu:$QUARTUS_ROOTDIR/sopc_builder/bin:/opt/altera/${VERSION}/modelsim_ae6.1g/linuxaloem:${PATH}
    sopc_builder=/opt/altera/${VERSION}/quartus/sopc_builder
    export QUARTUS_ROOTDIR SOPC_KIT_NIOS2 SOPC_BUILDER_PATH PERL5LIB PATH sopc_builder

    I'm not sure what (exactly) it is you're doing with your script, or how you arrived at it, but the above is based on something I've been using since 6.1, with only minor version-related changes along the way.

    With respect to your error messages, I've not seen them before, but you are doing things a bit differently than I've ever seen them done before. Though I've not analyzed it thoroughly, my first guess would be that something in your environment's amiss. If I were you, I'd start with the setup that I use (or similar) and see if it helps.

    Cheers,

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

    I just installed Quartus 8.0 in Hardy and it generally went well. I'm pleased to see that the crash that I'd always seen in 7.2 when opening up the settings dialog is now gone.

    I'm having a problem with the sopc_builder though. When I hit the button from Quartus I get the SOPC builder splash screen for a few seconds and then it goes away. SOPC builder never actually runs.

    I've tried calling sopc_builder from the command line and I get the following error:

    --- Quote Start ---

    current locale is not supported in X11, locale is set to CX locale modifiers are not supported

    --- Quote End ---

    Anyone else finding this problem? I tried using urslacker's environment setup script, but no luck.

    Thanks for any suggestions.

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

    You don't have compiz or any other sort of "eye candy" enabled, do you? If so, I think you need to disable that. (Good luck disabling compiz...in my experience it's easy to install/enable and a "right pain" to disable...!) Otherwise, check to make sure that the environment setup is actually correct....what works for me, might not for you.

    Also, you can try debugging the shell/Perl scripts that wrap the call to Java that the SOPC Builder GUI requires. My guess is that you'll be able to learn more by taking this route than anything else.

    Please do post your results, as I'm always a capable UNIX debug guy.

    Cheers, and Good luck!

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

    Just wanted to say thanks to all you guys on this thread ... Finally I got QuartusII 7.2 going on my Ubuntu 8.04 installation.

    I need to use 7.2, because that's what came with my CycloneIII dev board... Now, off to see how I can get a license for Linux - with Windows you get an evaluation version of the license, but it seems no such luck for Linux.

    That's a different problem though - at least it's running now. Thanks all!