[r...@moat FlightGear-1.9.1]# ./configure --help `configure' configures this package to adapt to many kinds of systems. : : Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-boost[=DIR] : : :
Odd, when running "./configure --without-boost" the test for the boost libraries is ignored. JW Frederic Bouvier wrote: >Hi John, > >I can't find a --without-boost option in configure.ac, either for SimGear or >FlightGear. > >Simgear configure abort when a suitable boost version is not found. Required >minimum version of boost is 1.34 > >-Fred > > >----- "John Wojnaroski" a écrit : > > > >>I'm asking the same question again. :-( >> >>Started a build of the CVS on an older 32-bit machine and wound up in >> >>the same place >> >><<<<<<<<<<<<<<<<<<<<<<<<<<< >>clude -DPKGLIBDIR=\"/usr/local/share/FlightGear\" -g -O2 -D_REENTRANT >> >>-MT fg_os_osgviewer.o -MD -MP -MF ".deps/fg_os_osgviewer.Tpo" -c -o >>fg_os_osgviewer.o fg_os_osgviewer.cxx; \ >>then mv -f ".deps/fg_os_osgviewer.Tpo" ".deps/fg_os_osgviewer.Po"; >>else >>rm -f ".deps/fg_os_osgviewer.Tpo"; exit 1; fi >>fg_os_osgviewer.cxx:32:29: error: boost/foreach.hpp: No such file or >>directory >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> >> >>It appears that FlightGear > 1.0 has added another dependency >>requiring >>the boost libraries. If that is the case it makes no sense to have a >>configure option "--without-boost" to allow a build to proceed or >>source >>that will not honor the option to build without the boost library. >>seems >>we should either modify the source to build without boost or modify >>the >>build to abort when boost is not found and alert the builder. >> >>Or am I missing something or mistaken in my analysis..... >> >>JW >> >>cas...@mminternet.com wrote: >> >> >> >>>OK, that cleared up the path problem. As for the seg fault, decided >>> >>> >>to >> >> >>>step back to 1.9.0 and now I'm starting to regress :-( >>> >>>Running centos-5.3 (64-bit version) and the latest boost version >>> >>> >>there is >> >> >>>1.33, so tried a build without boost rather that trying an upgrade to >>> >>> >>1.34 >> >> >>>.... >>> >>>Simgear-1.9.0 build and install was okay, but now FlightGear-1.9.0 >>> >>> >>is >> >> >>>complaining. >>> >>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>> then mv -f ".deps/fg_os_osgviewer.Tpo" >>> >>> >>".deps/fg_os_osgviewer.Po"; >> >> >>>else rm -f ".deps/fg_os_osgviewer.Tpo"; exit 1; fi >>>fg_os_osgviewer.cxx:32:29: error: boost/foreach.hpp: No such file or >>>directory >>>fg_os_osgviewer.cxx: In function ‘void fgOSOpenWindow(bool)’: >>>fg_os_osgviewer.cxx:120: error: expected primary-expression before >>> >>> >>‘&’ token >> >> >>>fg_os_osgviewer.cxx:120: error: ‘camera’ was not declared in this >>> >>> >>scope >> >> >>>fg_os_osgviewer.cxx:120: error: ‘BOOST_FOREACH’ was not declared in >>> >>> >>this >> >> >>>scope >>>fg_os_osgviewer.cxx:120: error: expected `;' before ‘{’ token >>>fg_os_osgviewer.cxx:250: error: expected `}' at end of input >>>fg_os_osgviewer.cxx:250: error: expected `}' at end of input >>>make[2]: *** [fg_os_osgviewer.o] Error 1 >>>make[2]: Leaving directory >>> >>> >>`/usr/local/src/FlightGear-1.9.0/src/Main' >> >> >>>make[1]: *** [all-recursive] Error 1 >>>make[1]: Leaving directory `/usr/local/src/FlightGear-1.9.0/src' >>>make: *** [all-recursive] Error 1 >>> >>> >>> >>>Commenting out the "offending" code produces a build, but I suspect >>> >>> >>that >> >> >>>might be the cause of the segfault. >>> >>>As this is something that was added between 1.0 and 1.9.0; i.e. the >>> >>> >>boost >> >> >>>dependency, it appears that NOT using it for 1.9.0 or later was >>> >>> >>fully >> >> >>>recognized. would that be a correct assumption? can it be fixed >>> >>> >>without >> >> >>>some major "ifdef" stuff? >>> >>>JW >>> >>> >>> >>>------------------------------------------------------------------------------ >>>Stay on top of everything new and different, both inside and >>>around Java (TM) technology - register by April 22, and save >>>$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. >>>300 plus technical and hands-on sessions. Register today. >>>Use priority code J9JMT32. http://p.sf.net/sfu/p >>>_______________________________________________ >>>Flightgear-devel mailing list >>>Flightgear-devel@lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/flightgear-devel >>> >>> >>> >>> >>> >>> >> >>------------------------------------------------------------------------------ >>Crystal Reports - New Free Runtime and 30 Day Trial >>Check out the new simplified licensign option that enables unlimited >>royalty-free distribution of the report engine for externally >>facing >>server and web deployment. >>http://p.sf.net/sfu/businessobjects >>_______________________________________________ >>Flightgear-devel mailing list >>Flightgear-devel@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/flightgear-devel >> >> > > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel