last day (14 days later) » 

11:15 AM
1
A: Boost compilation failed on ubuntu server 14.04

seheAs always, I heartily recommend cheating to get the dependencies for any library: sudo apt-get build-dep libboost-all-dev Note for clarity: this just makes sure that all dependencies that would be necessary to build the distro's packaged version of Boost are present. As such, it's just a short...

 
I tried this but it did not work. Although it installed some dependencies but I am still getting the same error.
 
Did you run ./bootstrap.sh again?
 
Yes I run ./bootstrap.sh again, but I am still getting the same error :(
I need to install boost 1.49. Does sudo apt-get build-dep libboost-all-dev works for boost 1.49 as well?
 
@shaikh Please refer to the lengthy discussion we had here, originally (I wonder how you missed that? ) Also, didn't you say "I tried this"? (Hint: "Yes.")
 
Yes I tried this but it did not work. I just realized that when I run ./bootstrap.sh, I get this error/warning message "Unicode/ICU support for Boost.Regex?... not found." Do I need to fix this first?
 
11:15 AM
@shaikh Actually, no, it should just skip compilation of Boost Locale. Alternatively, you can use the hint I commented 2 days ago: Alternatively, try to boostrap with --without-icu (of course, only if you don't need the advanced features in Boost Locale)
 
I tried "./bootstrap.sh -without-icu", but still the "./b2 install" fails with above errors. Please help... its wasting a lot of my time
 
11:31 AM
Hehe. So, let's waste my time too :) (just pointing out the fallacy of your argument)
@shaikh I hope you meant --without-icu instead of -without-icu?
If that's not working, well; I don't have my crystal ball handy. So I'm going to recommend pre-built packages indeed.
 
--without-icu is not working, so I tried -without-icu
 
Just rig up a (virtual) machine with a LTS release of your distro that includes 1_49 and use it
@shaikh Why would you do that? Are you going to try without-icu and ithout-icu as well?
 
--without-icu worked and it disabled the ICU support for Boost.Regex
But still the ./b2 install fails with the same error "failed gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.8/release/link-static/threading-multi/icu/formatt‌​er.o..."
 
Oh well. No comment then. I have no clue, and ironically I'm currently on a windows box, not time to try it.
 
Where I can find the pre-built boost?
 
11:40 AM
People have been able to build without ICU so, let's hope someone else chips in with the information you need
25 mins ago, by sehe
@shaikh Please refer to the lengthy discussion we had here, originally (I wonder how you missed that? ) Also, didn't you say "I tried this"? (Hint: "Yes.")
Also, note that you have another answer suggesting as much:
0
A: Boost compilation failed on ubuntu server 14.04

Dirk EddelbuettelIn case you really need or want Boost release 1.49, you can find it here via the packages.ubuntu.com search feature. But as you are already on Ubuntu 14.04, why not just use Boost 1.54? Using the package will lead to automatic upgrades, so with the next Ubuntu release you get Boost 1.55 and so ...

 
I cannot use boost 1.54
I tried boost-release from the mentioned source but I got some other errors
 

last day (14 days later) »