0
을 설치 여기 설치 힌트를 따라파이썬 - cmake-buildsystem
31%] Built target extension_random
[ 31%] Building C object CMakeBuild/extensions/CMakeFiles/extension_readline.dir/home/sadik/scratch/Python-2.7.3/Modules/readline.c.o
/home/sadik/scratch/Python-2.7.3/Modules/readline.c: In function ‘setup_readline’:
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:889:24: error: ‘Function’ undeclared (first use in this function)
rl_startup_hook = (Function *)on_startup_hook;
^
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:889:24: note: each undeclared identifier is reported only once for each function it appears in
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:889:34: error: expected expression before ‘)’ token
rl_startup_hook = (Function *)on_startup_hook;
^
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:891:36: error: expected expression before ‘)’ token
rl_pre_input_hook = (Function *)on_pre_input_hook;
^
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:894:41: error: ‘CPPFunction’ undeclared (first use in this function)
rl_attempted_completion_function = (CPPFunction *)flex_complete;
^
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:894:54: error: expected expression before ‘)’ token
rl_attempted_completion_function = (CPPFunction *)flex_complete;
^
/home/sadik/scratch/Python-2.7.3/Modules/readline.c: At top level:
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:739:1: warning: ‘on_startup_hook’ defined but not used [-Wunused-function]
on_startup_hook(void)
^
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:746:1: warning: ‘on_pre_input_hook’ defined but not used [-Wunused-function]
on_pre_input_hook(void)
^
/home/sadik/scratch/Python-2.7.3/Modules/readline.c:841:1: warning: ‘flex_complete’ defined but not used [-Wunused-function]
flex_complete(char *text, int start, int end)
^
make[2]: *** [CMakeBuild/extensions/CMakeFiles/extension_readline.dir/home/sadik/scratch/Python-2.7.3/Modules/readline.c.o] Fehler 1
make[1]: *** [CMakeBuild/extensions/CMakeFiles/extension_readline.dir/all] Fehler 2
make: *** [all] Fehler 2
그래서 난 저자에게 연락 할 방법이 없습니다 여기에서 그것을 시도하고있다. 어쩌면 누군가가 똑같은 문제를 겪었을 것입니다.