2014-07-14 1 views
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 

그래서 난 저자에게 연락 할 방법이 없습니다 여기에서 그것을 시도하고있다. 어쩌면 누군가가 똑같은 문제를 겪었을 것입니다.

답변

0

@jcfr은 (자신은) 지금은 (readline에 관련된) c0715508에 의해 고정 된 것으로보고 된 것과 유사 python-cmake-buildsystem/issues/6

문제점이에 파이썬 - cmake-buildsystem, 자세한 내용을 유지하고있다. 현재 버전으로 문제가 해결되지 않는 경우. 관련 github 추적기에서 컨텍스트 (CMake, 컴파일러, 운영 체제 등)에 대한 자세한 내용을 제공하는 것이 좋습니다.