scons conf.CheckLib() does not find libcppunit even though it is there and working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS SDK |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On our system, building with the vanilla SConstruct file fails because scons does not find the cppunit library:
jan@nepomuk:
Executing: scons dbg --warn=
scons: Reading SConscript files ...
Checking for icecc compiler...(cached) no
Checking for C library cppunit... no
cppunit library missing
However, libcppunit is installed on the system:
ls /usr/lib64/
/usr/lib64/
/usr/lib64/
When the CheckLlib is commented in the SConstruct, the compilation works flawlessly and the unit tests run without errors.
for lib in ['cppunit', 'python2.5']:
- if conf.CheckLib(lib):
+# if conf.CheckLib(lib):
- else:
- print lib+ ' library missing'
- Exit(1)
+# else:
+# print lib+ ' library missing'
+# Exit(1)
This happens on a openSUSE 11.0 (X86-64) system as well as on a Fedora release 8 (Werewolf) (X86-64) system.
Changed in openwns-sdk: | |
status: | New → Confirmed |