LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2017, 03:31 PM   #1
Unaaaaab
Member
 
Registered: Jan 2017
Posts: 32

Rep: Reputation: Disabled
Change in gcc behaviour with c++ Technical Report 1 headers! In qt 4.8.7 source!


Hello to all, i am new please help me to install qt to my linux (don't consider that i use slackware distribution: i want a total generical approach!!! and i not want packages or binaries ready to use!). I know basis of programmation and want to install with gcc 6.3 the software qt 4.8.7 from sources, but i've induvidued the problem that forbid me all. When i specify in CPATH the path of tr1 that override the originals then the same forbid to the tr1 header to include another standard header! This could be a common problem for what it is on the basis of changed behaviour of gcc in syntax required for the tr1 c++, the solve this and help others with problem with much other software! Here is my problem when i command the make of program qt but i have cutted a lot of lines for limit of website; here i have problem since the preliminar creation of qmake; if i not set CPATH i instead obtain over a lot of time compile that is not defined c++ namespace std::tr1 (obvoiusly because the sources refer to tr1 headers without the /tr1/ name of directory!!!!):


I love treason but hate a traitor.
-- Gaius Julius Caesar

utente@AB:~$ cd Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7
utente@AB:~/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7$ export
QT4PREFIX=/opt/qt4utente@AB:~/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7$
export
CPATH="/usr/local/include/c++/6.3.0/tr1/"utente@AB:~/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7$
./configure -prefix $QT4PREFIX -sysconfdir /etc/xdg -confirm-license
-opensource -release -dbus-linked -openssl-linked -system-sqlite
-no-phonon -no-phonon-backend -no-webkit -no-openvg -nomake demos -nomake
examples -optimized-qmake

This is the Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

You have already accepted the terms of the license.

Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -O2 -g -I.
-Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac
-Igenerators/symbian -Igenerators/integrity
-I/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include
-I/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore
-I/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/src/corelib/global
-I/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/src/corelib/xml
-I/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/tools/shared
-DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
-DQT_NO_COMPRESS
-I/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/mkspecs/linux-g++
-DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
-DQT_NO_DEPRECATED project.cpp
In file included from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qbytearray.h:1:0,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstring.h:46,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstring.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/io/qiodevice.h:51,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qiodevice.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/io/qdatastream.h:46,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qdatastream.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstringlist.h:46,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qbytearray.h:110:68:
error: 'va_list' has not been declared
Q_CORE_EXPORT int qvsnprintf(char *str, size_t n, const char *fmt,
va_list ap);

^~~~~~~
In file included from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstring.h:1:0,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/io/qiodevice.h:51,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qiodevice.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/io/qdatastream.h:46,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qdatastream.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstringlist.h:46,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstring.h:174:46:
error: 'va_list' has not been declared
QString &vsprintf(const char *format, va_list ap)
^~~~~~~
In file included from
/usr/local/include/c++/6.3.0/bits/nested_exception.h:40:0,
from /usr/local/include/c++/6.3.0/exception:171,
from /usr/local/include/c++/6.3.0/new:40,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qiterator.h:50,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qiterator.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qlist.h:45,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qlist.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/usr/local/include/c++/6.3.0/bits/move.h:76:27: error: 'remove_reference'
in namespace 'std' does not name a template type
forward(typename std::remove_reference<_Tp>::type& __t) noexcept
^~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/move.h:76:43: error: expected ',' or
'...' before '<' token
forward(typename std::remove_reference<_Tp>::type& __t) noexcept
^
/usr/local/include/c++/6.3.0/bits/move.h: In function 'constexpr _Tp&&
std::forward(int)':
/usr/local/include/c++/6.3.0/bits/move.h:77:33: error: '__t' was not
declared in this scope
{ return static_cast<_Tp&&>(__t); }
^~~
/usr/local/include/c++/6.3.0/bits/move.h: At global scope:
/usr/local/include/c++/6.3.0/bits/move.h:87:27: error: 'remove_reference'
in namespace 'std' does not name a template type
forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
^~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/move.h:87:43: error: expected ',' or
'...' before '<' token
forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
^
/usr/local/include/c++/6.3.0/bits/move.h:87:5: error: redefinition of
'template<class _Tp> constexpr _Tp&& std::forward(int)'
forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
^~~~~~~
/usr/local/include/c++/6.3.0/bits/move.h:76:5: note: 'template<class _Tp>
constexpr _Tp&& std::forward(int)' previously declared here
forward(typename std::remove_reference<_Tp>::type& __t) noexcept
^~~~~~~
/usr/local/include/c++/6.3.0/bits/move.h:100:29: error: 'remove_reference'
in namespace 'std' does not name a template type
constexpr typename std::remove_reference<_Tp>::type&&
^~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/move.h:100:45: error: expected
unqualified-id before '<' token
constexpr typename std::remove_reference<_Tp>::type&&
^
/usr/local/include/c++/6.3.0/bits/move.h:107:20: error: expected
template-name before '<' token
: public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
^
/usr/local/include/c++/6.3.0/bits/move.h:107:20: error: expected '{'
before '<' token
/usr/local/include/c++/6.3.0/bits/move.h:120:5: error: expected
nested-name-specifier before 'conditional'
conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&,
_Tp&&>::type
^~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/move.h:120:16: error: expected
initializer before '<' token
conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&,
_Tp&&>::type
^
/usr/local/include/c++/6.3.0/bits/move.h: In function '_Tp
std::__exchange(_Tp&, _Up&&)':
/usr/local/include/c++/6.3.0/bits/move.h:143:23: error: 'move' is not a
member of 'std'
_Tp __old_val = std::move(__obj);
^~~
/usr/local/include/c++/6.3.0/bits/move.h: At global scope:
/usr/local/include/c++/6.3.0/bits/move.h:177:14: error: expected
nested-name-specifier before 'enable_if'
typename enable_if<__and_<is_move_constructible<_Tp>,
^~~~~~~~~
/usr/local/include/c++/6.3.0/bits/move.h:177:23: error: expected
initializer before '<' token
typename enable_if<__and_<is_move_constructible<_Tp>,
^
/usr/local/include/c++/6.3.0/bits/move.h:201:14: error: expected
nested-name-specifier before 'enable_if'
typename enable_if<__is_swappable<_Tp>::value>::type
^~~~~~~~~
/usr/local/include/c++/6.3.0/bits/move.h:201:23: error: expected
initializer before '<' token
typename enable_if<__is_swappable<_Tp>::value>::type
^
In file included from /usr/local/include/c++/6.3.0/exception:171:0,
from /usr/local/include/c++/6.3.0/new:40,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qiterator.h:50,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qiterator.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qlist.h:45,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qlist.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/usr/local/include/c++/6.3.0/bits/nested_exception.h:100:41: error:
'true_type' has not been declared
__throw_with_nested_impl(_Tp&& __t, true_type)
^~~~~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h: In function 'void
std::__throw_with_nested_impl(_Tp&&, int)':
/usr/local/include/c++/6.3.0/bits/nested_exception.h:102:28: error:
expected nested-name-specifier before 'remove_reference'
using _Up = typename remove_reference<_Tp>::type;
^~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:103:31: error: '_Up'
was not declared in this scope
throw _Nested_exception<_Up>{std::forward<_Tp>(__t)};
^~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:103:34: error:
template argument 1 is invalid
throw _Nested_exception<_Up>{std::forward<_Tp>(__t)};
^
/usr/local/include/c++/6.3.0/bits/nested_exception.h: At global scope:
/usr/local/include/c++/6.3.0/bits/nested_exception.h:108:41: error:
'false_type' has not been declared
__throw_with_nested_impl(_Tp&& __t, false_type)
^~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:108:5: error:
redefinition of 'template<class _Tp> void
std::__throw_with_nested_impl(_Tp&&, int)'
__throw_with_nested_impl(_Tp&& __t, false_type)
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:100:5: note:
'template<class _Tp> void std::__throw_with_nested_impl(_Tp&&, int)'
previously declared here
__throw_with_nested_impl(_Tp&& __t, true_type)
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h: In function 'void
std::throw_with_nested(_Tp&&)':
/usr/local/include/c++/6.3.0/bits/nested_exception.h:118:28: error:
expected nested-name-specifier before 'remove_reference'
using _Up = typename remove_reference<_Tp>::type;
^~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:120:4: error:
'__and_' does not name a type
= __and_<is_copy_constructible<_Up>, is_move_constructible<_Up>>;
^~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:121:21: error:
'_CopyConstructible' has not been declared
static_assert(_CopyConstructible::value,
^~~~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:123:22: error:
'__and_' does not name a type
using __nest = __and_<is_class<_Up>,
__bool_constant<!__is_final(_Up)>,
^~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:125:61: error:
'__nest' was not declared in this scope
std::__throw_with_nested_impl(std::forward<_Tp>(__t), __nest{});
^~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h: At global scope:
/usr/local/include/c++/6.3.0/bits/nested_exception.h:130:47: error:
expected nested-name-specifier before 'enable_if'
using __rethrow_if_nested_cond = typename enable_if<
^~~~~~~~~
/usr/local/include/c++/6.3.0/bits/nested_exception.h:138:12: error:
'__rethrow_if_nested_cond' does not name a type
inline __rethrow_if_nested_cond<_Ex>
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/c++/6.3.0/iterator:61:0,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qlist.h:54,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qlist.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/usr/local/include/c++/6.3.0/bits/stl_iterator_base_types.h:143:43: error:
'__void_t' does not name a type
template<typename _Iterator, typename = __void_t<>>
^~~~~~~~
/usr/local/include/c++/6.3.0/bits/stl_iterator_base_types.h:143:51: error:
expected '>' before '<' token
template<typename _Iterator, typename = __void_t<>>
^
/usr/local/include/c++/6.3.0/bits/stl_iterator_base_types.h:148:9: error:
'__void_t' was not declared in this scope
__void_t<typename _Iterator::iterator_category,
^~~~~~~~
/usr/local/include/c++/6.3.0/bits/stl_iterator_base_types.h:152:31: error:
wrong number of template arguments (6, should be at least 1)
typename _Iterator::reference>>
^~~~~~~~~
/usr/local/include/c++/6.3.0/bits/stl_iterator_base_types.h:144:12: note:
provided for 'template<class _Iterator, class> struct
std::__iterator_traits'
struct __iterator_traits { };
^~~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/stl_iterator_base_types.h:152:40: error:
expected unqualified-id before '>' token
typename _Iterator::reference>>
^~
/usr/local/include/c++/6.3.0/bits/stl_iterator_base_types.h:163:41: error:
template argument 2 is invalid
: public __iterator_traits<_Iterator> { };
^
/usr/local/include/c++/6.3.0/bits/stl_iterator_base_types.h:232:7: error:
expected nested-name-specifier before 'enable_if'
enable_if<is_convertible<typename
^~~~~~~~~
In file included from
/usr/local/include/c++/6.3.0/bits/stl_iterator.h:66:0,
from /usr/local/include/c++/6.3.0/iterator:63,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qlist.h:54,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qlist.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:71:18: error: expected
nested-name-specifier before 'conditional'
= typename conditional<is_void<_Tp>::value, __undefined,
_Tp>::type;
^~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:96:4: error:
'__detected_or_t_' does not name a type
= __detected_or_t_<__get_first_arg_t, __element_type, _Ptr>;
^~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:100:4: error:
'__detected_or_t' does not name a type
= __detected_or_t<ptrdiff_t, __difference_type, _Ptr>;
^~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:105:6: error:
'__detected_or_t_' does not name a type
= __detected_or_t_<__replace_first_arg_t, __rebind, _Ptr, _Up>;
^~~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:108:18: error:
'__make_not_void' has not been declared
pointer_to(__make_not_void<element_type>& __e)
^~~~~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:108:33: error: expected ','
or '...' before '<' token
pointer_to(__make_not_void<element_type>& __e)
^
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:111:22: error: 'is_same'
was not declared in this scope
static_assert(!is_same<element_type, __undefined>::value,
^~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:111:22: note: suggested
alternative:
In file included from /usr/local/include/c++/6.3.0/bits/move.h:57:0,
from
/usr/local/include/c++/6.3.0/bits/nested_exception.h:40,
from /usr/local/include/c++/6.3.0/exception:171,
from /usr/local/include/c++/6.3.0/new:40,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qiterator.h:50,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qiterator.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qlist.h:45,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qlist.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/usr/local/include/c++/6.3.0/tr1/type_traits:389:12: note:
'std::tr1::is_same'
struct is_same
^~~~~~~
In file included from
/usr/local/include/c++/6.3.0/bits/stl_iterator.h:66:0,
from /usr/local/include/c++/6.3.0/iterator:63,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qlist.h:54,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qlist.h:1,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
from
/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:111:30: error:
'element_type' was not declared in this scope
static_assert(!is_same<element_type, __undefined>::value,
^~~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:111:44: error: expected
string-literal before '__undefined'
static_assert(!is_same<element_type, __undefined>::value,
^~~~~~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:111:44: error: expected ')'
before '__undefined'
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:113:22: error: 'is_same'
was not declared in this scope
static_assert(!is_same<rebind<element_type>, __undefined>::value,
^~~~~~~
/usr/local/include/c++/6.3.0/bits/ptr_traits.h:113:22: note: suggested
alternative:
{{{here i have cut a lot lines for not exceed limit of this website!}}}


Makefile:257: recipe for target 'project.o' failed
gmake: *** [project.o] Error 1
 
Old 01-30-2017, 05:59 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,521

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
Quote:
i want a total generical approach
many ways

yum install qt4
apt-get in qt4
zypper in qt4

there are 3 right there


Quote:
I know basis of programmation and want to install with gcc 6.3
WHY!!! the testing 6.3 ??? most software will NOT YET build with it
and the OLD qt4 WILL NOT

use gcc 4.8 or 4.3 and build qt4 -- if you really NEED the OLD version of QT
 
Old 02-02-2017, 07:34 AM   #3
Unaaaaab
Member
 
Registered: Jan 2017
Posts: 32

Original Poster
Rep: Reputation: Disabled
But excuse me ... i can't use an updated version of gcc? what is the latest stable? i want the best at all. Is the last unsafe? i never see it on the official website! Let me know. It is only an header error: with a trick i can solve!

I also need qt 4 for installing stable version of kde. The modern kde on qt5 give me error in source compilation. why?
 
Old 02-02-2017, 11:19 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,521

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
Quote:
i can't use an updated version of gcc? what is the latest stable?
?????????????

what??????????????

4.8 is NOT!!!!!!!! a updated version

qt4 is aging and a bit old

use a older and STABLE!!!!!! version of gcc like the CURRENT!!!! stable

gcc 4.8 !

the current kde plasma desktop uses qt5

Last edited by John VV; 02-02-2017 at 11:20 AM.
 
Old 02-04-2017, 04:06 AM   #5
Unaaaaab
Member
 
Registered: Jan 2017
Posts: 32

Original Poster
Rep: Reputation: Disabled
Excuse but you writed without english syntax. i not undrestood, excuse me!
Then: i want an updated compiler for all software downloaded and for learning seriously programming c++ (using also the kde integrated development tool), i want solve this my problem of headers inclusions that is not proper compiling errors (that could be very common for me and for everyone in compiling downloaded application sources with erroneous inclusions directives).

And also: i want to know if is true that kde4 with bugfixes (incompatible with qt5!) is the one version stable and safe and sure; i also tryied to compile the unstable kde5 with qt5 but i got an error for compiling a source with c++ style comment in C source with pedantic option on the standard of language (this error affected variouses modules as kservice), removing that comment owhewer did'nt work !


What is safe and what not?


I visited websites of producers of qt and kde and gcc and i got theese information: stable version of gcc is the latest 6.3; and for kde stable version is the one kde4 with bugfixes and qt4. Kde5 with qt5 is unsafe. Also in the standard gived samples of the download tool kdesrc is given stable kde4 and not the new kde5!!!



What are saying websites?! Also LinuxFromScratch suggest theese versions of gcc 6.3 and qt 4.8.7 and kde4. I consider this website authorevole!

There is an answer for all the problem?

My problem, i guessing!, is the most common: install fondumental compounds!

I am new on Linux, but i will learn if information on websites are good, and not so strange!

HELP ME!
 
Old 02-06-2017, 01:55 PM   #6
Unaaaaab
Member
 
Registered: Jan 2017
Posts: 32

Original Poster
Rep: Reputation: Disabled
Excuse but thread is for almost all user that want a true generic linux. Don't freeze it! But make it hot, and i want suggestion from various expertieses! Not only one
 
Old 02-06-2017, 07:25 PM   #7
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Qt-4.8.0 configures fine on my machine. I have the Qt-4.8.0 sources that I last compiled five years ago.
Quote:
$ g++ --version
g++ (Debian 6.3.0-5) 6.3.0 20170124

$ make confclean

$ ./configure -sysconfdir /etc/xdg -confirm-license -opensource -release -dbus-linked -openssl-linked -system-sqlite -no-phonon -no-phonon-backend -no-webkit -no-openvg -nomake demos -nomake examples -optimized-qmake
...
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -O2 -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/data/Qt-4.8/include -I/data/Qt-4.8/include/QtCore -I/data/Qt-4.8/src/corelib/global -I/data/Qt-4.8/src/corelib/xml -I/data/Qt-4.8/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/data/Qt-4.8/mkspecs/linux-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED project.cpp
g++ -c -o property.o -pipe -DQMAKE_OPENSOURCE_EDITION -O2 -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/data/Qt-4.8/include -I/data/Qt-4.8/include/QtCore -I/data/Qt-4.8/src/corelib/global -I/data/Qt-4.8/src/corelib/xml -I/data/Qt-4.8/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/data/Qt-4.8/mkspecs/linux-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED property.cpp
...
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
I don't think there is much difference between 4.8.0 and 4.8.7. The line in qbytearray.h where your first error occurs is identical:
Code:
$ grep -n qvsnprintf src/corelib/tools/qbytearray.h
109:// implemented in qvsnprintf.cpp
110:Q_CORE_EXPORT int qvsnprintf(char *str, size_t n, const char *fmt, va_list ap);
Please post the errors that you get without setting CPATH.
 
Old 02-08-2017, 02:10 PM   #8
Unaaaaab
Member
 
Registered: Jan 2017
Posts: 32

Original Poster
Rep: Reputation: Disabled
Dear norobro, it is not as you post. Now i recompile as you suggest and now another different error! It is because sources not include tr1 explicitily. See also http://stackoverflow.com/questions/1...ne-include-tr1 . Do searches on web. As name of my topic, is the behaviour of gcc changed compared with same files as sources of programmation language c++. Also be careful on the version of qt: they are different. Problem then is in any source that include somewhat stdio . it is problem!!!


I have also the questions that go outside topic: what is the correct version of kde and gcc?




I want configure my computer soon! And want a working system, documented functions. Otherwise i will choose windows, but i want DOCUMENTED linux!!!


The very time expensing procedure on suggestion of you of compile give as final error:

Makefile:1624: recipe for target 'obj/release/pcre_exec.o' failed
make[1]: *** [obj/release/pcre_exec.o] Error 1
make[1]: Leaving directory '/home/utente/Desktop/waaaaaa/qt-everywhere-opensource-src-4.8.7/src/script'
Makefile:637: recipe for target 'sub-script-make_default-ordered' failed
make: *** [sub-script-make_default-ordered] Error 2



and before:


In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastAllocBase.h:84:0,
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> { };
^~~~~~~~~~~~~~~~~~~~~~
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc strange behaviour stf92 General 4 01-12-2014 02:04 PM
gcc can't find linux/ headers JT74 Slackware 5 09-14-2012 11:03 PM
gcc not finding stdio.h, and other headers spargonaut Linux - Software 8 02-16-2007 06:52 PM
technical report writing ? thelonius Programming 7 07-05-2006 11:39 AM
Gcc/Headers trouby Linux - General 6 10-14-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration