Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Linux install failure
Forum Updated to NodeBB v4.3 + New Features

Linux install failure

Scheduled Pinned Locked Moved Installation and Deployment
18 Posts 6 Posters 8.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wgreene
    wrote on last edited by
    #1

    Hi,

    I've been trying for the past couple of days to install Qt 5.3.2 on Debian/wheezy, i386. I've tried both the net
    install and the full download. I've tried installing in the home directory of an ordinary user and as root.
    In all the cases I've tried the install fails mid-way through with an error message about being unable to
    create some particular directory. The directory name given in the error message seems to be completely bogus.

    If the only way to install Qt on this OS is to build from source, that's fine. It would be helpful if someone could
    confirm that so I wouldn't have to waste anymore time with these install files.

    Thanks.

    Bill

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Could you post the error message here.
      What is file name of the installer?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vivelu
        wrote on last edited by
        #3

        I'm not sure if this helps at all, because I don't have Debian, but once I also had problems with installation. I noticed, that I didn't have big enough /tmp directory. My distro uses tmpfs, so it is possible to adjust the size on the fly:

        @
        su
        mount -o remount,size=1G /tmp@

        makes it grow to 1 gig. Previous size was something like 100MB, and it was already full before installation.

        Hope this helps.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          wgreene
          wrote on last edited by
          #4

          I've tried these two install files:

          qt-opensource-linux-x86-1.6.0-5-online.run
          qt-opensource-linux-x86-5.3.2.run

          When I try to install in /home/whg/Qt5.3.2
          I get this error in a dialog box issued by the installer:
          @
          Error during installation process (qt.53.gcc):
          Execution failed(Unexpected exit code: 3): "/home/whg/Qt5.3.2//Tools/QtCreator/bin/sdktool addQt --id qt.53.gcc
          --name Qt 5.3 GCC 32bit --type Qt4ProjectManager.QtVersion.Desktop --qmake /home/whg/Qt5.3.2/5.3/gcc/bin/qmake"
          @
          In the terminal window where I started the install there is this error message:
          @
          Warning: Error: Could not create directory /home/whe/wh.
          @
          Regarding tmp space, I have more than 100 GB available so don't
          think that is the problem.

          I'll appreciate any suggestions on what to try next.

          Bill

          1 Reply Last reply
          0
          • hskoglundH Offline
            hskoglundH Offline
            hskoglund
            wrote on last edited by
            #5

            Hmmm, could you post Qt's installation log, it should be in
            /home/whg/Qt5.3.2/InstallationLog.txt ?

            1 Reply Last reply
            0
            • W Offline
              W Offline
              wgreene
              wrote on last edited by
              #6

              No, unfortunately I couldn't find this file-- or any log-file-- in the
              /home/whg/Qt5.3.2 directory tree. I searched the whole file system and
              couldn't find a file with this name ;-(

              Bill

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi,

                @Warning: Error: Could not create directory /home/whe/wh.@

                Is it a typo ? Your user is whg and there you have whe

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  wgreene
                  wrote on last edited by
                  #8

                  No, that "whe" in the path name is not a typo. I have no idea how
                  the install program created this bogus path name ;-(

                  Bill

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Got any non latin1 char in your path ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • W Offline
                      W Offline
                      wgreene
                      wrote on last edited by
                      #10

                      No.

                      Bill

                      1 Reply Last reply
                      0
                      • hskoglundH Offline
                        hskoglundH Offline
                        hskoglund
                        wrote on last edited by
                        #11

                        Hmm interesting with that failed install, could you check how much QtCreator stuff that was created in /home/whg/Qt5.3.2/Tools/QtCreator/share/qtcreator?
                        For example, is there a QtProjects directory, if yes, could you post the QtCreator.ini file. Also if there is (probably not) a subdirectory under it called qtcreator? If yes, post the qtversion.xml file.

                        1 Reply Last reply
                        0
                        • W Offline
                          W Offline
                          wgreene
                          wrote on last edited by
                          #12

                          At the time of failure, the
                          /home/whg/Qt5.3.2
                          directory contains these entries:
                          @
                          drwxr-xr-x 3 whg whg 4096 Sep 21 08:12 5.3
                          -rw-r--r-- 1 whg whg 2957 Sep 21 08:12 components.xml
                          drwxr-xr-x 3 whg whg 4096 Sep 21 08:12 Examples
                          drwxr-xr-x 3 whg whg 4096 Sep 21 08:11 Docs
                          drwxr-xr-x 3 whg whg 4096 Sep 21 08:10 Tools
                          drwxr-xr-x 2 whg whg 4096 Sep 21 08:10 Licenses
                          -rw-r--r-- 1 whg whg 5442 Sep 12 17:13 README.txt
                          -rw-rw-r-- 1 whg whg 115 Jun 29 2012 qt-project.org.html
                          @
                          The QtCreator.ini file contains these two lines:
                          @
                          [Help]
                          InstalledDocumentation=/home/whg/Qt5.3.2/Docs/Qt-5.3/
                          @
                          That is all there is in the

                          /home/whg/Qt5.3.2/Tools/QtCreator/share/qtcreator/QtProject

                          directory.

                          [andreyc EDIT]: Added @ around code.

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            andreyc
                            wrote on last edited by
                            #13

                            Let make sure that the installers are correct.
                            Could you check if check sums are correct for the files that you have downloaded.

                            Here is info from download page

                            • for "qt-opensource-linux-x86-1.6.0-5-online.run":http://download.qt-project.org/official_releases/online_installers/qt-opensource-linux-x86-1.6.0-5-online.run.mirrorlist
                              @
                              Filename: qt-opensource-linux-x86-1.6.0-5-online.run
                              Size: 23M (23963697 bytes)
                              Last modified: Mon, 15 Sep 2014 07:54:56 GMT (Unix time: 1410767696)
                              SHA-256 Hash: a58df8504b6d81cbbacec61774d26102494cd35c05ef414d6e9e278c13012795
                              SHA-1 Hash: d8a8c6f03a9e98412439a003493f6262b3c09d57
                              MD5 Hash: b971e89d0bacefe551aea77a76d86449
                              @

                            • for "qt-opensource-linux-x86-5.3.2.run":http://download.qt-project.org/official_releases/qt/5.3/5.3.2/qt-opensource-linux-x86-5.3.2.run.mirrorlist
                              @
                              Filename: qt-opensource-linux-x86-5.3.2.run
                              Size: 449M (471115221 bytes)
                              Last modified: Mon, 15 Sep 2014 07:10:04 GMT (Unix time: 1410765004)
                              SHA-256 Hash: 02951c1949a34e80b887675e069392455e389281bfa43a8ec58f9d4f230c8589
                              SHA-1 Hash: cbd78b1fc0f6bce6ac12e8c6f419ed79745ce42f
                              MD5 Hash: cf5846b8ba99a4db3c0e19bdbc525350
                              @

                            1 Reply Last reply
                            0
                            • hskoglundH Offline
                              hskoglundH Offline
                              hskoglund
                              wrote on last edited by
                              #14

                              Good idea about verifying the checksums, also 2 more questions:

                              1. Please post the components.xml file, or if it's too big, just grep Title components.xml and post that.
                              2. The README.txt file should be 5597 bytes big and dated July 1 last year. did you edit it?
                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                debugger99
                                wrote on last edited by
                                #15

                                Hi all!

                                Any news about this subject?
                                I ran in the same using the 5.4.0 installer (UBUNTU, fresh install).
                                This time "exit code" is 1.

                                When seeking for an answer I noticed the message above:
                                "/home/whg/Qt5.3.2//Tools/ [...]"
                                There are two '/' between QT<version> and tool path.
                                Using 5.4.0 the same double "/" occurs.
                                Other bug reports (windows) even shows "/" (backslash-slash).
                                IF this is NOT just a typo in the debug message- maybe something to look after.

                                MK

                                1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  debugger99
                                  wrote on last edited by
                                  #16

                                  Hi all!

                                  Any news about this subject?
                                  I ran in the same using the 5.4.0 installer (UBUNTU, fresh install).
                                  This time "exit code" is 1.

                                  When seeking for an answer I noticed the message above:
                                  "/home/whg/Qt5.3.2//Tools/ [...]"
                                  There are two '/' between QT<version> and tool path.
                                  Using 5.4.0 the same double "/" occurs.
                                  Other bug reports (windows) even shows "/" (backslash-slash).
                                  IF this is NOT just a typo in the debug message- maybe something to look after.

                                  MK

                                  1 Reply Last reply
                                  0
                                  • D Offline
                                    D Offline
                                    debugger99
                                    wrote on last edited by
                                    #17

                                    Hi again,

                                    I solved it.

                                    • Double slash seems to be just a typo...

                                    • A newer gcc/g++ made it work!
                                      Before: 4.4; now 4.8 - updated via apt-get - error gone.
                                      Care has to be taken which newer packet to choose. Some remove half of your system during update process...
                                      see: "http://qt-project.org/forums/viewthread/41145":http://qt-project.org/forums/viewthread/41145

                                    Perhaps the information saves some headache.

                                    MK

                                    1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      debugger99
                                      wrote on last edited by
                                      #18

                                      Hi again,

                                      I solved it.

                                      • Double slash seems to be just a typo...

                                      • A newer gcc/g++ made it work!
                                        Before: 4.4; now 4.8 - updated via apt-get - error gone.
                                        Care has to be taken which newer packet to choose. Some remove half of your system during update process...
                                        see: "http://qt-project.org/forums/viewthread/41145":http://qt-project.org/forums/viewthread/41145

                                      Perhaps the information saves some headache.

                                      MK

                                      1 Reply Last reply
                                      0

                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Search
                                      • Get Qt Extensions
                                      • Unsolved