If the directory that the source code lives in is called `mongo` for its last pathname element, then IDL and SCons both get confused and don't do the right thing.
IDL doesn't emit the right pathnames for `#include` statements, but this is an easy fix.
SCons doesn't seem to understand that it needs to build some IDL headers, however.
This does not seem to be an issue if the source code directory is named something OTHER than `mongo` (or at least doesn't contain the string "mongo" within the name)
- duplicates
-
SERVER-51119 Out-of-source builds fail, "mongo/src/mongo/db/sorter/sorter_gen.h: No such file or directory"
- Closed
- has to be done before
-
SERVER-51119 Out-of-source builds fail, "mongo/src/mongo/db/sorter/sorter_gen.h: No such file or directory"
- Closed