Forum Discussion

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

How to install Quartus II Web Edition Software on Ubuntu 11.04

Here my steps and where I'm stuck:

I'm on Mac OS X running VMWare running Ubuntu 11.04:

1- Go to web page to download quartus 2 11.0

2- Download 11.0_quartus_free_linux.sh

3- chmod +x ./11.0_quartus_free_linux.sh

4- sudo ./11.0_quartus_free_linux.sh

Creating directory 11.0_quartus_free_linux

Verifying archive integrity... All good.

Uncompressing Quartus II Web Edition (Free).......................................................................................................................................................................................................

altera_installer/bin/altera_installer_gui: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

So I try sudo apt-cache search libz the lib that are there seem to be already installed....

Check on the forum and Google and the installation instruction without founding the way to fix that.

Does anyone have a way to troubleshoot this?

Best Regards,

# #####################################################

# UPDATE: [SOLVED] Ubuntu 11.10

# #####################################################

see link

http://www.alteraforum.com/forum/showthread.php?t=33857

40 Replies

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

    Thanks for a quick reply. My set-up is VirtualBox 4.1.4, Ubuntu 11.04, Mac OS 10.6.8, Quartus 11.0sp1 (different from yours). The file usr/sbin/firefox doesn't seem to exist! Rather, it is usr/bin/firefox. I have also tried usr/lib/firefox-7.0.1/firefox.sh. Both launch firefox from the terminal but with errors. Both files are recognised by Quartus in that I don't get their warning window but nothing more happens. Clicking on its icon, firefox opens fine by the way. Any thoughts?

    Many thanks, David.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Thanks for a quick reply. My set-up is VirtualBox 4.1.4, Ubuntu 11.04, Mac OS 10.6.8, Quartus 11.0sp1 (different from yours).

    --- Quote End ---

    The version should not matter.

    --- Quote Start ---

    The file usr/sbin/firefox doesn't seem to exist! Rather, it is usr/bin/firefox.

    --- Quote End ---

    Sorry, that was a typo. Its in /usr/bin.

    --- Quote Start ---

    I have also tried usr/lib/firefox-7.0.1/firefox.sh. Both launch firefox from the terminal but with errors. Both files are recognised by Quartus in that I don't get their warning window but nothing more happens. Clicking on its icon, firefox opens fine by the way. Any thoughts?

    --- Quote End ---

    What are the warnings? Paste the output of a bash shell after you type 'firefox'.

    If Quartus starts a new shell to launch firefox and the library paths for the libraries that firefox uses are not found, then it might not start.

    Cheers,

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

    Here are the warnings (only one really):

    failed to create drawable

    (firefox:2540): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (firefox:2540): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (firefox:2540): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (firefox:2540): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    Make any sense?

    Thanks, David.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Make any sense?

    --- Quote End ---

    Nope.

    I'd recommend Googling for the solution to that first. If you can get firefox to start without issue, then it should start fine from Quartus.

    Cheers,

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

    --- Quote Start ---

    An interesting thread but what got lost in the discussion about USB was Kapare's comment at one spot about no Internet access from within Quartus.

    I was wondering whether you had resolved that problem. I am a Mac person and a complete novice at Linux, but got Quartus installed in Ubuntu using VirtualBox and so far this is the only problem I have had. (USB seems alright.) Firefox simply won't open even though the directory in the Quartus options is correct (checked with command line entry, albeit interestingly enough, with a couple of errors as Firefox opens.)

    Any advice you could give would be appreciated. Thanks!

    --- Quote End ---

    That error have only been seen during the installation and didn't cause problem on my internet connection in the virtual machine.

    My advise is that you should check your virtual machine settings to be sure Ethernet settings a properly set. You would found this information on Google and Virtual Box documentations.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    My setup:

    - VirtualBox 4.1.4

    - 64-bit Windows 7 host

    - 64-bit Ubuntu 11.04 guest

    - Quartus 10.1sp1

    I had to set Tools->Options, Internet Connectivity, Web browser, to /usr/sbin/firefox, and then Firefox started fine.

    Cheers,

    Dave

    --- Quote End ---

    In VMWare bottom right or in the settings I'm using Bridge Autodetect
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for posting. I have since dug deeper and my set-up is now

    VirtualBox 4.1.4

    64 bit Mac OS 10.6.8

    32 bit Ubuntu 11.1 (NB - 32 bits because I've encountered my share of 64 bit problems on the Mac)

    Quartus 11.0sp1 installed in /opts/Altera .....

    Firefox 7.0.1

    In the Quartus Tools/Options the Network Connectivity is /usr/bin/firefox. (It's not in sbin.)

    Opening Quartus from the shell and then attempting to access anything in the help file, I got no warning window, implying that the browser's location is valid. However, in the shell I found the printout

    Couldn't load XPCOM

    and of course, Firefox wasn't therefore opened.

    Running /usr/bin/firefox in the shell launches Firefox correctly so I'm pretty certain my Ethernet settings (inherited from my Mac) are correct. However, an obscure warning (see# 34) is generated – a red herring I think.

    ldconfig -p shows that the Firefox library is on the library path and in particular libxpcom.so is shown.

    As a precaution I installed ia32-libs-multiarch – to no effect.

    At this point I'm almost out of ideas! I can only think some library is missing but I have no indication of what it could be.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I just installed Quartus II 11.1sp1 Web Edition under Ubuntu 11.10, and it generated a couple of errors related to this thread. Since the original poster did not post his solution to the pixmap issue, I'll post it here.

    The first issue is the default locale. For some reason perl does not pick it up correctly, Qsys generates the messages

    
    Info: Starting classic module elaboration.
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "en_US",
        LANG = "C"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    
    so you have to issue the command

    
     sudo locale-gen en_US
    
    and reboot (I'm not sure if the reboot is required, that was just the advice given on the web).

    For the pixmap error, Qsys generates messages like

    
     (java:2050): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    is fixed with

    
    sudo apt-get install gtk2-engines-pixbuf
    
    Cheers,

    Dave