LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 08-28-2018, 05:17 PM   #1
vysero
Member
 
Registered: May 2018
Posts: 137

Rep: Reputation: Disabled
Attempting to deal with QTBUG-41361


Here is a link to the bug and its proposed solution: https://bugreports.qt.io/browse/QTBU...comment-206970

The steps I took to compile from source can be found here: http://doc.qt.io/qt-5/linux-building.html

I went into mkspecs\linux-g++-64\qmake.conf after uncompressing and unpacking the tar ball and added:
Code:
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=gnu++98
to the end of qmake.conf as was suggested.

Then I ran make and near the end of the process I ran into the same build errors:
Code:
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> { };
It completed the make process with the following error:

Code:
Makefile:1624: recipe for target 'obj/release/pcre_exec.o' failed
make[1]: *** [obj/release/pcre_exec.o] Error 1
make[1]: Leaving directory '/tmp/qt-everywhere-opensource-src-4.8.6/src/script'
Makefile:525: recipe for target 'sub-script-make_default-ordered' failed
make: *** [sub-script-make_default-ordered] Error 2
I didn't bother running make install. I am wondering if I did something wrong or if the proposed solution won't work in my case?

I would hate to have to downgrade my gcc from 8.0 all the way back to 4.7. Any ideas?
 
Old 08-28-2018, 05:38 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,113

Rep: Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914
Third post about exact same issue/bug. Thread reported.
https://www.linuxquestions.org/quest...ns-4175636832/
https://www.linuxquestions.org/quest...ce-4175637319/

Last edited by TB0ne; 08-28-2018 at 05:39 PM.
 
1 members found this post helpful.
Old 08-28-2018, 05:56 PM   #3
vysero
Member
 
Registered: May 2018
Posts: 137

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
[removed by moderator]

Last edited by rtmistler; 08-29-2018 at 07:55 AM.
 
Old 08-29-2018, 01:52 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,880
Blog Entries: 9

Rep: Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514
TB0ne is completely right and unlike you did not abuse you.

Quote:
Originally Posted by vysero View Post
[removed by moderator]
aaand reported again.

on a more constructive note:
instead of opening new threads, you should start taking the advice given in the old threads, roll your sleeves up and get digging deep into the bowels of your machine, and give us some real output.
we cannot help with problems that are described off-handedly and superficially.
please read the first link in my signature

Last edited by rtmistler; 08-29-2018 at 07:55 AM.
 
Old 08-29-2018, 07:49 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,192
Blog Entries: 13

Rep: Reputation: 3602Reputation: 3602Reputation: 3602Reputation: 3602Reputation: 3602Reputation: 3602Reputation: 3602Reputation: 3602Reputation: 3602Reputation: 3602Reputation: 3602
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Please use your original thread on this topic https://www.linuxquestions.org/quest...2/#post5894203

Additionally members are cautioned to not be insulting to other members.
 
  


Closed Thread


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
Attempting to install Gcaldaemon trekfan7 Linux - Newbie 0 03-05-2008 08:24 PM
LXer: The Fourth ‘Patent Deal’ was with Europe… and the Sixth Deal That Won’t be LXer Syndicated Linux News 0 10-24-2007 04:40 PM
Attempting to get online. pan0z Linux - Newbie 1 10-04-2003 05:31 PM
Attempting the Impossible? tjm Linux - Software 7 07-22-2003 04:21 PM
attempting to subsist Karnak Linux - Networking 5 10-12-2002 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration