That's a possible fix, I guess. The real issue is why does SCons add libs to the environment before conf.Finish()? I'm assuming it's in case the conf.Check*() have library dependencies between them, but they should still make an option to not add libs until the end. That way each conf.Check*() gets a fresh environment and there are no strange linking errors.
As far as speed is concerned, the checks are cached anyway so it would only improve the initial run, and probably only by milliseconds. NLSW: Fedora needs to fix their PREFIX/lib/pkgconfig/libnotify.pc to add gtk+-2.0 as a dependency. You might want to bring that up with them. ** Tags added: build ** Tags removed: pthread -- headers not found at compilation https://bugs.launchpad.net/bugs/671384 You received this bug notification because you are a member of LinuxDC++ Team, which is subscribed to LinuxDC++. Status in Linux DC++: Confirmed Bug description: Detailed description of the issue: scons fails to detect any headers required for compilation. When i type scons in main directory I get: scons: Reading SConscript files ... CXX env variable is not set, attempting to use g++ Checking for g++ >= 4.1...(cached) yes Checking for pkg-config... yes Checking for gtk+-2.0 >= 2.10... yes Checking for gthread-2.0 >= 2.4... yes Checking for libglade-2.0 >= 2.4... yes Checking for libnotify >= 0.4.1... yes Checking for C++ header file boost/version.hpp... yes Checking for C header file time.h... yes Checking for C header file signal.h... yes Checking for C header file unistd.h... yes Checking for C library pthread... no pthread library not found Note: You might have the lib but not the headers I've got headers for pthread.h in /usr/include directory. Steps to reproduce: 1. get source from trunk 2. scons Expected results: Start compiling Actual results: No compilation Version: linuxdcpp from trunk (r400) OS: Fedora 14 32bit _______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : [email protected] Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp

