Here is the build log showing the errors: Python-2.7.3/Modules/readline.c: In function 'setup_readline': Python-2.7.3/Modules/readline.c:889:24: error: 'Function' undeclared (first use in this function) Python-2.7.3/Modules/readline.c:889:24: note: each undeclared identifier is reported only once for each function it appears in Python-2.7.3/Modules/readline.c:889:34: error: expected expression before ')' token Python-2.7.3/Modules/readline.c:891:36: error: expected expression before ')' token Python-2.7.3/Modules/readline.c:894:41: error: 'CPPFunction' undeclared (first use in this function) Python-2.7.3/Modules/readline.c:894:54: error: expected expression before ')' token Python-2.7.3/Modules/readline.c: At top level: Python-2.7.3/Modules/readline.c:739:1: warning: 'on_startup_hook' defined but not used [-Wunused-function] Python-2.7.3/Modules/readline.c:746:1: warning: 'on_pre_input_hook' defined but not used [-Wunused-function] Python-2.7.3/Modules/readline.c:841:1: warning: 'flex_complete' defined but not used [-Wunused-function]
This issue was fixed.