Qt 5.0.2 source compile -> configure fails



  • I tried to compile qt-everywhere-opensource-src-5.0.2 on Win7 64 Bit.

    @configure -release -opensource -platform win32-msvc2010 -static -opengl desktop -nomake examples -nomake demos -no-openssl@

    I get this error message:
    @
    D:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\src\corelib\kernel\qsystemerror.
    cpp(131) : warning C4996: 'strerror': This function or variable may be unsafe. C
    onsider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WAR
    NINGS. See online help for details.
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(
    157): Siehe Deklaration von 'strerror'
    qmetatype.cpp
    cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -W3 -nologo
    -O1 /MP -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\qmake -ID:\Qt\qt-eve
    rywhere-opensource-src-5.0.2\qtbase\qmake\library -ID:\Qt\qt-everywhere-opensour
    ce-src-5.0.2\qtbase\qmake\generators -ID:\Qt\qt-everywhere-opensource-src-5.0.2
    qtbase\qmake\generators\unix -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\q
    make\generators\win32 -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\qmake\ge
    nerators\mac -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\qmake\generators
    integrity -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\include -ID:\Qt\qt-
    everywhere-opensource-src-5.0.2\qtbase\include\QtCore -ID:\Qt\qt-everywhere-open
    source-src-5.0.2\qtbase\include\QtCore\5.0.2 -ID:\Qt\qt-everywhere-opensource-sr
    c-5.0.2\qtbase\include\QtCore\5.0.2\QtCore -ID:\Qt\qt-everywhere-opensource-src
    -5.0.2\qtbase\src\corelib\global -DHAVE_QCONFIG_CPP -ID:\Qt\qt-everywhere-opens
    ource-src-5.0.2\qtbase\mkspecs\win32-msvc2010 -ID:\Qt\qt-everywhere-opensource
    -src-5.0.2\qtbase\tools\shared -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATO
    R_FULL -DPROEVALUATOR_DEBUG -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COM
    PONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQ
    T_NO_DATASTREAM -DUNICODE -DQMAKE_OPENSOURCE_EDITION D:\Qt\qt-everywhere-opens
    ource-src-5.0.2\qtbase\src\corelib\xml\qxmlstream.cpp D:\Qt\qt-everywhere-openso
    urce-src-5.0.2\qtbase\src\corelib\xml\qxmlutils.cpp
    qxmlstream.cpp
    qxmlutils.cpp
    link -OUT:qmake.exe project.obj main.obj ioutils.obj proitems.obj qmak
    eglobals.obj qmakeparser.obj qmakeevaluator.obj qmakebuiltins.obj makefile.obj
    unixmake.obj unixmake2.obj mingw_make.obj option.obj winmakefile.obj projectgen
    erator.obj property.obj meta.obj makefiledeps.obj metamakefile.obj xmloutput.ob
    j pbuilder_pbx.obj msvc_nmake.obj msvc_vcproj.obj msvc_vcxproj.obj msvc_object
    model.obj msbuild_objectmodel.obj registry.obj gbuild.obj cesdkhandler.obj qbit
    array.obj qbuffer.obj qcryptographichash.obj qfilesystementry.obj qfilesyste
    mengine.obj qfilesystemengine_win.obj qfilesystemiterator_win.obj qfsfileengi
    ne.obj qfsfileengine_iterator.obj qarraydata.obj qbytearray.obj qvsnprintf.o
    bj qbytearraymatcher.obj qdatetime.obj qdir.obj qdiriterator.obj qfiledevic
    e.obj qfile.obj qtemporaryfile.obj qabstractfileengine.obj qfsfileengine_win
    .obj qsystemlibrary.obj qfileinfo.obj qglobal.obj qhash.obj qiodevice.obj
    qlist.obj qlinkedlist.obj qlocale.obj qlocale_tools.obj qlocale_win.obj qma
    lloc.obj qmap.obj qregexp.obj qtextcodec.obj qutfcodec.obj qstring.obj qst
    ringlist.obj qstringbuilder.obj qsystemerror.obj qtextstream.obj qdatastream
    .obj quuid.obj qvector.obj qsettings.obj qlibraryinfo.obj qvariant.obj qse
    ttings_win.obj qmetatype.obj qxmlstream.obj qxmlutils.obj qnumeric.obj qlog
    ging.obj ole32.lib advapi32.lib qmake_pch.obj
    Microsoft (R) Incremental Linker Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. All rights reserved.

        copy qmake.exe D:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\bin\qmake
    

    .exe
    1 Datei(en) kopiert.
    Running configuration tests...
    NMAKE : fatal error U1077: "if": Rückgabe-Code "0x463"
    Stop.
    Could not find output file: No such file or directory
    *** qtbase/configure exited with non-zero status.

    d:\Qt\qt-everywhere-opensource-src-5.0.2>@

    Where is the problem?



  • push



  • can you run configure again with "-v" ?



  • Adding a -v seams not to work. This is first part of the huge output appears:

    @
    d:\Qt\qt-everywhere-opensource-src-5.0.2>configure -v -release -platform win32-msvc2010 -static -opengl desktop -nomake examples -nomake demos -no-openssl >> Output.txt

    • d:/Qt/qt-everywhere-opensource-src-5.0.2/qtbase/configure -release -platform win32-msvc2010 -static -opengl desktop -nomake examples -nomake demos -no-rtti -no-openssl
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      Which edition of Qt do you want to use ?
      Batchvorgang abbrechen (J/N)? Batchvorgang abbrechen (J/N)?
    • d:/Qt/qt-everywhere-opensource-src-5.0.2/qtbase/configure -v -release -opensource -platform win32-msvc2010 -static -opengl desktop -nomake examples -nomake demos -no-openssl
      Unknown option -v
      Usage: configure [options]

    Installation options:
    ...
    ...
    ...
    *** qtbase/configure exited with non-zero status.
    @



  • the -v option was meant to see the full error output, but it's only available on Unix platforms. Sorry about that.

    could you please try:

    @configure -opensource -confirm-license -release -platform win32-msvc2010 -static -opengl desktop -nomake examples -nomake demos -no-openssl @



  • I've tried this but the output seams to be the same (as far as I can see) as in my first post:

    @D:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\src\corelib\kernel\qsystemerror.
    cpp(131) : warning C4996: 'strerror': This function or variable may be unsafe. C
    onsider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WAR
    NINGS. See online help for details.
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(
    157): Siehe Deklaration von 'strerror'
    qmetatype.cpp
    cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -W3 -nologo
    -O1 /MP -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\qmake -ID:\Qt\qt-eve
    rywhere-opensource-src-5.0.2\qtbase\qmake\library -ID:\Qt\qt-everywhere-opensour
    ce-src-5.0.2\qtbase\qmake\generators -ID:\Qt\qt-everywhere-opensource-src-5.0.2
    qtbase\qmake\generators\unix -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\q
    make\generators\win32 -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\qmake\ge
    nerators\mac -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\qmake\generators
    integrity -ID:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\include -ID:\Qt\qt-
    everywhere-opensource-src-5.0.2\qtbase\include\QtCore -ID:\Qt\qt-everywhere-open
    source-src-5.0.2\qtbase\include\QtCore\5.0.2 -ID:\Qt\qt-everywhere-opensource-sr
    c-5.0.2\qtbase\include\QtCore\5.0.2\QtCore -ID:\Qt\qt-everywhere-opensource-src
    -5.0.2\qtbase\src\corelib\global -DHAVE_QCONFIG_CPP -ID:\Qt\qt-everywhere-opens
    ource-src-5.0.2\qtbase\mkspecs\win32-msvc2010 -ID:\Qt\qt-everywhere-opensource
    -src-5.0.2\qtbase\tools\shared -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATO
    R_FULL -DPROEVALUATOR_DEBUG -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COM
    PONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQ
    T_NO_DATASTREAM -DUNICODE -DQMAKE_OPENSOURCE_EDITION D:\Qt\qt-everywhere-opens
    ource-src-5.0.2\qtbase\src\corelib\xml\qxmlstream.cpp D:\Qt\qt-everywhere-openso
    urce-src-5.0.2\qtbase\src\corelib\xml\qxmlutils.cpp
    qxmlstream.cpp
    qxmlutils.cpp
    link -OUT:qmake.exe project.obj main.obj ioutils.obj proitems.obj qmak
    eglobals.obj qmakeparser.obj qmakeevaluator.obj qmakebuiltins.obj makefile.obj
    unixmake.obj unixmake2.obj mingw_make.obj option.obj winmakefile.obj projectgen
    erator.obj property.obj meta.obj makefiledeps.obj metamakefile.obj xmloutput.ob
    j pbuilder_pbx.obj msvc_nmake.obj msvc_vcproj.obj msvc_vcxproj.obj msvc_object
    model.obj msbuild_objectmodel.obj registry.obj gbuild.obj cesdkhandler.obj qbit
    array.obj qbuffer.obj qcryptographichash.obj qfilesystementry.obj qfilesyste
    mengine.obj qfilesystemengine_win.obj qfilesystemiterator_win.obj qfsfileengi
    ne.obj qfsfileengine_iterator.obj qarraydata.obj qbytearray.obj qvsnprintf.o
    bj qbytearraymatcher.obj qdatetime.obj qdir.obj qdiriterator.obj qfiledevic
    e.obj qfile.obj qtemporaryfile.obj qabstractfileengine.obj qfsfileengine_win
    .obj qsystemlibrary.obj qfileinfo.obj qglobal.obj qhash.obj qiodevice.obj
    qlist.obj qlinkedlist.obj qlocale.obj qlocale_tools.obj qlocale_win.obj qma
    lloc.obj qmap.obj qregexp.obj qtextcodec.obj qutfcodec.obj qstring.obj qst
    ringlist.obj qstringbuilder.obj qsystemerror.obj qtextstream.obj qdatastream
    .obj quuid.obj qvector.obj qsettings.obj qlibraryinfo.obj qvariant.obj qse
    ttings_win.obj qmetatype.obj qxmlstream.obj qxmlutils.obj qnumeric.obj qlog
    ging.obj ole32.lib advapi32.lib qmake_pch.obj
    Microsoft (R) Incremental Linker Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. All rights reserved.

        copy qmake.exe D:\Qt\qt-everywhere-opensource-src-5.0.2\qtbase\bin\qmake
    

    .exe
    1 Datei(en) kopiert.
    Running configuration tests...
    NMAKE : fatal error U1077: "if": Rückgabe-Code "0x463"
    Stop.
    Could not find output file: No such file or directory
    *** qtbase/configure exited with non-zero status.

    d:\Qt\qt-everywhere-opensource-src-5.0.2>@


Log in to reply
 

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