Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-81841

При установке qt 4.8.5 возникла ошибка

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 4.8.x
    • Fix Version/s: None
    • Component/s: Build tools: Other
    • Labels:
      None
    • Environment:
      i use linux crunchbangplusplus 10 and computer amd64 3000mhz with 1.7 gb ram
    • Platform/s:
      Linux/X11

      Description

      I run command "sudo make" and get error:

       

      make[1]: вход в каталог «/alf/qt-everywhere-opensource-src-4.8.5/src/script»
      g++ -c -pipe -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -fPIC -DQT_SHARED -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_NO_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I../3rdparty/javascriptcore/JavaScriptCore/wtf/symbian -I../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode -I../3rdparty/javascriptcore/JavaScriptCore/yarr -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders -I../3rdparty/javascriptcore/JavaScriptCore/generated -I../../include/QtScript -I.rcc/release-shared -I/alf/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/WebKit/qt/Api -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I/alf/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/tmp -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I/alf/qt-everywhere-opensource-src-4.8.5/src/script/../3rdparty/javascriptcore/JavaScriptCore/unicode -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/generated -I. -Iparser -I.moc/release-shared -o obj/release/pcre_exec.o ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp
      In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastAllocBase.h:84,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:24,
                       from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
      ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:69: error: 'std::tr1' has not been declared
           template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
                                                                           ^~~
      ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:74: error: expected '{' before 'has_trivial_constructor'
           template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~
      ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:68: error: 'std::tr1' has not been declared
           template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
                                                                          ^~~
      ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:73: error: expected '{' before 'has_trivial_destructor'
           template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
                                                                               ^~~~~~~~~~~~~~~~~~~~~~
      In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
                       from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
      ../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:43:21: warning: 'template<class&gt; class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
               OwnPtr(std::auto_ptr<ValueType> autoPtr) : m_ptr(autoPtr.release()) { }
                           ^~~~~~~~
      In file included from /usr/include/c++/8/memory:80,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:29,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
                       from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
      /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
         template<typename> class auto_ptr;
                                  ^~~~~~~~
      In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
                       from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
      ../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:61:25: warning: 'template<class&gt; class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
               void adopt(std::auto_ptr<ValueType> autoPtr) { ASSERT(!autoPtr.get() || m_ptr != autoPtr.get()); deleteOwnedPtr(m_ptr); m_ptr = autoPtr.release(); }
                               ^~~~~~~~
      In file included from /usr/include/c++/8/memory:80,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:29,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
                       from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
      /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
         template<typename> class auto_ptr;
                                  ^~~~~~~~
      In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
                       from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
      ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:84:30: warning: 'template<class&gt; class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
           struct VectorTraits<std::auto_ptr<P> > : SimpleClassVectorTraits { };
                                    ^~~~~~~~
      In file included from /usr/include/c++/8/memory:80,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/OwnPtr.h:29,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:24,
                       from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
                       from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
      /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
         template<typename> class auto_ptr;
                                  ^~~~~~~~
      make[1]: *** [Makefile:1610: obj/release/pcre_exec.o] Ошибка 1
      make[1]: выход из каталога «/alf/qt-everywhere-opensource-src-4.8.5/src/script»
      make: *** [Makefile:602: sub-script-make_default-ordered] Ошибка 2
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            alf Alfred Plohoy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes