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.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


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

Reply via email to