On 12/25/2010 08:17 PM, Donn Washburn wrote:
> 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.
>
Hey Group;

It was my mistake.  I use scripts to load in all of the configure data.  
I have been doing this for years.
It seems now that GNU has changed the way automake, autoconf or what 
ever to not look at --exec-prefix.  It is seen as "/" not as /usr.  
HInce it puts and thing with exec-prefix in "/" directory such as /bin 
instead of /usr/bin/ .  My problem came from /usr/share/flightgear 
(correct) and /share/flightgear (wrong).   I have heard of a temp fix 
for Makefile.in or configure.in and that seems to work.

Anyway - Thanks for all of the suggessions

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

Reply via email to