On Sat, 24 Aug 2013 14:33:57 +0200, Arnt wrote in message 
<20130824143357.24a2b...@nb6.lan>:

> On Fri, 23 Aug 2013 21:28:28 -0400, Pat wrote in message 
> <20130823212828.78c3d...@spinnaker130432.home>:
> 
> > On Fri, 23 Aug 2013 17:14:34 -0400
> > Thanks,
> > 
> > We'll include this in thu about to be released script version 1.9.12
> > 
> > -Pat Callahan
> 
> ..a wee hint on enabling and disabling e.g. the jpeg-factory 
> and the cool SP FDMs would be nice. ;o)
> 
> 
> ..I ran yesterday's "1.9.12" without building plib and OSG,
> openrti, simgear and flightgear builds fine using system plib 
> and OSG, which it finds and checks out as ok at buildtime.
> 
> ..however at runtime, neither run_fgfs_debug.sh nor run_fgfs.sh 
> sees libRTI-NG.so.1: bash run_fgfs.sh 
> ./fgfs: error while loading shared libraries: libRTI-NG.so.1: cannot
> open shared object file: No such file or directory a
> 
> ..simple stupid fix that I don't remember now, 
> my current install/openrti/ tree:
> arnt@celsius:~/FG-git$ ls -1
> install/openrti/lib/x86_64-linux-gnu/libRTI-NG.* \
> install/openrti/lib/libRTI-NG.* install/openrti/libRTI-NG.* 
> ls: cannot access install/openrti/lib/libRTI-NG.*: No such file or
> directory 
> ls: cannot access install/openrti/libRTI-NG.*: No such file or
> directory install/openrti/lib/x86_64-linux-gnu/libRTI-NG.so
> install/openrti/lib/x86_64-linux-gnu/libRTI-NG.so.1
> install/openrti/lib/x86_64-linux-gnu/libRTI-NG.so.1.3.0
> arnt@celsius:~/FG-git$ 
> 
> 
> ..my fgrun build wails:
> ****************************************
> **************** FGRUN *****************
> ****************************************
> fgrun exists already.
> Already up-to-date.
> make: *** No rule to make target `install'.  Stop.
> 
> 
> ..and my Atlas builds fails with both fltk1.1 and fltk1.3,
> fgfs build fails with fltk1.3 and works with fltk1.1,
> 64-bit Debian Sid/Jessie.
> 
> ..my diff, WIP, OpenRadar still wants human input on rebuilds:
> arnt@celsius:~/FG-git$ ll download_and_compile-1.9-12a.diff
> -rw-r--r-- 1 arnt arnt 2926 Aug 24 13:58 
> download_and_compile-1.9-12a.diff 
> arnt@celsius:~/FG-git$ md5sum /tmp/download_and_compile-1.9-12a.diff
> 113b92dc884fcca4997e55e2b46120e1  download_and_compile-1.9-12a.diff
> arnt@celsius:~/FG-git$ 
> 

..scratch the above diff, use this:
arnt@nb6:/tmp$ ll do* &&md5sum do*
-rw-r--r-- 1 arnt arnt 3877 Aug 24 18:54
download_and_compile-1.9-12a.diff
292c76a6d725800f88d2464403756ff2  download_and_compile-1.9-12a.diff 
arnt@nb6:/tmp$ 

..+       echo "* Using ALL (re)compiles everything except PLIB, OSG,
OPENRADAR and ATLAS"

..my Atlas build fails like in 
http://osdir.com/ml/flightgear-sim/2012-10/msg00122.html 

..Atlas/configure.ac asks for the right thing here: ...
145 dnl Enable serial support on Unix type systems
146 AM_CONDITIONAL(ENABLE_UNIX_SERIAL, true)
147 
148 AC_ARG_ENABLE(simgear-shared, [  --enable-simgear-shared    
  Use a shared SimGear library instead of many static libraries.], 
149 ENABLE_SIMGEAR_SHARED=yes,ENABLE_SIMGEAR_SHARED=no) 
150 
151 if test "x$ENABLE_SIMGEAR_SHARED" != "xno"; then
152     dnl Use shared library libSimGearCore. libSimGearScene is
not required. 
153     simgear_LIBS="-lSimGearCore"
154 else

...but not here

155     dnl Use many static simgear libraries.
156     simgear_LIBS="-lsgmagvar -lsgtiming -lsgmisc -lsgio -lsgserial
-lsgdebug -lsgbucket -lsgstructure -lsgmath -lsgthreads" 
157 fi 
158 AC_SUBST(simgear_LIBS)
 
..I guess a new 156: simgear_LIBS="-libSimGearCore -libSimGearScene"
should work.


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...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.
--- download_and_compile-1.9-12.sh	2013-08-23 17:58:55.382955430 +0200
+++ download_and_compile-1.9-12a.sh	2013-08-24 18:30:26.637901023 +0200
@@ -17,7 +17,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-VERSION="1.9-12"
+VERSION="1.9-12a"
 
 #COMPILE GIT FGFS
 
@@ -46,12 +46,12 @@
 LOGSEP="***********************************"
 
 WHATTOBUILD=
-WHATTOBUILDALL=( PLIB OSG OPENRTI SIMGEAR FGFS DATA FGRUN FGCOM )
+WHATTOBUILDALL=( OPENRTI SIMGEAR FGFS DATA FGO FGX FGRUN FGCOM FGCOMGUI )
 UPDATE=
 STABLE=
 
-APT_GET_UPDATE="y"
-DOWNLOAD_PACKAGES="y"
+APT_GET_UPDATE="n"
+DOWNLOAD_PACKAGES="n"
 
 COMPILE="y"
 RECONFIGURE="y"
@@ -60,8 +60,8 @@
 JOPTION=""
 OOPTION=""
 DEBUG=""
-WITH_EVENT_INPUT=""
-WITH_OPENRTI=""
+WITH_EVENT_INPUT="y"
+WITH_OPENRTI="y"
 FG_SG_BRANCH="next"
 FG_SG_REVISION="HEAD"
 OSG_VERSION="3.0.1"
@@ -237,9 +237,9 @@
 then
 	echo "$0 Version $VERSION"
 	echo "Usage:"
-	echo "./$0 [-u] [-h] [-s] [-e] [-i] [-g] [-a y|n] [-c y|n] [-p y|n] [-d y|n] [-r y|n] [ALL|PLIB|OSG|OPENRTI|SIMGEAR|FGFS|FGO|FGX|FGRUN|FGCOM|FGCOMGUI|ATLAS] [UPDATE]"
+	echo "./$0 [-u] [-h] [-s] [-e] [-i] [-g] [-a y|n] [-c y|n] [-p y|n] [-d y|n] [-r y|n] [ALL|PLIB|OSG|OPENRTI|SIMGEAR|FGFS|FGO|FGX|FGRUN|FGCOM|FGCOMGUI|OPENRADAR|ATLAS] [UPDATE]"
 	echo "* without options it recompiles: PLIB,OSG,OPENRTI,SIMGEAR,FGFS,FGRUN"
-	echo "* Using ALL compiles everything"
+	echo "* Using ALL (re)compiles everything except PLIB, OSG, OPENRADAR and ATLAS"
 	echo "* Adding UPDATE it does not rebuild all (faster but to use only after one successfull first compile)"
 	echo "Switches:"
 	echo "* -u  such as using UPDATE"
@@ -271,7 +271,7 @@
 echo "**************************************"
 echo "*                                    *"
 echo "* Warning, the compilation process   *"
-echo "* is going to use 12 or more Gbytes  *"
+echo "* is going to use 20 or more Gbytes  *"
 echo "* of space and at least a couple of  *"
 echo "* hours to download and build FG.    *"
 echo "*                                    *"
@@ -1075,7 +1075,8 @@
 
 	if [ "$DOWNLOAD" = "y" ]
 	then
-		wget http://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo/download/fgo-1-3-1.tar.gz?attredirects=0 -O fgo-1-3-1.tar.gz
+		echo "..if you want a rebuild with fresh fgo code, delete your current fgo tarball and source tree, and re-run." 
+		wget -c http://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo/download/fgo-1-3-1.tar.gz?attredirects=0 -O fgo-1-3-1.tar.gz
 		cd install
 		tar zxvf ../fgo-1-3-1.tar.gz
 
@@ -1480,7 +1481,8 @@
 
 	if [ "$DOWNLOAD" = "y" ]
 	then
-		wget $OR_STABLE_RELEASE -O OpenRadar.zip
+		echo "..if you want a rebuild with fresh OpenRadar code, delete your current OpenRadar zipfile and source tree, and re-run."
+		wget -c $OR_STABLE_RELEASE -O OpenRadar.zip
 		cd install
 		unzip ../OpenRadar.zip
 		cd ..
@@ -1538,7 +1540,8 @@
 				./autogen.sh 2>&1 | tee -a $LOGFILE
 				echo "CONFIGURE ATLAS" >> $LOGFILE
 				cd "$CBD"/build/atlas
-				../../Atlas/configure --prefix=$INSTALL_DIR_ATLAS --exec-prefix=$INSTALL_DIR_ATLAS  --with-plib=$INSTALL_DIR_PLIB --with-simgear="$INSTALL_DIR_SIMGEAR" --with-fgbase="$INSTALL_DIR_FGFS/fgdata" CXXFLAGS="$CXXFLAGS -I$CBD/OpenSceneGraph/include" 2>&1 | tee -a $LOGFILE
+				#../../Atlas/configure --prefix=$INSTALL_DIR_ATLAS --exec-prefix=$INSTALL_DIR_ATLAS  --with-plib=$INSTALL_DIR_PLIB --with-simgear="$INSTALL_DIR_SIMGEAR" --with-fgbase="$INSTALL_DIR_FGFS/fgdata" CXXFLAGS="$CXXFLAGS -I$CBD/OpenSceneGraph/include" 2>&1 | tee -a $LOGFILE
+				../../Atlas/configure --prefix=$INSTALL_DIR_ATLAS --exec-prefix=$INSTALL_DIR_ATLAS  --with-plib=/usr --with-simgear="$INSTALL_DIR_SIMGEAR" --with-fgbase="$INSTALL_DIR_FGFS/fgdata" CXXFLAGS="$CXXFLAGS -I/usr/include " 2>&1 | tee -a $LOGFILE
 				make clean
 			fi
 		fi
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to