当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装bzr时的问题
帖子发表于 : 2009-09-29 16:31 

注册: 2009-09-22 16:47
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
安装bzr时
python setup.py install
结果出来一大堆错误。。。不知是少了什么东西还是其他的什么问题。。。
貌似很白痴,在下新手,还请各位高人多多指教。。。 :em06

The python package 'Pyrex' is not available. If the .c files are available,
they will be built, but modifying the .pyx files will not rebuild them.

running install
running build
running build_py
running build_ext
building 'bzrlib._annotator_pyx' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c bzrlib/_annotator_pyx.c -o build/temp.linux-i686-2.6/bzrlib/_annotator_pyx.o
bzrlib/_annotator_pyx.c:4:20: 错误: Python.h:没有该文件或目录
bzrlib/_annotator_pyx.c:5:26: 错误: structmember.h:没有该文件或目录
bzrlib/_annotator_pyx.c:33: 错误: expected specifier-qualifier-list before ‘PyObject’
bzrlib/_annotator_pyx.c:34: 错误: expected specifier-qualifier-list before ‘PyObject’
bzrlib/_annotator_pyx.c:36: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:37: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:44: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:46: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:48: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:50: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:52: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:54: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:56: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:57: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:67: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:68: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:69: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:70: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:71: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:72: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:79: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:80: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:81: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:82: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:83: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:84: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:86: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:88: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:89: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:94: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:149: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:150: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:155: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:230: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:257: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:261: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:488: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:584: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:788: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:790: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:792: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__pyx_mdef_14_annotator_pyx_9Annotator__update_from_first_parent’
bzrlib/_annotator_pyx.c:793: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:863: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:865: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:867: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__pyx_mdef_14_annotator_pyx_9Annotator__update_from_other_parents’
bzrlib/_annotator_pyx.c:868: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:943: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:944: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:945: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:946: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:947: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:950: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:952: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__pyx_mdef_14_annotator_pyx_9Annotator_annotate_flat’
bzrlib/_annotator_pyx.c:953: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:1165: 错误: ‘__pyx_n_Annotator’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1165: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1165: 警告: (在‘__pyx_intern_tab[0]’的初始化附近)
bzrlib/_annotator_pyx.c:1165: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1165: 警告: (在‘__pyx_intern_tab[0]’的初始化附近)
bzrlib/_annotator_pyx.c:1166: 错误: ‘__pyx_n__ann_tuple_cache’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1166: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1166: 警告: (在‘__pyx_intern_tab[1]’的初始化附近)
bzrlib/_annotator_pyx.c:1166: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1166: 警告: (在‘__pyx_intern_tab[1]’的初始化附近)
bzrlib/_annotator_pyx.c:1167: 错误: ‘__pyx_n__annotator_py’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1167: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1167: 警告: (在‘__pyx_intern_tab[2]’的初始化附近)
bzrlib/_annotator_pyx.c:1167: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1167: 警告: (在‘__pyx_intern_tab[2]’的初始化附近)
bzrlib/_annotator_pyx.c:1168: 错误: ‘__pyx_n__break_annotation_tie’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1168: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1168: 警告: (在‘__pyx_intern_tab[3]’的初始化附近)
bzrlib/_annotator_pyx.c:1168: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1168: 警告: (在‘__pyx_intern_tab[3]’的初始化附近)
bzrlib/_annotator_pyx.c:1169: 错误: ‘__pyx_n__get_heads_provider’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1169: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1169: 警告: (在‘__pyx_intern_tab[4]’的初始化附近)
bzrlib/_annotator_pyx.c:1169: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1169: 警告: (在‘__pyx_intern_tab[4]’的初始化附近)
bzrlib/_annotator_pyx.c:1170: 错误: ‘__pyx_n__get_parent_annotations_and_matches’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1170: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1170: 警告: (在‘__pyx_intern_tab[5]’的初始化附近)
bzrlib/_annotator_pyx.c:1170: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1170: 警告: (在‘__pyx_intern_tab[5]’的初始化附近)
bzrlib/_annotator_pyx.c:1171: 错误: ‘__pyx_n__resolve_annotation_tie’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1171: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1171: 警告: (在‘__pyx_intern_tab[6]’的初始化附近)
bzrlib/_annotator_pyx.c:1171: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1171: 警告: (在‘__pyx_intern_tab[6]’的初始化附近)
bzrlib/_annotator_pyx.c:1172: 错误: ‘__pyx_n__update_from_first_parent’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1172: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1172: 警告: (在‘__pyx_intern_tab[7]’的初始化附近)
bzrlib/_annotator_pyx.c:1172: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1172: 警告: (在‘__pyx_intern_tab[7]’的初始化附近)
bzrlib/_annotator_pyx.c:1173: 错误: ‘__pyx_n__update_from_other_parents’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1173: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1173: 警告: (在‘__pyx_intern_tab[8]’的初始化附近)
bzrlib/_annotator_pyx.c:1173: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1173: 警告: (在‘__pyx_intern_tab[8]’的初始化附近)
bzrlib/_annotator_pyx.c:1174: 错误: ‘__pyx_n_annotate’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1174: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1174: 警告: (在‘__pyx_intern_tab[9]’的初始化附近)
bzrlib/_annotator_pyx.c:1174: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1174: 警告: (在‘__pyx_intern_tab[9]’的初始化附近)
bzrlib/_annotator_pyx.c:1175: 错误: ‘__pyx_n_annotate_flat’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1175: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1175: 警告: (在‘__pyx_intern_tab[10]’的初始化附近)
bzrlib/_annotator_pyx.c:1175: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1175: 警告: (在‘__pyx_intern_tab[10]’的初始化附近)
bzrlib/_annotator_pyx.c:1176: 错误: ‘__pyx_n_bzrlib’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1176: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1176: 警告: (在‘__pyx_intern_tab[11]’的初始化附近)
bzrlib/_annotator_pyx.c:1176: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1176: 警告: (在‘__pyx_intern_tab[11]’的初始化附近)
bzrlib/_annotator_pyx.c:1177: 错误: ‘__pyx_n_heads’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1177: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1177: 警告: (在‘__pyx_intern_tab[12]’的初始化附近)
bzrlib/_annotator_pyx.c:1177: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1177: 警告: (在‘__pyx_intern_tab[12]’的初始化附近)
bzrlib/_annotator_pyx.c:1178: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1178: 警告: (在‘__pyx_intern_tab[13]’的初始化附近)
bzrlib/_annotator_pyx.c:1178: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1178: 警告: (在‘__pyx_intern_tab[13]’的初始化附近)
bzrlib/_annotator_pyx.c:1182: 错误: ‘__pyx_k4p’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1182: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1182: 警告: (在‘__pyx_string_tab[0]’的初始化附近)
bzrlib/_annotator_pyx.c:1182: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1182: 警告: (在‘__pyx_string_tab[0]’的初始化附近)
bzrlib/_annotator_pyx.c:1182: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1182: 警告: (在‘__pyx_string_tab[0]’的初始化附近)
bzrlib/_annotator_pyx.c:1183: 错误: ‘__pyx_k5p’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1183: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1183: 警告: (在‘__pyx_string_tab[1]’的初始化附近)
bzrlib/_annotator_pyx.c:1183: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1183: 警告: (在‘__pyx_string_tab[1]’的初始化附近)
bzrlib/_annotator_pyx.c:1183: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1183: 警告: (在‘__pyx_string_tab[1]’的初始化附近)
bzrlib/_annotator_pyx.c:1184: 错误: ‘__pyx_k6p’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1184: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1184: 警告: (在‘__pyx_string_tab[2]’的初始化附近)
bzrlib/_annotator_pyx.c:1184: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1184: 警告: (在‘__pyx_string_tab[2]’的初始化附近)
bzrlib/_annotator_pyx.c:1184: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1184: 警告: (在‘__pyx_string_tab[2]’的初始化附近)
bzrlib/_annotator_pyx.c:1185: 错误: ‘__pyx_k7p’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1185: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1185: 警告: (在‘__pyx_string_tab[3]’的初始化附近)
bzrlib/_annotator_pyx.c:1185: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1185: 警告: (在‘__pyx_string_tab[3]’的初始化附近)
bzrlib/_annotator_pyx.c:1185: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1185: 警告: (在‘__pyx_string_tab[3]’的初始化附近)
bzrlib/_annotator_pyx.c:1186: 错误: ‘__pyx_k8p’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1186: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1186: 警告: (在‘__pyx_string_tab[4]’的初始化附近)
bzrlib/_annotator_pyx.c:1186: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1186: 警告: (在‘__pyx_string_tab[4]’的初始化附近)
bzrlib/_annotator_pyx.c:1186: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1186: 警告: (在‘__pyx_string_tab[4]’的初始化附近)
bzrlib/_annotator_pyx.c:1187: 错误: ‘__pyx_k9p’未声明(不在函数内)
bzrlib/_annotator_pyx.c:1187: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1187: 警告: (在‘__pyx_string_tab[5]’的初始化附近)
bzrlib/_annotator_pyx.c:1187: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1187: 警告: (在‘__pyx_string_tab[5]’的初始化附近)
bzrlib/_annotator_pyx.c:1187: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1187: 警告: (在‘__pyx_string_tab[5]’的初始化附近)
bzrlib/_annotator_pyx.c:1188: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1188: 警告: (在‘__pyx_string_tab[6]’的初始化附近)
bzrlib/_annotator_pyx.c:1188: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1188: 警告: (在‘__pyx_string_tab[6]’的初始化附近)
bzrlib/_annotator_pyx.c:1188: 警告: 结构初始值设定项中有多余元素
bzrlib/_annotator_pyx.c:1188: 警告: (在‘__pyx_string_tab[6]’的初始化附近)
bzrlib/_annotator_pyx.c:1191: 错误: 数组元素的类型不完全
bzrlib/_annotator_pyx.c:1197: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘init_annotator_pyx’
bzrlib/_annotator_pyx.c:1198: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘init_annotator_pyx’
bzrlib/_annotator_pyx.c:1278: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:1311: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:1319: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:1336: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c:1399: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:1414: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c: 在函数‘__Pyx_UnpackError’中:
bzrlib/_annotator_pyx.c:1430: 警告: 隐式声明函数‘PyErr_SetString’
bzrlib/_annotator_pyx.c:1430: 错误: ‘PyExc_ValueError’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1430: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
bzrlib/_annotator_pyx.c:1430: 错误: 所在的函数内也只报告一次。)
bzrlib/_annotator_pyx.c: 在文件层:
bzrlib/_annotator_pyx.c:1433: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
bzrlib/_annotator_pyx.c:1442: 错误: expected ‘)’ before ‘*’ token
bzrlib/_annotator_pyx.c: 在函数‘__Pyx_InternStrings’中:
bzrlib/_annotator_pyx.c:1456: 错误: ‘__Pyx_InternTabEntry’没有名为‘p’的成员
bzrlib/_annotator_pyx.c:1457: 错误: ‘__Pyx_InternTabEntry’没有名为‘p’的成员
bzrlib/_annotator_pyx.c:1457: 警告: 隐式声明函数‘PyString_InternFromString’
bzrlib/_annotator_pyx.c:1457: 错误: ‘__Pyx_InternTabEntry’没有名为‘s’的成员
bzrlib/_annotator_pyx.c:1458: 错误: ‘__Pyx_InternTabEntry’没有名为‘p’的成员
bzrlib/_annotator_pyx.c: 在函数‘__Pyx_InitStrings’中:
bzrlib/_annotator_pyx.c:1466: 错误: ‘__Pyx_StringTabEntry’没有名为‘p’的成员
bzrlib/_annotator_pyx.c:1467: 错误: ‘__Pyx_StringTabEntry’没有名为‘p’的成员
bzrlib/_annotator_pyx.c:1467: 警告: 隐式声明函数‘PyString_FromStringAndSize’
bzrlib/_annotator_pyx.c:1467: 错误: ‘__Pyx_StringTabEntry’没有名为‘s’的成员
bzrlib/_annotator_pyx.c:1467: 错误: ‘__Pyx_StringTabEntry’没有名为‘n’的成员
bzrlib/_annotator_pyx.c:1468: 错误: ‘__Pyx_StringTabEntry’没有名为‘p’的成员
bzrlib/_annotator_pyx.c:1475:21: 错误: compile.h:没有该文件或目录
bzrlib/_annotator_pyx.c:1476:25: 错误: frameobject.h:没有该文件或目录
bzrlib/_annotator_pyx.c:1477:23: 错误: traceback.h:没有该文件或目录
bzrlib/_annotator_pyx.c: 在函数‘__Pyx_AddTraceback’中:
bzrlib/_annotator_pyx.c:1480: 错误: ‘PyObject’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1480: 错误: ‘py_srcfile’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1481: 错误: ‘py_funcname’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1482: 错误: ‘py_globals’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1483: 错误: ‘empty_tuple’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1484: 错误: ‘empty_string’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1485: 错误: ‘PyCodeObject’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1485: 错误: ‘py_code’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1486: 错误: ‘PyFrameObject’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1486: 错误: ‘py_frame’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1488: 警告: 隐式声明函数‘PyString_FromString’
bzrlib/_annotator_pyx.c:1492: 警告: 隐式声明函数‘PyModule_GetDict’
bzrlib/_annotator_pyx.c:1492: 错误: ‘__pyx_m’未声明(在此函数内第一次使用)
bzrlib/_annotator_pyx.c:1494: 警告: 隐式声明函数‘PyTuple_New’
bzrlib/_annotator_pyx.c:1498: 警告: 隐式声明函数‘PyCode_New’
bzrlib/_annotator_pyx.c:1515: 警告: 隐式声明函数‘PyFrame_New’
bzrlib/_annotator_pyx.c:1516: 警告: 隐式声明函数‘PyThreadState_Get’
bzrlib/_annotator_pyx.c:1523: 警告: 隐式声明函数‘PyTraceBack_Here’
bzrlib/_annotator_pyx.c:1525: 警告: 隐式声明函数‘Py_XDECREF’

Cannot build extension "bzrlib._annotator_pyx".
Use "build_ext --allow-python-fallback" to use slower python implementations instead.

error: command 'gcc' failed with exit status 1


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装bzr时的问题
帖子发表于 : 2009-09-29 17:08 
头像

注册: 2007-09-29 3:09
帖子: 5773
送出感谢: 0 次
接收感谢: 3
引用:
bzrlib/_annotator_pyx.c:4:20: 错误: Python.h:没有该文件或目录


_________________
HUNT Unfortunately No Talent...


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 安装bzr时的问题
帖子发表于 : 2009-09-29 17:11 
头像

注册: 2007-09-29 3:09
帖子: 5773
送出感谢: 0 次
接收感谢: 3
http://packages.ubuntu.com/search?searchon=contents&keywords=Python.h&mode=exactfilename&suite=jaunty&arch=any


_________________
HUNT Unfortunately No Talent...


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 安装bzr时的问题
帖子发表于 : 2009-10-17 0:13 

注册: 2008-10-31 22:12
帖子: 6546
系统: 践兔
送出感谢: 18
接收感谢: 25
代码:
>> sudo apt-file search /Python.h
babel-doc: /usr/share/doc/babel-doc/compiler-javadoc/gov/llnl/babel/backend/python/Python.html
libghc6-highlighting-kate-dev: /usr/lib/haskell-packages/ghc6/lib/highlighting-kate-0.2.1/ghc-6.8.2/Text/Highlighting/Kate/Syntax/Python.hi
lp-solve-doc: /usr/share/doc/lp-solve-doc/Python.htm
pike7.6-reference: /usr/share/doc/pike7.6-doc/html/reference/ex/predef_3A_3A/Parser/Python.html
python2.4-dbg: /usr/include/python2.4_d/Python.h
python2.4-dev: /usr/include/python2.4/Python.h
python2.5-dbg: /usr/include/python2.5_d/Python.h
python2.5-dev: /usr/include/python2.5/Python.h
python2.6-dbg: /usr/include/python2.6_d/Python.h
python2.6-dev: /usr/include/python2.6/Python.h
python3.0-dbg: /usr/include/python3.0_d/Python.h
python3.0-dev: /usr/include/python3.0/Python.h
swig-doc: /usr/share/doc/swig-doc/Manual/Python.html

代码:
sudo aptitude install python-<your-python-version>-dev


_________________
代码:
] ls -ld //


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 安装bzr时的问题
帖子发表于 : 2010-07-06 19:01 

注册: 2010-07-06 18:59
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
我在安装Tinyos的时候遇到类似问题,希望对你有帮助

修改Python.h的默认路径:
vim /opt/tinyos-2.1.1/support/make/sim.extra
修改
PYTHON_VERSION=改成你当前的python版本
或者
PYDIR = $(shell python$(PYTHON_VERSION)-config --prefix)/include/python$(PYTHON_VERSION)
直接修改为
PYDIR = 你的python目录

Tinyos检测时认为python是2.5版本,所以自动去/usr/include/python2.5找了,但是我的python是2.6,/usr/include/python2.6下面


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译