Hi Sasha,

Thank you for your kind words to me and others in
the 'community'.

It seems you have installed PLIB, OpenSceneGraph (OSG),
simgear, simgear-cs, etc into the 'global' environment,
that is the 'standard' install situation, and then
dealt with the obvious clash between cvs
simgear, and git simgear-cs libraries... 

And offer some good information if other want to 'try'
this ;=)) thank you again.

As an alternative, I only install plib, OSG, cvs-SG,
git-SG, etc, relative to the build directory by careful
use of --prefix=<path> during the ./configure
stage.

As I have stated before, and as you indicated, the rules
as I see them are :-
- cvs FG will only compile with cvs SG
- git TG will only compile with git SG
- and cvs TG will NOT compile at all ;=((

It may be possible to compile cvs TG against an
OLDER cvs SG version, like -rPRE_OSG_PLIB_20061029,
or there abouts, but have not tried this...

So I, and some others, have some do-it-all scripts
to achieve this :-
seb :
 http://seb.marque.free.fr/fichiers/scripts/bash/compile.tgz 
Francesco :
http://wiki.flightgear.org/index.php/Scripted_Compilation_on_Linux_Debian/Ubuntu
 
and mine, based on that by Francesco - now version 1.0.9
 http://geoffair.net/tmp/makefg
- plib,osg,sg(cvs),fg(cvs),fgrun,data - opt Atlas
 http://geoffair.net/tmp/maketg 
- plib,osg,sg(git),tg(git),data

You just create a new folder in your user space,
like say tg, and run the script -
~$ md tg
~$ cd tg
~/tg$ ./maketg

Note, it is run WITHOUT 'sudo', and as a 'user',
not 'root', and on the initial run, it does require your
pwd to do apt-get install <long list> of packages,
and tools... 

But after that everything is created sub to this main
directory, and in the case of the TG tools, they are
installed in $HOME/bin.

You can thus add $HOME/bin to your PATH
~/tg$ export PATH="$PATH:$HOME/bin"
makes the tools accessible 'globally',
and/or this can be added to $HOME/.bashrc,
or $HOME/.bash_aliases to have it in every terminal.

And -
~/tg$ ./maketg --help
will show a list of options it supports. It
is meant to be repeatedly run, and will only
build what was not done previously, or when
there is a source change, or update request, 
PLIBUPD, OSGUPD, TGUPD, etc...

Now onto the scenery, the purpose of the
TG tools ;=)) With this suite of TG tools available,
you may want to take a look at my :-
 http://geoffair.net/tmp/makeCYYT 
script. This builds St John, but it would
not be too much trouble to adapt it to
build Nova Scotia (CYHZ)...

And I have a developing page detailing some of 
the 'fun' building scenery :-
 http://geoffair.net/tmp/newscenery.htm 
which will at sometime be moved to my FG 
sub-web... and has some other reference links
near the bottom...

Have FUN ;=)) and thanks again for your
experiences, and work around... I hope more
users will join in the 'scenery' experience ;=))

Regards,

Geoff.



------------------------------------------------------------------------------
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