Linux install failure



  • 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



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



  • 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.



  • 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



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



  • 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


  • Lifetime Qt Champion

    Hi,

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

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



  • 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


  • Lifetime Qt Champion

    Got any non latin1 char in your path ?



  • No.

    Bill



  • 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.



  • 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.



  • 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



  • 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?


  • 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



  • 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



  • Hi again,

    I solved it.

    Perhaps the information saves some headache.

    MK



  • Hi again,

    I solved it.

    Perhaps the information saves some headache.

    MK


Log in to reply
 

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