On Mon, 2016-02-29 at 17:46 +0000, Flores, Paul A. wrote: > I am attempting to build QPID Proton 12 and seeing the following > errors: > > > > Note: Some input files use or override a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > ImportError: No module named site > make[2]: *** [proton-c/src/protocol.h] Error 1 > ImportError: No module named site > make[2]: *** [proton-c/src/encodings.h] Error 1
This error is happening because the version of python that cmake has found is wrong and so it can't run python to generate these files. > ... > (WHY > > -- Found PythonInterp: /usr/bin/python (found version "1.4") > .... > -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES > PYTHON_INCLUDE_DIRS) (Required is exact version "1.4") > > ) You appear to have a python 1.4 version installed so that cmake found it in preference to a more useful version of python. Try setting your path so that it isn't found before you run cmake. (1.4 seems odd though as it is so old) Andrew