c++ - Compiling Qt 5.3 from sources fails -


i compiling qt 5.3 sources , getting errors, in particular one:

error: ‘qv4::property::property(const qv4::property&)’ private 

my configure options are:

./configure -no-compile-examples -no-opengl -no-openssl -no-fontconfig 

this result of gmake:

make[3]: entering directory `/home/niko/qt-everywhere-opensource-src-5.3.1/qtdeclarative/src/qml' g++ -c -pipe -o2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -wall -w -d_reentrant -fpic -dqt_no_mtdev -dqt_no_libudev -dqt_no_url_cast_from_string -dqt_no_integer_event_coordinates -dqt_build_qml_lib -dqt_building_qt -dqt_no_cast_to_ascii -dqt_ascii_cast_warnings -dqt_moc_compat -dqt_use_qstringbuilder -dqt_deprecated_warnings -dqt_disable_deprecated_before=0x050000 -dwtf_export_private= -djs_export_private= -dwtfreportassertionfailure=qmlwtfreportassertionfailure -dwtfreportbacktrace=qmlwtfreportbacktrace -dwtfinvokecrashhook=qmlwtfinvokecrashhook -denable_llint=0 -denable_dfg_jit=0 -denable_dfg_jit_utility_methods=1 -denable_jit_constant_blinding=0 -dbuilding_qt__ -dwtf_use_udis86=0 -dndebug -dqt_no_exceptions -d_largefile64_source -d_largefile_source -dqt_no_debug -dqt_network_lib -dqt_core_lib -i/home/niko/qt-everywhere-opensource-src-5.3.1/qtbase/mkspecs/linux-g++ -i. -i../../include -i../../include/qtqml -i../../include/qtqml/5.3.1 -i../../include/qtqml/5.3.1/qtqml -icompiler -i. -i../3rdparty/masm/jit -i../3rdparty/masm/assembler -i../3rdparty/masm/runtime -i../3rdparty/masm/wtf -i../3rdparty/masm/stubs -i../3rdparty/masm/stubs/wtf -i../3rdparty/masm -i../3rdparty/masm/disassembler -i../3rdparty/masm/disassembler/udis86 -ijit -i. -ijsruntime -i. -i../3rdparty/double-conversion -idebugger -ianimations -i/home/niko/qt-everywhere-opensource-src-5.3.1/qtbase/include -i/home/niko/qt-everywhere-opensource-src-5.3.1/qtbase/include/qtnetwork -i/home/niko/qt-everywhere-opensource-src-5.3.1/qtbase/include/qtcore/5.3.1 -i/home/niko/qt-everywhere-opensource-src-5.3.1/qtbase/include/qtcore/5.3.1/qtcore -i/home/niko/qt-everywhere-opensource-src-5.3.1/qtbase/include/qtcore -i.moc -o .obj/qqmllistaccessor.o util/qqmllistaccessor.cpp ../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4managed_p.h: in constructor ‘qv4::managedref::managedref(const qv4::scoped<qv4::managed>&)’: ../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4managed_p.h:364: warning: lowering visibility of ‘qv4::value* qv4::extractvaluepointer(const qv4::scoped<t>&) [with t = qv4::managed]’ match type ../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4string_p.h: in function ‘qv4::returnedvalue qv4::value_convert(qv4::executionengine*, const qv4::value&) [with t = qv4::string]’: ../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4string_p.h:189: warning: lowering visibility of ‘qv4::returnedvalue qv4::value_convert(qv4::executionengine*, const qv4::value&) [with t = qv4::string]’ match type ../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4managed_p.h: in constructor ‘qv4::stringref::stringref(const qv4::scoped<qv4::string>&)’:../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4managed_p.h:364: warning: lowering visibility of ‘qv4::value* qv4::extractvaluepointer(const qv4::scoped<t>&) [with t = qv4::string]’ match type ../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4property_p.h: in member function ‘void qv4::object::insertmember(qv4::stringref, qv4::valueref, qv4::propertyattributes)’: ../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4property_p.h:101: error: ‘qv4::property::property(const qv4::property&)’ private ../../include/qtqml/5.3.1/qtqml/private/../../../../../src/qml/jsruntime/qv4object_p.h:171: error: within context make[3]: *** [.obj/qqmllistaccessor.o] error 1 make[3]: leaving directory `/home/niko/qt-everywhere-opensource-src-5.3.1/qtdeclarative/src/qml' make[2]: *** [sub-qml-make_first-ordered] error 2 make[2]: leaving directory `/home/niko/qt-everywhere-opensource-src-5.3.1/qtdeclarative/src' make[1]: *** [sub-src-make_first] error 2 make[1]: leaving directory `/home/niko/qt-everywhere-opensource-src-5.3.1/qtdeclarative' make: *** [module-qtdeclarative-make_first] error 2 -bash-3.2$ 

how fix ? system info is:

$ g++ -v using built-in specs. target: x86_64-redhat-linux configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux thread model: posix gcc version 4.1.2 20080704 (red hat 4.1.2-54) $ rpm -qa|grep relea redhat-release-5server-5.9.0.2 redhat-release-notes-5server-46 $ uname -a linux mapserver03 2.6.18-348.el5 #1 smp wed nov 28 21:22:00 est 2012 x86_64 x86_64 x86_64 gnu/linux $ $ pwd /home/niko/qt-everywhere-opensource-src-5.3.1 $ 

most gcc old. can fix installing newer gcc (say sources, in $home prefix).


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -