Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building Boost on Solaris

Will Boost build in entirety on Solaris?

I'd like to know if anyone has success with this (specifically Proto/Spirit) before I go and pay for a support contract to patch Sun Studio 12.2 to the latest. I get a few errors and some look to have been resolved in patches, but it's not cheap to pay Oracle for support so I'd rather some hope that it will work before I do.

Right now, I'm just trying to use cpp-netlib on Solaris and decode some JSON fetched over HTTP using Boost Property Tree. It works fine on Mac OS X - so I'm hoping I can use the same code on Solaris.

like image 326
chrism Avatar asked Oct 10 '22 09:10

chrism


1 Answers

If you look at http://www.boost.org/users/history/version_1_48_0.html, you'll see two lists of compilers. The "primary" compilers are those that the release is tested against. There are no Solaris-based compilers there.

The second list is what the trunk is tested against (on a more or less daily basis). The Sun compiler v 5.10 is on that list.

Now, you can look at http://www.boost.org/development/tests/trunk/developer/summary.html, and find the test results for that compiler. From there, you can find the column for the Sun compiler, and check which tests are failing (and why).

However, it looks like pretty much all the spirit tests are failing on that compiler, so I wouldn't hold out much hope.

... Later ... However, since you are using a different compiler than that, you might want to look at http://www.boost.org/development/running_regression_tests.html, which shows you how to run the regression tests using your installation. Then you can see how well boost works with your compiler.

like image 79
Marshall Clow Avatar answered Oct 18 '22 09:10

Marshall Clow