On 12/25/2010 07:37 PM, Sid Boyce wrote: > On 26/12/10 00:56, Donn Washburn wrote: >> Hey Group; >> >> I have had a problem mentioned today concerning PKGGLIBDIR. This was >> from a effort with cmake and ccmake. fgfs compiled completely but >> lacking a make check function I directly installed it. >> cmake showed pthreads and clock_gettime were not found. >> >> >> Tried it and got> Base package check failed ... Found version [none] >> at: @PKGLIBDIR >>> Please upgrade to version: 2.0.0. >> The problem was with fgfs and not with the fgdata. So I thought I would >> try a "configure" and make version. I like autoconf and automake much >> better because it spotted my earlier problem. >> >> It is in src/Main of todays git version and was not caught by cmake >> which went to 100% >> >> Enclosed is the make found error. cannot find -lsgephem >> >> make[1]: Entering directory `/mnt/sdb5/archive/fgfs/flightgear/src/Main' >> g++ -DPKGLIBDIR=\"/usr/share/flightgear\" -g -O2 -Wall -D_REENTRANT >> -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -o >> fgfs bootstrap.o libMain.a ../../src/Aircraft/libAircraft.a >> ../../src/ATCDCL/libATCDCL.a ../../src/Cockpit/libCockpit.a >> ../../src/Cockpit/built_in/libBuilt_in.a ../../src/Network/libNetwork.a >> ../../src/FDM/libFlight.a ../../src/FDM/ExternalNet/libExternalNet.a >> ../../src/FDM/ExternalPipe/libExternalPipe.a >> ../../src/FDM/JSBSim/libJSBSim.a >> ../../src/FDM/JSBSim/initialization/libInit.a >> ../../src/FDM/JSBSim/models/libModels.a >> ../../src/FDM/JSBSim/models/flight_control/libFlightControl.a >> ../../src/FDM/JSBSim/models/atmosphere/libAtmosphere.a >> ../../src/FDM/JSBSim/models/propulsion/libPropulsion.a >> ../../src/FDM/JSBSim/input_output/libInputOutput.a >> ../../src/FDM/JSBSim/math/libMath.a ../../src/FDM/YASim/libYASim.a >> ../../src/FDM/LaRCsim/libLaRCsim.a >> ../../src/FDM/UIUCModel/libUIUCModel.a ../../src/FDM/SP/libSPFDM.a >> ../../src/GUI/libGUI.a ../../src/Autopilot/libAutopilot.a >> ../../src/Input/libInput.a ../../src/Instrumentation/KLN89/libKLN89.a >> ../../src/Instrumentation/libInstrumentation.a >> ../../src/Instrumentation/HUD/libHUD.a ../../src/Model/libModel.a >> ../../src/Navaids/libNavaids.a ../../src/Scenery/libScenery.a >> ../../src/Scripting/libScripting.a ../../src/Sound/libSound.a >> ../../src/Airports/libAirports.a ../../src/MultiPlayer/libMultiPlayer.a >> ../../src/AIModel/libAIModel.a ../../src/ATC/libATC.a >> ../../src/Systems/libSystems.a ../../src/Time/libTime.a >> ../../src/Traffic/libTraffic.a ../../src/Environment/libEnvironment.a >> -lsgroute -lsgsky -lsgsound -lsgephem -lsgtgdb -lsgmodel -lsgbvh >> -lsgmaterial -lsgutil -lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket >> -lsgprops -lsgdebug -lsgmagvar -lsgmisc -lsgnasal -lsgxml -lsgsound >> -lsgserial -lsgstructure -lsgenvironment -lplibpuaux -lplibpu -lplibfnt >> -lplibjs -lplibsg -lplibul -lpthread<--Problem -lz -lglut -lGLU -lGL >> -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lrt -ldl -lm -lalut -lopenal >> -lrt -ldl -lm -lpthread -losgFX -losgParticle -losgSim -losgViewer >> -losgGA -losgText -losgDB -losgUtil -losg -lOpenThreads >> /usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld: >> cannot find -lsgephem<--Problem >> collect2: ld returned 1 exit status >> make[1]: *** [fgfs] Error 1 >> make[1]: Leaving directory `/mnt/sdb5/archive/fgfs/flightgear/src/Main' >> make: *** [all-recursive] Error 1 >> > It's supplied by SimGear. > Regards > Sid. > Downloading a new version of SimGear the last one must have had an error.
I am see this from strace (Tail). looks like a flight gear goof. munmap(0xb7718000, 4096) = 0 open("/home/donn/.alsoftrc", O_RDONLY) = -1 ENOENT (No such file or directory) futex(0xb613881c, FUTEX_WAKE_PRIVATE, 2147483647) = 0 brk(0x8f10000) = 0x8f10000 brk(0x8f31000) = 0x8f31000 rt_sigaction(SIGFPE, {0x8602a10, [FPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 time(NULL) = 1293328554 open("/home/donn/.fgfsrc.m1l-susehs.n5xwb.org", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/home/donn/.fgfsrc.m1l-susehs.n5xwb.org.gz", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/home/donn/.fgfsrc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) ope("/home/donn/.fgfsrc.gz", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("system.fgfsrc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("system.fgfsrc.gz", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("@PKGLIBDIR/data/version", 0xbfe3fd30) = -1 ENOENT (No such file or directory) open("@PKGLIBDIR/version", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("@PKGLIBDIR/version.gz", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("@PKGLIBDIR/Thanks", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) ***********The error shown by a knosole********* write(2, "\n", 1) = 1 write(2, "\n", 1) = 1 write(2, "Base package check failed ... ", 30) = 30 write(2, "Found version ", 14) = 14 write(2, "[none]", 6) = 6 write(2, " at: ", 5) = 5 write(2, "@PKGLIBDIR", 10) = 10 write(2, "\n", 1) = 1 write(2, "Please upgrade to version: ", 27) = 27 write(2, "2.0.0", 5) = 5 write(2, "\n", 1) = 1 getpid() = 23606 exit_group(-1) = ? -- 73 de Donn Washburn 307 Savoy Street Email:" n5...@comcast.net " Sugar Land, TX 77478 LL# 1.281.242.3256 Ham Callsign N5XWB HAMs : " n5...@arrl.net " VoIP via Gizmo: bmw_87kbike / via Skype: n5xwbg BMW MOA #: 4146 - Ambassador " http://counter.li.org " #279316 ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users