-
Notifications
You must be signed in to change notification settings - Fork 106
Building without python causes repeated failures #238
Comments
Can we / do we work with any version of Python or do we strictly require Python 2.7? |
Unclear. But that script is very simple, so I expect the version doesn't matter. |
Regardless of the Python version question, it seems like we'll / I'll need to differentiate between the "--{enable,disable}-python" support option (which is mostly about Device Manager and Happy) and just having a Python interpreter. Having a Python interpreter will be flat-out required, independent of the "--{enable,disable}-python" option. I'll take a pass at coding this up. |
It would also be nice to not have a version of ASN1OID.h checked in at all, and to have the make logic generate the script in the build directory, rather than the source directory. |
Addressed in #240. |
Resolved. |
Later Ubuntu releases do not come with a 'python' executable (i.e. python 2.7) installed by default. Building OpenWeave on such a system results in a failure while attempting to run the gen-oid-table.py script. Conveniently, the generated error message properly identifies that the python command was not found.
However, as a result of this failure, the ASN1OID.h file that is checked in as part of the openweave-core source tree is replaced with an empty file. Subsequently, any attempt to build OpenWeave, even after python 2.7 is installed, fails with the following error:
This must be corrected by reverting the ASN1OID.h file.
The text was updated successfully, but these errors were encountered: