On Thu, 2009-11-19 at 00:18 +1100, George Patterson wrote: > 2009/11/17 Diego Fernando Rodríguez Varón <diegorodrigu...@gmail.com>: > > Hello everyone. > > > > I was experiencing the segmentation fault reported by Nicolas before so I > > just tried updating and compiling. But I get the following error: > > > > checking for boostlib >= 1.37.0... configure: error: We could not detect > > the boost libraries (version 1.37 or higher). If you have a staged boost > > library (still not installed) please specify $BOOST_ROOT in your > > environment and do not give a PATH to --with-boost option. If you are sure > > you have boost installed, then check your version number looking in > > <boost/version.hpp>. See http://randspringer.de/boost for more > > documentation. > > > > I'm using Ubuntu 8.04 and the boostlib supported is 1.34. > > So I had change the configure.ac file > > AX_BOOST_BASE([1.34.0] > > > > Is flightgear stopping support for Hardy Heron? :( Hopefully not. > > > > Do I really need 1.37? > > > > Hi Diego, > > You might be able to get the source package for libboost1.37 for > Intrepid and try compiling it under Hardy. I will try and run up a VM > to test this idea. Howevere it might take me a bit as I am away over > the weekend. > > Regards > > George
Tim Moore wrote: > [...] The critical feature from 1.37 is unordered_map; does > Debian stable have std::tr1::unordered_map (i.e., /usr/include/c ++/..../unordered_map)? In Ubuntu 8.04 LTS - the latest boost suite available via the update manager is 1.34... ~$ dpkg -l | grep boost ii boost-build 2.0-m11-2 Build system ii libboost-date-time-dev 1.34.1-4ubuntu3 set of date-time libraries based on generic ii libboost-date-time1.34.1 1.34.1-4ubuntu3 set of date-time libraries based on generic ii libboost-dev 1.34.1-4ubuntu3 Boost C++ Libraries development files ... etc, etc, etc ... ~$ find /usr/include/ -name unordered_map\*|xargs ls -l -rw-r--r-- 1 root root 6143 2009-02-20 13:37 /usr/include/c ++/4.2/tr1/unordered_map Does that mean I will _NOT_ be able to compile SG/FG in my current Ubuntu? Ok, did CVS update, and bingo, during configure, in SG - checking for boostlib >= 1.37.0... configure: error: etc, etc as listed above... SOOO, do I have to manually 'install' boost? Like boost_1_40_0.tar.gz say, and deal with, as written on the boost web page - 'Boost.CMake is now distributed separately. The cmake build for boost is BROKEN in the tarballs above. See the Boost.CMake wiki page for pointers to working versions.' Tried - ~$ sudo aptitude install libboost-all-dev [snip] Couldn't find any package whose name or description matched "libboost-all-dev" No packages will be installed, upgraded, or removed. [snip] And ~$ sudo apt-get install libboost-all-dev [snip] E: Couldn't find package libboost-all-dev So those did NOTHING! And as stated the Synaptic Package Manager only list 1.34, so also does not help... Do I, and others like me, have to now get into downloading the later source of boost, and 'fight' to compile/install it? Working with the BROKEN CMake as listed above??? Ok, I downloaded boost_1_40_0.tar.gz 39,253,625, unpacked just the 'boost' folder! I am in my $HOME/fg/fg7, which I shall call <root> here. In this 'root' I have an 'install' directory, where I 'install' PLIB, OSG, simgear, etc... so I can work with later versions of these than in the distro... So I unpacked the boost directory into - <root>/install/boost/include producing <root>/install/boost/include/boost Then by removing the SG configure.ac line - AX_BOOST_BASE([1.37.0]) and adding - # specify the boost location AC_ARG_WITH(boost, [ --with-boost=PREFIX Specify the prefix path to boost]) if test "x$with_boost" != "x" ; then echo "boost prefix is $with_boost" EXTRA_DIRS="${EXTRA_DIRS} $with_boost" fi I suppose I could have ALSO added some 'code' to check the boost version in <boost/version.hpp>, but that can come later... And then doing an appropriate - ./configure --with-boost=$HOME/install/boost ...etc... I could get SG compiled. As I understand at present SG/FG only requires the boost headers, and none of the compiled boost libraries... This got SG compiled OK... but then I must do the SAME thing in fgfs/source/configure.ac, and maybe I can get it ALL COMPILED!!! But am I wasting my time? Is there an EASIER way than this? ;=() As John Denker wrote: Introducing additional dependencies into FGFS makes extra work for a lot of people. I am sorry, but here here to that ;=)) Heads up! No, tail down ;=)) Geoff. PS: Who do I need to contact about getting a later 'boost' into the Ubuntu distribution? Do I contact the 'boost' or the 'Ubuntu' developers? Or both? That is, who is normally responsible for 'updating' a distribution? The distro developers, or the package developers? And that would be a similar question concerning updating the flightgear, fgfs-base and simgear listed in the Ubuntu synaptic package manager as 1.0.0! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel