On Sat, 2009-08-01 at 12:39 +0800, zenith siea wrote: > hello every one! > I want to install flightgear from source on my computer > which os is Ubuntu. After configure without errors, I typed make, > messages dumping during the procedure about some minutes, at last, it > stops with these error messages on screen: > > g++ -g -O2 -D_REENTRANT -L/usr/local/lib -o test-text test-text.o > -losgParticle -losgSim -losgViewer -losgGA -losgText -losgDB -losgUtil > -losg -lOpenThreads -ljpeg -losgFX > g++ -DHAVE_CONFIG_H -I. -I../src/Include -I/usr/local/include -g > -O2 -D_REENTRANT -MT test-up.o -MD -MP -MF .deps/test-up.Tpo -c -o > test-up.o test-up.cxx > mv -f .deps/test-up.Tpo .deps/test-up.Po > g++ -g -O2 -D_REENTRANT -L/usr/local/lib -o test-up test-up.o > -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg > -lplibul -lz -ldl -lm -losgParticle -losgSim -losgViewer -losgGA > -losgText -losgDB -losgUtil -losg -lOpenThreads -ljpeg -losgFX > /usr/bin/ld: cannot find -lsgmath > collect2: ld returned 1 exit status > make[1]: *** [test-up] Error 1 > make[1]: Leaving directory > `/home/xiaobai/blackjadelin/FlightGear/FlightGear-1.9.1/tests' > make: *** [all-recursive] Error 1 > xiao...@xiaobaitu:~/blackjadelin/FlightGear/FlightGear-1.9.1$ > > I have googled, but found an unresolved problem on the flightgear mail > list, again, I encountered the same installing trouble, any useful > hints here? thanks!
If you have ubuntu's simgear package installed, that's your problem. You must build simgear to match flightgear. Also, the ubuntu package builds shared libraries and the flightgear make wants static libraries so the linker is probably looking for libsgmath.a when ubuntu provides libsgmath.so... Ron ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users