On Mon, 16 Mar 2009 17:26:55 +0100, Geoff wrote in message <1237220815.6654.5.ca...@dell02>:
> Hi Arnt, > > Without reviewing the maketg logs of the form templogNN.txt, ..doh! You still want my 1.0.2 logs? > written to, in your case, the '/opt/bygg/fg/tmp/' (I think), ..correct, and I have /opt/bygg/tg/tmp/ for TG too if you want them, /opt is my old 320GB (too small) Debian mirror disk. ;o) > can only guess a little... but think I found it... > > >> undefined reference to `clock_gettime' > ========================================= > > This is something Mathias added _VERY_ recently to SG/FG > cvs - few days ago - see cvs logs... > > Either my maketg incorrectly downloaded/updated SG > cvs, instead of git SG, which would be shown in the > log files... or something else... checking further... > > >> error: simgear/scene/bvh/BVHNode.hxx: No such file or directory > ================================================================== > > This seems to confirm wrong simgear is being used, ..maybe, I do have simgear-cs/simgear/scene/: a...@a45:/opt/bygg/fg $ cd - /opt/bygg/tg a...@a45:/opt/bygg/tg $ ll simgear-cs/simgear/scene/ total 56 -rw-r--r-- 1 arnt arnt 15030 Mar 16 15:54 Makefile -rw-r--r-- 1 arnt arnt 199 Mar 16 00:01 Makefile.am -rw-r--r-- 1 arnt arnt 14567 Mar 16 15:54 Makefile.in drwxr-xr-x 3 arnt arnt 4096 Mar 16 15:55 material drwxr-xr-x 3 arnt arnt 4096 Mar 16 15:56 model drwxr-xr-x 3 arnt arnt 4096 Mar 16 15:57 sky drwxr-xr-x 3 arnt arnt 4096 Mar 16 15:58 tgdb drwxr-xr-x 3 arnt arnt 4096 Mar 16 15:58 util a...@a45:/opt/bygg/tg $ ll -d simgear-cs/simgear/scene/ drwxr-xr-x 7 arnt arnt 4096 Mar 16 15:54 simgear-cs/simgear/scene/ a...@a45:/opt/bygg/tg $ > since the last time I checked this whole directory > simgear/scene/bvh > has _NOT_ yet made it into the git repository... And my clone of > simgear-cs just now confirms this... > > So it seems UNTIL this 'bvh' addition, and maybe other things, > are added to the git repositories - > - cvs FG will only compile with cvs SG > - git TG will only compile with git SG > - and cvs TG will NOT compile at all ;=(( unless perhaps > a PRE-OSG SG, or at least an earlier version SG is used... > > And another 'clue' that somehow simgear(cvs) and > simgear-cs(git) are confused... > "-I/opt/bygg/fg/install/simgear/include" > IFF you are doing TERRAGEAR then I think this should be > "-I/opt/bygg/fg/install/simgear-cs/include"... hmmm > > AHH HA! GOT IT ;=)) My ~fg/maketg DOUPD NOPAUSE > just ended with the similar error... WAIT, it is > trying to compile FlightGear (FG) AND IT SHOULD NOT. > > As the above implies, cvs FG CAN NOT BE COMPILED > AGAINST git SG!!! And maketg should NOT be compiling FG! > > Ok, looks like I got one of my && || chains in a twist ;=() > > Now fixed - try version 1.0.3 > http://geoffair.net/tmp/maketg > http://geoffair.net/tmp/makefg ..got them. > Hint: DOUPD redoes everything, thus takes big time. In > your case you could now just run - > /opt/bygg/fg$ maketg SGUPD TGUPD > to skip tools, PLIB and OSG - OSG updates takes FOREVER ;=(( ..ah. ;o) > You will also _NOTE_ I left out the NOPAUSE, since after > the TG git source clone/update you have to exit to _PATCH_ > terragear-cs/configure.ac ;=() ..I'll try maketg both ways to try learn something from _how_ it crashes. ;o) > No doubt you read my plea to add this to the TG git > repository ... the patch is again included below - > > Without this PATCH applied to terragear-cs/configure.ac > you can _NOT_ use --with-plib and --with-osg, and even the > --with-simgear gets clobbered... > > With this new maketg 1.0.3, my update, patch, then continue > build worked fine... > > And remember the script 'installs' the final TG executables > in $HOME/bin, ..sure? And not /opt/bygg/tg/install nor /opt/bygg/tg/install/bin in my case???: a...@a45:/opt/bygg/tg $ ll $HOME/bin ls: cannot access /home/arnt/bin: No such file or directory a...@a45:/opt/bygg/tg $ > which I include in my path through an entry > in .bash_aliases - > export PATH=${PATH}:$HOME/bin > You MUST change the script if you want them installed > elsewhere... ..ok, for my 2 (fg & tg) trees, I will need "export PATH=${PATH}:/opt/bygg/fg/install/bin" and "export PATH=${PATH}:/opt/bygg/tg/install/bin" ? ..later, maybe make and install .deb's, .rpm's etc packages? > Happy TG building... > > >> apt-cache show distcc ccache ccontrol dmucs > ============================================== > > Do not understand your point about these??? ..I have a _pile_ of nice dumpster find boxes that can run as distcc nodes ;o), half a dozen each of 1-3GHz 32bit P4, K7, 450-550MHz K6-2's, a dozen P3's, 3 64bit P4's and a trashed amd64 laptop and they can double as heat source, in the summer I can net boot them on compile (farm) jobs. ;o) > distcc - distributed compiler client and server > ccache - Compiler results cacher ..this should work for your single box scenario too, caching old compiled bits and recompiling only on the new source edits. > ccontrol - takes over roles of compiler, linker and make > dmucs - do not have it installed... seems part of distcc ..close, dmucs is an alternative to ccontrol. > I am happy compiling it all in one machine, without > 'distributing' it over a network... but as I say do > not understand the real point here??? ..offloading the work load so I can fly during compiles. ;o) > Anyway, thanks for pointing out the error in the scripts. > I will take more care with if ( a && b || c ) chains. I wanted > if ( a && ( b || c ) ), but got if ( ( a && b ) || c )... maybe > I should read up on the precedence and order in scripts ;=)) > > Regards, > > Geoff. > > <TG git configure.ac patch> > --- tg-cs/terragear-cs/configure.ac 2009-03-14 18:36:33.000000000 > +0100 +++ fg/terragear-cs/configure.ac 2009-02-12 17:35:34.000000000 > +0100 @@ -26,6 +26,22 @@ > EXTRA_DIRS="${EXTRA_DIRS} $with_simgear" > fi > > +# specify the plib location > +AC_ARG_WITH(plib, [ --with-plib=PREFIX Specify the prefix path > to plib]) > + > +if test "x$with_plib" != "x" ; then > + echo "plib prefix is $with_plib" > + EXTRA_DIRS="${EXTRA_DIRS} $with_plib" > +fi > + > +# specify the osg location > +AC_ARG_WITH(osg, [ --with-osg=PREFIX Specify the prefix path > to osg]) > + > +if test "x$with_osg" != "x" ; then > + echo "osg prefix is $with_osg" > + EXTRA_DIRS="${EXTRA_DIRS} $with_osg" > +fi > + > dnl set the $host variable based on local machine/os > AC_CANONICAL_HOST > > @@ -142,7 +158,8 @@ > AC_CHECK_HEADER(windows.h) > > dnl extra library and include directories > -EXTRA_DIRS="/usr/local/plib /usr/X11R6" > +# EXTRA_DIRS="/usr/local/plib /usr/X11R6" > +EXTRA_DIRS="$EXTRA_DIRS /usr/X11R6" > > if test -d /opt/X11R6 ; then > EXTRA_DIRS="$EXTRA_DIRS /opt/X11R6" > </TG git configure.ac patch> > -- ..med vennlig hilsen = with Kind Regards from Arnt... ;o) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

