Martin, It looks like there is a bug that has been introduced into the simgear configure.ac
There is a line that reads: AM_CONDITIONAL(HAVE_THREADS, test "x$enable_threads" = "xyes" -a "x$ac_cv_header_pthread_h" = "xyes") However, there is nothing in the script that sets $enable_threads so this is never true and the threads directory is never built or installed. So this will cause new installations to break, but existing installations (that are tracking cvs) probably won't notice because you'll alrady have these header files installed. Eric, I think you were the one updating the configure.ac scripts, could you take a look at this? Thanks, Curt. Martin Spott writes: > .... but even after reading the recent cvslog messages I dont' have an idea > how this Error could be related. Obviously simgear/threads doesn't get built > and installed. Platform is Linux/x86 with GCC-3.3, Automake-1.7.2, > Autoconf-2.57; same on Solaris8/Sparc (only difference is Automake-1.7.5). > Apparently the test for threads in FlightGear appears to return the correct > results: > > make[2]: Entering directory `/usr/local/src/FlightGear/src/ATC' > if g++ -march=pentiumpro -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. > -I../../src -I/opt/gnu/include -I/usr/local/include -I/usr/local/FlightGear/include > -I/usr/X11R6/include -O3 -g -D_REENTRANT -MT AILocalTraffic.o -MD -MP -MF > ".deps/AILocalTraffic.Tpo" \ > -c -o AILocalTraffic.o `test -f 'AILocalTraffic.cxx' || echo > './'`AILocalTraffic.cxx; \ > then mv ".deps/AILocalTraffic.Tpo" ".deps/AILocalTraffic.Po"; \ > else rm -f ".deps/AILocalTraffic.Tpo"; exit 1; \ > fi > In file included from AILocalTraffic.cxx:31: > ../../src/Scenery/tilemgr.hxx:42:41: simgear/threads/SGQueue.hxx: File or directory > not found > In file included from ../../src/Scenery/tilemgr.hxx:45, > from AILocalTraffic.cxx:31: > ../../src/Scenery/FGTileLoader.hxx:31:42: simgear/threads/SGThread.hxx: File or > directory not found > ../../src/Scenery/FGTileLoader.hxx:32:41: simgear/threads/SGQueue.hxx: File or > directory not found > In file included from ../../src/Scenery/tilemgr.hxx:45, > from AILocalTraffic.cxx:31: > > > In simgear/Makefile $SGTHREAD_DIR is commented out after I ran 'configure': > > quickstep: 12:18:08 /usr/local/src/SimGear> grep SGTHREAD_DIR simgear/Makefile > #SGTHREAD_DIR = threads > SGTHREAD_DIR = > $(SGTHREAD_DIR) \ > > > _but_ 'configure' notices the presence of thread support: > > quickstep: 12:19:10 /usr/local/src/SimGear> grep -i thread configure.log > checking pthread.h usability... yes > checking pthread.h presence... yes > checking for pthread.h... yes > checking for pthread_exit in -lpthread... yes > config.status: creating simgear/threads/Makefile > Threads: pthread lib found. > > > Anyone able to fix this ? > > Martin. > -- > Unix _IS_ user friendly - it's just selective about who its friends are ! > -------------------------------------------------------------------------- > > _______________________________________________ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities curt 'at' me.umn.edu curt 'at' flightgear.org Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
