Results 1 to 7 of 7

Thread: 4.1.4 built from source, qmake fails with Hello World

  1. #1
    Join Date
    Jun 2006
    Posts
    43
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 4.1.4 built from source, qmake fails with Hello World

    I installed 4.1.4, compiling from source, in order to get MySQL support built in. 4.1.3 had a bug that had a compile error in the MySQL code. Now qmake is erroring with:
    Error processing meta file: /usr/local/qt-4.1.4/lib/libQtGui
    Error processing meta file: /usr/local/qt-4.1.4/lib/libQtCore

    To simplify things I tried a Hello World program...
    http://www.qtnode.net/wiki/Hello_World
    ...with the same results.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 4.1.4 built from source, qmake fails with Hello World

    Do you have those files mentioned by qmake? Do they look "ok"?

  3. #3
    Join Date
    Jun 2006
    Posts
    43
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: 4.1.4 built from source, qmake fails with Hello World

    $ ls -ld /usr/local/qt-4.1.4/lib/libQt@(Gui|Core)*
    -rw------- 1 root staff 718 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore.la
    -rw------- 1 root staff 780 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore.prl
    lrwxr-xr-x 1 root staff 18 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore.so -> libQtCore.so.4.1.4
    lrwxr-xr-x 1 root staff 18 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore.so.4 -> libQtCore.so.4.1.4
    lrwxr-xr-x 1 root staff 18 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore.so.4.1 -> libQtCore.so.4.1.4
    -rwxr-xr-x 1 root staff 1877316 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore.so.4.1.4
    -rw------- 1 root staff 760 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore_debug.la
    -rw------- 1 root staff 778 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore_debug.prl
    lrwxr-xr-x 1 root staff 24 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore_debug.so -> libQtCore_debug.so.4.1.4
    lrwxr-xr-x 1 root staff 24 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore_debug.so.4 -> libQtCore_debug.so.4.1.4
    lrwxr-xr-x 1 root staff 24 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore_debug.so.4.1 -> libQtCore_debug.so.4.1.4
    -rwxr-xr-x 1 root staff 15103370 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtCore_debug.so.4.1.4
    -rw------- 1 root staff 879 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui.la
    -rw------- 1 root staff 976 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui.prl
    lrwxr-xr-x 1 root staff 17 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui.so -> libQtGui.so.4.1.4
    lrwxr-xr-x 1 root staff 17 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui.so.4 -> libQtGui.so.4.1.4
    lrwxr-xr-x 1 root staff 17 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui.so.4.1 -> libQtGui.so.4.1.4
    -rwxr-xr-x 1 root staff 5497500 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui.so.4.1.4
    -rw------- 1 root staff 927 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtGui_debug.la
    -rw------- 1 root staff 980 Jun 26 16:13 /usr/local/qt-4.1.4/lib/libQtGui_debug.prl
    lrwxr-xr-x 1 root staff 23 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui_debug.so -> libQtGui_debug.so.4.1.4
    lrwxr-xr-x 1 root staff 23 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui_debug.so.4 -> libQtGui_debug.so.4.1.4
    lrwxr-xr-x 1 root staff 23 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui_debug.so.4.1 -> libQtGui_debug.so.4.1.4
    -rwxr-xr-x 1 root staff 68704869 Jun 26 16:14 /usr/local/qt-4.1.4/lib/libQtGui_debug.so.4.1.4


    No such file exists, but there are .so and .la files.
    My 4.1.3 build doesn't have them without extensions either.

  4. #4
    Join Date
    Jun 2006
    Posts
    43
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: 4.1.4 built from source, qmake fails with Hello World

    This error msg appears in... qmake/generators/makefile.cpp

    It appears the code is calculating a QString called real_meta_file and, correctly, fails to find it.
    A diff between this file and the same file from 4.1.3 shows a change in the comments only. Something else has changed.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 4.1.4 built from source, qmake fails with Hello World

    Did Qt compile fine? Have the examples been built? What exactly did you do before you got that error?

  6. #6
    Join Date
    Jun 2006
    Posts
    43
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: 4.1.4 built from source, qmake fails with Hello World

    QT compiled fine, I have a text file with the entire configure, make, and make install output logged. The examples were built with no problem.

    I noticed that a lot of the libraries have no read permissions, so I manually changed them, and qmake works! But... wait... I did all this with root and umask of 0022... that should not affect read permissions.

    Digging further, last night I did an entire build with umask 0000. Same problem, many libs missing read permissions.

    Something is wrong with make install permission assignments in 4.1.4 that was not a problem in 4.1.3. What is the bug reporting process?

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 4.1.4 built from source, qmake fails with Hello World

    Quote Originally Posted by Mookie
    What is the bug reporting process?
    Visit http://www.trolltech.com/developer/task-tracker

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.