Having some problems with a new 2.0 build for FG starting with SimGear..
(files downloaded from git server)

Version FG-1.9.1 ran with boost from a staged library and that worked;
with the latest that failed so first did a boost build that was successful
as in ...

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<,
The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

    /usr/src/boost_1_43_0

The following directory should be added to linker library paths:

    /usr/src/boost_1_43_0/stage/lib
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.

but that also failed at config step with error locating boost stuff....

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<,
SimGear-2.0.0]# ./configure --with-boost=/usr/src/boost_1_43_0
--with-boost-libdir=/usr/src/boost_1_43_0/stage/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking CXX...
checking CC...
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c -p
checking whether ln -s works... yes
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.
>>>>>>>>>>>>>>>>>>>>>>>>>>.

then trying "--with-boost=no" gets through the config step but the compile
fails at compile time

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
In file included from ../../simgear/scene/sky/newcloud.hxx:34,
                 from visual_enviro.cxx:35:
../../simgear/scene/material/Effect.hxx:22:39: error:
boost/tr1/unordered_map.hpp: No such file or directory
../../simgear/scene/material/Effect.hxx:136: error: ‘std::tr1’ has not
been declared
../../simgear/scene/material/Effect.hxx:136: error: ISO C++ forbids
declaration of ‘unordered_map’ with no type
../../simgear/scene/material/Effect.hxx:136: error: typedef name may not
be a nested-name-specifier
../../simgear/scene/material/Effect.hxx:136: error: expected ‘;’ before
‘<’ token
../../simgear/scene/material/Effect.hxx:138: error: ISO C++ forbids
declaration of ‘Cache’ with no type
../../simgear/scene/material/Effect.hxx:138: error: expected ‘;’ before
‘*’ token
../../simgear/scene/material/Effect.hxx:144: error: expected `;' before
‘Cache’
../../simgear/scene/material/Effect.hxx:144: error: ISO C++ forbids
declaration of ‘Cache’ with no type
../../simgear/scene/material/Effect.hxx:144: error: expected ‘;’ before
‘*’ token
make[3]: *** [visual_enviro.o] Error 1
make[3]: Leaving directory `/usr/local/src/SimGear-2.0.0/simgear/environment'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

It has been a long, long time since I last did a build or update,  what am
I missing/forgetting?  Is boost now mandatory?  What advantage/improvement
is realized with boost?

running linux 2.6.23 with Centos 5.2

Thanks
John W




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to