LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-03-2014, 12:55 AM   #1
feraudyh
LQ Newbie
 
Registered: Jul 2014
Location: Le Mans
Distribution: Ubuntu
Posts: 19

Rep: Reputation: Disabled
Building CLang via g++ fails


Hi,
I may be in the wrong forum, so if soneone can tell me where I can go to get this specialised information.
I'm trying to build CLang from sources. I'm in Ubuntu. I just updated my compilers to g++4.8 and gcc4.8 , but this appears to be not enough because during compilation I get messages like this:
error: 'enable_if' in namespace std does not name a type
typename std::enable_if<....

This appears to me to be a problem that my library is not recent enough.

g++ --version does report 4.8.1 though.

Last edited by feraudyh; 07-03-2014 at 12:56 AM. Reason: typo
 
Old 07-03-2014, 06:41 AM   #2
feraudyh
LQ Newbie
 
Registered: Jul 2014
Location: Le Mans
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hello,
I then tried fiddling with the Makefile.config file, and then relaunched configure, my changes to that file were lost and then all those compilation problems
went away.

I kept a copy of the build directory and will be using Meld to compare the makefiles and such to see what miracle happenned.
 
  


Reply

Tags
g++ error


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
LXer: LLVM Clang 3.3, Early Clang 3.4 Benchmarks LXer Syndicated Linux News 0 06-23-2013 10:00 PM
[SOLVED] Building Allegro5 fails mariostg Slackware 1 03-25-2013 08:00 PM
LXer: Building Linux With LLVM/Clang Excites The Embedded World LXer Syndicated Linux News 0 03-10-2013 01:42 AM
LXer: Moving Towards Building The Linux Kernel With Clang LXer Syndicated Linux News 0 11-04-2012 07:50 PM
Building with clang for new C++ standard tron_thomas Programming 2 03-11-2012 03:40 PM

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

All times are GMT -5. The time now is 11:56 PM.

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