realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

Ubuntu build fixes #560

Closed bostik closed 11 years ago

bostik commented 11 years ago

Found out that naali didn't build on ubuntu. These are the minimal fixes required for the build to succeed.

The need to explicitly link with boost_system is a new requirement, and applies to both Boost 1.49 and 1.50.

juj commented 11 years ago

Thanks! The current tundra2 and incoming branches build on my Ubuntu 12.10. Which Ubuntu version do you have? @antont, @erno and @evktalo have also been building on Ubuntu. Can you have a try at whether these changes now work better on everyone's Ubuntus? Better have a wide coverage, since it seems that no two linux instances are ever the same..

bostik commented 11 years ago

Oh sorry, forgot to state the system version. These changes were required for ubuntu 12.10, where the default boost version is 1.49. Boost 1.50 is also available, and I tested the ogre/boost changes with both of them. Without the addition of 'system' in required components, builds simply failed at link time.

Funnily enough, the linker error is to the tune of "symbol FOO not found... oh by the way, it's available in that library!"

Yes, please test these changes as widely as possible.

antont commented 11 years ago

ok - I'm so far sticking with 12.04 and have only tested there (and older versions) recently, can test there.

juj commented 11 years ago

Even without these changes, building on my Ubuntu 12.10 succeeds fine, see result here http://clb.demon.fi:8114/builders/ubuntu-Tundra-incoming/builds/21

Leaving the bot to do a rebuild over the night with this commit. If it works, then I'll merge it, unless someone can report any other regressions with it.

juj commented 11 years ago

This pull request also built fine, log at

http://clb.demon.fi:8114/builders/ubuntu-Tundra-incoming/builds/22/steps/Build%20Tundra/logs/stdio

Merging in.