-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have been doing my best to follow the development of FlightGear
and TerraGear by reading the mailing list(s), googling, and
comparing the various helpful (and sometimes dated) webpages
devoted to these tools & applications. FWIW, Geoff Mclane's
'prerequesites' page has been most helpful; thank you! And thanks
to everyone involved in these projects-- I have become quite
interested, and I think FLightGear is fantastic.
Based on everything I have read about the bits and pieces (deps)
needed to build this stuff, I have tried to select all the newest
sourcecode from CVS/GIT/SVN. If someone notices that I have
mistakenly built something *old*, please point this out :) as I
would like to stay current with development.

So, why I am here now:

Just wanted to give a tiny bit of information to A) help folks
maybe get terragear built, and B) to possibly point out a problem
with the terragear build process. NOTE: I'm decent with bash, but
NOT a C or C++ programmer in any way, so keep in mind I am not
criticizing anyone or anything in any way, just trying to learn and
help and follow along.

Here's what I've got built/installed (which I *hope* are the _very_
latest FG/TG packages):

1) OpenSceneGraph-2.9.3 from SVN, Boost-1.38.0, Cmake-2.6, gpc-
2.3.3, freealut-1.1.0, gts-0.7.6, newmat-11D, openal-1.7.411, plib-
1.8.5.

2) FlightGear from CVS against SimGear from GIT, and built
TerraGear-cs from GIT against SimGear-cs from GIT.

Now, the fun details:
I have installed BOTH simgear and simgear-cs packages on my
system** simultaneously but one must guide flightgear and terragear-
cs to make sure they each build against the correct one.
I installed 'simgear-non-cs' first, and make a symlink called
'simgear' pointing to each of /usr/lib/simgear-non-cs and
/usr/include/simgear-non-cs and build flightgear against it. This
was somewhat painless.
Then, installed 'simgear-cs' and recreated new symlinks as above,
pointing now to the respective 'simgear-cs' folders, and built
TerraGear-cs against that. (I read somewhere to remove the -O2
optimization on something or other, but I can't recall what/where
and I didn't do that; maybe next build.)
Ultimately the TerraGear-cs build worked, BUT: while building it,
the 'make' would repeatedly quit with **ERRORs, first in
/src/lib/array and on and on at a load of different places, with
various reasons for the errors: missing libraries, cxx problems,
etc... The best way I can describe what was happening was it
appeared to be like a race condition. The build was apparently
supposed to build something it later depended on (like a shared
lib), and then _use_ that item, but it was trying to _use_ the item
before it actually became available (eg libArray.a). After
determining that the missing pieces were actually there (hence no
real reason for error), I just kept running 'make' over and over on
the sources until finally it finished! It took about '10' make
commands I guess.
NOTE: I was not using -J3 with the make commands.

I have had this race-like condition happen on occasion with other
builds in the past, of other software, and don't know why it
happened then either, but maybe this is happening to some other
FG/TG users, and they can try the same thing: keep running make
until it completes :)

Hope this helps someone.
Cheers, and thanks, and now on with the show: try making some
scenery/civilization for Nova Scotia, Canada, airport=CYHZ!
Sasha Alexandr


**system = Slackware 11.0 with lots of upgrades, kernel=2.6.28.7;
Intel Core2, 4GB RAM, dual nvidia cards, SLI motherboard. (It's a
64-bit machine, but the Slackware is 32bit until I manage to get
Slamd-64 Linux and try that out with flightgear and friends-- I'm
on sloooow dialup and short of cash right now.)

-----BEGIN PGP SIGNATURE-----
Charset: iso-8859-1
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 3.0

wpwEAQMCAAYFAknoD4gACgkQBdgPeajIhBm1WQP9HG5Fv1h4TPhS8j3vYnike3KCLusR
Ym/sRb4M0rixbs3gMKRMtAC+QFu0jqOtA1jVErHO0WZZ80e7Tu9QE+3vZx03ZkQEEoGf
3FfKpkI/xcG9nGFZFDjBeVtM7Vy1X9U7RwTz0KjaLtT9jFsCTV9TDGPOsk9CfeWsJ9Hq
2wUCnnQ=
=flSX
-----END PGP SIGNATURE-----

--
Become a medical transcriptionist at home, at your own pace.
 
http://tagline.hushmail.com/fc/BLSrjkqfMmdoRgVPRLAYSE69GfB09PkNfbeoT7hJZv8uP0m9HcK16iBkSEQ/


------------------------------------------------------------------------------
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-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to