Configure errors



  • Всем привет. Подскажите, пожалуйста, пытаюсь собрать qt из дистрибутива qt-everywhere-opensource-src-4.8.5, но уже на этапе configure выдаются ошибки.

    Система:
    mac air 2012, macos 10.8.4

    Выполняю:
    @
    ./configure -opensource -exceptions -qt-sql-mysql -qt-sql-sqlite -qt-sql-sqlite2 -platform macx-g++ -nomake examples -nomake demos -v
    @

    Сначала все идет нормально, но потом получаю ошибки:

    @
    Creating qmake. Please wait...
    make: Nothing to be done for `first'.
    floatmath auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/floatmath/floatmath.pro.
    make: *** No targets specified and no makefile found. Stop.
    floatmath disabled.
    mmx auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/mmx/mmx.pro.
    make: *** No targets specified and no makefile found. Stop.
    mmx disabled.
    3dnow auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/3dnow/3dnow.pro.
    make: *** No targets specified and no makefile found. Stop.
    3dnow disabled.
    sse auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/sse/sse.pro.
    make: *** No targets specified and no makefile found. Stop.
    sse disabled.
    sse2 auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/sse2/sse2.pro.
    make: *** No targets specified and no makefile found. Stop.
    sse2 disabled.
    sse3 auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/sse3/sse3.pro.
    make: *** No targets specified and no makefile found. Stop.
    sse3 disabled.
    ssse3 auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/ssse3/ssse3.pro.
    make: *** No targets specified and no makefile found. Stop.
    ssse3 disabled.
    sse4_1 auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/sse4_1/sse4_1.pro.
    make: *** No targets specified and no makefile found. Stop.
    sse4_1 disabled.
    sse4_2 auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/sse4_2/sse4_2.pro.
    make: *** No targets specified and no makefile found. Stop.
    sse4_2 disabled.
    avx auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/avx/avx.pro.
    make: *** No targets specified and no makefile found. Stop.
    avx disabled.
    ipc_sysv auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/ipc_sysv/ipc_sysv.pro.
    make: *** No targets specified and no makefile found. Stop.
    ipc_sysv disabled.
    ipc_posix auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/ipc_posix/ipc_posix.pro.
    make: *** No targets specified and no makefile found. Stop.
    ipc_posix disabled.
    zlib auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/zlib/zlib.pro.
    make: *** No targets specified and no makefile found. Stop.
    zlib disabled.
    libjpeg auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/libjpeg/libjpeg.pro.
    make: *** No targets specified and no makefile found. Stop.
    libjpeg disabled.
    libtiff auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/libtiff/libtiff.pro.
    make: *** No targets specified and no makefile found. Stop.
    libtiff disabled.
    libmng auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/libmng/libmng.pro.
    make: *** No targets specified and no makefile found. Stop.
    libmng disabled.
    libpng auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/libpng/libpng.pro.
    make: *** No targets specified and no makefile found. Stop.
    libpng disabled.
    DB2 auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/db2/db2.pro.
    make: *** No targets specified and no makefile found. Stop.
    DB2 disabled.
    InterBase auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/ibase/ibase.pro.
    make: *** No targets specified and no makefile found. Stop.
    InterBase disabled.
    MySQL (thread-safe) auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/mysql_r/mysql_r.pro.
    make: *** No targets specified and no makefile found. Stop.
    MySQL (thread-safe) disabled.
    MySQL (thread-unsafe) auto-detection... ()
    Cannot find file: /Users/alex/Documents/Проекты/qt/qt-everywhere-opensource-src-4.8.5/config.tests/unix/mysql/mysql.pro.
    make: *** No targets specified and no makefile found. Stop.
    MySQL (thread-unsafe) disabled.
    MySQL support cannot be enabled due to functionality tests!
    Turn on verbose messaging (-v) to ./configure to see the final report.
    If you believe this message is in error you may use the continue
    switch (-continue) to ./configure to continue.
    @

    Хотя сами ненайденные файлы .pro имеются



  • Все с конфигурацией разобрался:

    • пришлось установить вручную все граф. библиотеки (libpng, libmng, libjpeg, libtiff). Как вариант можно использовать qt-шные соотв. ключами
    • явно указать, что компилировать db2 и ibase не нужно
    • для mysql необходимо добавить правильные пути к h-файлам (/usr/local/mysql/include) и сделать ссылки на библиотеки из /usr/local/mysql/lib в /usr/lib

    Окончательная команда:
    [code]
    ./configure -opensource -exceptions -qt-sql-mysql -no-sql-db2 -no-sql-ibase -qt-libmng -platform macx-g++ -nomake examples -nomake demos -v
    [/code]


Log in to reply
 

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