I would appreciate it if you can apply the attached patch and send me
the result... This boost detection business should not have been this
hard.
Maybe you only have .so files?
Thanks.
Bo
Index: development/scons/scons_utils.py
===================================================================
--- development/scons/scons_utils.py (revision 16341)
+++ development/scons/scons_utils.py (working copy)
@@ -173,11 +173,13 @@
lib_path = None
inc_path = None
for path in lib_paths:
+ print "Looking into ", path
for lib in libs:
# get all the libs, then filter for the right library
files = glob.glob(os.path.join(path, 'libboost_%s-*.a' % lib))
# check things like libboost_iostreams-gcc-mt-d-1_33_1.a
if len(files) > 0:
+ print "Find boost libraries: ", files
# runtime code includes s,g,y,d,p,n, where we should look for
# d,g,y for debug, s,p,n for release
lib_files = []
@@ -196,6 +198,7 @@
lib_names.append(lib_files[0].split(os.sep)[-1][3:-2])
else:
break
+ print "Qualified libraries: ", lib_files
if len(lib_names) == len(libs):
found_lib = True
lib_path = path
@@ -213,11 +216,13 @@
return True in [x in version_file_content for x in version_strings]
# check for boost header file
for path in inc_paths:
+ print "Checking for inc path: ", path
if isValidBoostDir(path):
inc_path = path
found_inc = True
else: # check path/boost_1_xx_x/boost
dirs = glob.glob(os.path.join(path, 'boost-*'))
+ print "Checing for sub directories: ", dirs
if len(dirs) > 0 and isValidBoostDir(dirs[0]):
inc_path = dirs[0]
found_inc = True