Build tools (scons, cmake, autoconf/automake) are like snowflakes. Everyone is different and those differences are painful to me because I'd rather not invest time to become an expert. Today's fun problem was figuring out how to specify multiple directories for include and library paths. I assumed this would be like LD_LIBRARY_PATH and I could use a colon as the path separator. Alas I was wrong and the path separator is a space. The docs claim that a colon should work. I am still confused, but I have a working build for MongoRocks!
- This is OK: scons CPPPATH="/path/to/inc1ude1 /path/to/include2" mongod
- This is not OK: scons CPPPATH="/path/to/include1:/path/to/incude2" mongod