Problem installing Qt Online Installer for Linux 32-bit on Ubuntu



  • Hello,
    I've downloaded "this":http://download.qt-project.org/official_releases/online_installers/1.4/qt-linux-opensource-1.4.0-2-x86-online.run and tried to install it this way but getting an error:

    @
    user@user-D3220-B1:~/Downloads$ ls
    qt-linux-opensource-1.4.0-2-x86-online.run
    user@user-D3220-B1:~/Downloads$ chmod 755 qt-linux-opensource-1.4.0-2-x86-online.run user@user-D3220-B1:~/Downloads$ sudo ./qt-linux-opensource-1.4.0-2-x86-online.run
    [sudo] password for user:
    sudo: unable to execute ./qt-linux-opensource-1.4.0-2-x86-online.run: No such file or directory
    user@user-D3220-B1:~/Downloads$
    @

    Where is the problem?


  • Moderators

    There is no need to run Qt installation as root.

    I don't know why, but sometimes the installer simply does not execute. last time I've observed this was a looooong time ago, though. Make sure the dependencies for Qt are met, then try running it a few more times.



  • How can I make sure the dependencies for Qt are met? I'm not that experienced using Linux....


  • Moderators

    @
    sudo apt-get intall build-essential
    sudo apt-get build-dep qt5-qmake qt5-default
    @

    Bit unpleasant such a glitch should hit a newbie :/ If it is the same bug as before, then it's sometimes enough just to repeatedly try running the file, it will work eventually.



  • sudo apt-get build-dep qt5-qmake qt5-default downloads and make a lot of output. As far as I can see with no error.

    The other one seems to be fine too:
    @
    user@user-D3220-B1:~/Downloads$ sudo apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
    user@user-D3220-B1:~/Downloads$ ^C
    @

    But still getting the same error. Also repeating several time does not help.


  • Moderators

    Try the offline installer, then.

    I would suggest building from source, but I don't want to put that burden on you yet, when we still have other options.



  • Same error:

    @
    user@user-D3220-B1:~/Downloads$ ls
    qt-linux-opensource-1.4.0-2-x86-online.run qt-linux-opensource-5.1.1-x86-offline.run
    user@user-D3220-B1:~/Downloads$ chmod 755 qt-linux-opensource-5.1.1-x86-offline.run
    user@user-D3220-B1:~/Downloads$ ./qt-linux-opensource-5.1.1-x86-offline.run
    bash: ./qt-linux-opensource-5.1.1-x86-offline.run: No such file or directory
    user@user-D3220-B1:~/Downloads$
    @


  • Moderators

    What happens if you run it from the GUI (click/ double click)?



  • Nothing happens when I double click on it.


  • Moderators

    This is bad. I'll ask on the mailing list, maybe there are some known solutions.



  • Hopefully it helps. Thank you in advance.


  • Moderators

    Hi,

    Is your machine 64 bit ?



  • please show us:
    uname -a

    and:
    ldd /Downloads/qt-linux-opensource-5.1.1-x86-offline.run

    Maybe there is a missing dependency to start the installer UI.
    a possible fix is:
    sudo aptitude build-dep libqt4-opengl-dev

    and yes if you have a 64bit system you need a 64bit installer.

    PS: Please check that my possible fixing command does the right thing for you, I am not working on linux daily.



  • Yes, it is a 64 bit machine.

    @
    user@user-D3220-B1:~$ uname -a
    Linux user-D3220-B1 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    user@user-D3220-B1:~/Downloads$ ldd qt-linux-opensource-5.1.1-x86-offline.run
    not a dynamic executable
    user@user-D3220-B1:~/Downloads$
    @

    sudo aptitude build-dep libqt4-opengl-dev seems to run fine but the problem remains the same...

    The 64bit installer seems to work. It is currently running. Is it not possible to use and build 32 bit on a 64 bit machine like it is possible on windows?


  • Moderators

    As Thiago mentions in the ML, you may be missing the ia32-libs package.

    Running 32 bit applications on a 64 bit Linux system is possible.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.