- 主题:安装ytht web时的错误
make installnewt时出现
太多,未全贴出
snackmodule.c:1117: parse error before "PyObject"
snackmodule.c:1117: warning: return type defaults to `int'
snackmodule.c: In function `widgetCheckboxTreeSetCurrent':
snackmodule.c:1120: `args' undeclared (first use in this function)
snackmodule.c:1122: `s' undeclared (first use in this function)
snackmodule.c:1124: `Py_None' undeclared (first use in this function)
snackmodule.c: At top level:
snackmodule.c:1128: parse error before '*' token
snackmodule.c:1128: parse error before "PyObject"
snackmodule.c:1128: warning: return type defaults to `int'
snackmodule.c: In function `widgetCheckboxTreeSetEntryValue':
snackmodule.c:1132: `args' undeclared (first use in this function)
snackmodule.c:1134: `s' undeclared (first use in this function)
snackmodule.c:1138: `Py_None' undeclared (first use in this function)
snackmodule.c: At top level:
snackmodule.c:1142: parse error before '*' token
snackmodule.c:1142: parse error before "PyObject"
snackmodule.c:1142: warning: return type defaults to `int'
snackmodule.c: In function `widgetCheckboxTreeGetEntryValue':
snackmodule.c:1148: `args' undeclared (first use in this function)
snackmodule.c:1150: `s' undeclared (first use in this function)
snackmodule.c:1166: warning: return makes pointer from integer without a cast
snackmodule.c: At top level:
snackmodule.c:1169: parse error before '*' token
snackmodule.c:1170: parse error before "PyObject"
snackmodule.c:1170: warning: return type defaults to `int'
snackmodule.c: In function `widgetCheckboxTreeGetSel':
snackmodule.c:1174: `PyObject' undeclared (first use in this function)
snackmodule.c:1174: `sel' undeclared (first use in this function)
snackmodule.c:1176: `args' undeclared (first use in this function)
snackmodule.c:1179: `s' undeclared (first use in this function)
snackmodule.c:1181: warning: implicit declaration of function `PyList_New'
snackmodule.c:1189: warning: implicit declaration of function `PyList_Append'
snackmodule.c: In function `init_snack':
snackmodule.c:1197: `PyObject' undeclared (first use in this function)
snackmodule.c:1197: `d' undeclared (first use in this function)
snackmodule.c:1197: `m' undeclared (first use in this function)
snackmodule.c:1197: warning: left-hand operand of comma expression has no effect
snackmodule.c:1199: warning: implicit declaration of function `Py_InitModule'
snackmodule.c:1200: warning: implicit declaration of function `PyModule_GetDict'
snackmodule.c:1202: warning: implicit declaration of function `PyDict_SetItemString'
snackmodule.c:1214: warning: implicit declaration of function `PyString_FromString'
/usr/include/sys/stat.h: At top level:
snackmodule.c:21: storage size of `suspend' isn't known
snackmodule.c:22: storage size of `helpCallback' isn't known
snackmodule.c:175: storage size of `scs' isn't known
snackmodule.c:563: warning: `buttonWidget' defined but not used
snackmodule.c:575: warning: `compactbuttonWidget' defined but not used
snackmodule.c:675: warning: `checkboxWidget' defined but not used
snackmodule.c:711: warning: `entryWidget' defined but not used
snackmodule.c:730: warning: `formCreate' defined but not used
snackmodule.c:745: warning: `gridCreate' defined but not used
snackmodule.c:587: warning: `labelWidget' defined but not used
snackmodule.c:621: warning: `listboxWidget' defined but not used
snackmodule.c:657: warning: `radioButtonWidget' defined but not used
snackmodule.c:638: warning: `textWidget' defined but not used
snackmodule.c:1036: warning: `checkboxTreeWidget' defined but not used
make[1]: *** [snackmodule.o] Error 1
rm scrollbar.o grid.o scale.o textbox.o button.o checkbox.o buttonbar.o checkboxtree.o form.o windows.o label.o entry.o listbox.o
make[1]: Leaving directory `/usr/src/redhat/BUILD/newt-0.50.33'
error: Bad exit status from /var/tmp/rpm-tmp.14310 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.14310 (%build)
make: *** [installnewt] Error 1
--
FROM 202.113.184.193
头上关键的你没贴,看不出啥错误
【 在 zhchengg.bbs@bbs.tju.edu.cn.no.spam (HH) 的大作中提到: 】
: make installnewt时出现
: 太多,未全贴出
: snackmodule.c:1117: parse error before "PyObject"
: snackmodule.c:1117: warning: return type defaults to `int'
: snackmodule.c: In function `widgetCheckboxTreeSetCurrent':
: snackmodule.c:1120: `args' undeclared (first use in this function)
: snackmodule.c:1122: `s' undeclared (first use in this function)
: snackmodule.c:1124: `Py_None' undeclared (first use in this function)
: ...................
--
FROM 162.105.161.3
python-dev包没装吧
【 在 zhchengg.bbs@bbs.tju.edu.cn.no.spam (HH) 的大作中提到: 】
: make installnewt时出现
: 太多,未全贴出
: snackmodule.c:1117: parse error before "PyObject"
: snackmodule.c:1117: warning: return type defaults to `int'
: snackmodule.c: In function `widgetCheckboxTreeSetCurrent':
: snackmodule.c:1120: `args' undeclared (first use in this function)
: snackmodule.c:1122: `s' undeclared (first use in this function)
: snackmodule.c:1124: `Py_None' undeclared (first use in this function)
: ...................
--
FROM 220.249.10.10
嗯那,
zhchenggg再运行一次那个安装命令,把安装的过程信息定向到文件中用>~info
如$./configure >~info
然后用$vi ~info看所有信息.贴出来就可以了.
另外,注意先写出你的输入的命令是什么,再贴错误内容.
text mode 下,用上下方向键能看到你刚才输入的命令内容.
【 在 yuhuan.bbs@ytht.net (优秀青年讲师) 的大作中提到: 】
: 头上关键的你没贴,看不出啥错误
: 【 在 zhchengg.bbs@bbs.tju.edu.cn.no.spam (HH) 的大作中提到: 】
: : make installnewt时出现
: : 太多,未全贴出
: : snackmodule.c:1117: parse error before "PyObject"
: : snackmodule.c:1117: warning: return type defaults to `int'
: : snackmodule.c: In function `widgetCheckboxTreeSetCurrent':
: : snackmodule.c:1120: `args' undeclared (first use in this function)
: : snackmodule.c:1122: `s' undeclared (first use in this function)
: : snackmodule.c:1124: `Py_None' undeclared (first use in this function)
: : ...................
: ...................
--
FROM bbs.tju.edu.cn
基本上就是没装python-dev
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (-: Destination|Debarka 的大作中提到: 】
: 嗯那,
: zhchenggg再运行一次那个安装命令,把安装的过程信息定向到文件中用>~info
: 如$./configure >~info
: 然后用$vi ~info看所有信息.贴出来就可以了.
: 另外,注意先写出你的输入的命令是什么,再贴错误内容.
: text mode 下,用上下方向键能看到你刚才输入的命令内容.
: 【 在 yuhuan.bbs@ytht.net (优秀青年讲师) 的大作中提到: 】
: : 头上关键的你没贴,看不出啥错误
: ...................
--
FROM 220.249.10.10
还是你经验丰富啊
【 在 lepton (......) 的大作中提到: 】
: 基本上就是没装python-dev
: 【 在 tian.bbs@bbs.tju.edu.cn.no.spam (-: Destination|Debarka 的大作中提到: 】
: : 嗯那,
: : zhchenggg再运行一次那个安装命令,把安装的过程信息定向到文件中用>~info
: : 如$./configure >~info
: : 然后用$vi ~info看所有信息.贴出来就可以了.
: : 另外,注意先写出你的输入的命令是什么,再贴错误内容.
: : text mode 下,用上下方向键能看到你刚才输入的命令内容.
: ...................
--
FROM 162.105.161.3
太长不能完全考下来阿
【 在 yuhuan.bbs@ytht.net (优秀青年讲师) 的大作中提到: 】
: 头上关键的你没贴,看不出啥错误
: 【 在 zhchengg.bbs@bbs.tju.edu.cn.no.spam (HH) 的大作中提到: 】
: : make installnewt时出现
: : 太多,未全贴出
: : snackmodule.c:1117: parse error before "PyObject"
: : snackmodule.c:1117: warning: return type defaults to `int'
: : snackmodule.c: In function `widgetCheckboxTreeSetCurrent':
: : snackmodule.c:1120: `args' undeclared (first use in this function)
: : snackmodule.c:1122: `s' undeclared (first use in this function)
: : snackmodule.c:1124: `Py_None' undeclared (first use in this function)
: : ...................
: ...................
--
FROM 202.113.184.193
1. 你如果不是特别在乎 可以不用带糊涂的小patch的newt库
直接装redhat自带的
2.如果你在乎 安装 python-dev包
【 在 zhchengg.bbs@bbs.tju.edu.cn.no.spam (HH) 的大作中提到: 】
: 太长不能完全考下来阿
: 【 在 yuhuan.bbs@ytht.net (优秀青年讲师) 的大作中提到: 】
: : 头上关键的你没贴,看不出啥错误
: : ...................
--
FROM 220.249.10.10
是要去下载python-dev包吗?
【 在 lepton.bbs@ytht.net (......) 的大作中提到: 】
: 1. 你如果不是特别在乎 可以不用带糊涂的小patch的newt库
: 直接装redhat自带的
: 2.如果你在乎 安装 python-dev包
: 【 在 zhchengg.bbs@bbs.tju.edu.cn.no.spam (HH) 的大作中提到: 】
: : 太长不能完全考下来阿
--
FROM 202.113.184.193
找一个rpm 名字类似这个的安装上
【 在 zhchengg.bbs@bbs.tju.edu.cn.no.spam (HH) 的大作中提到: 】
: 是要去下载python-dev包吗?
: 【 在 lepton.bbs@ytht.net (......) 的大作中提到: 】
: : 1. 你如果不是特别在乎 可以不用带糊涂的小patch的newt库
: : 直接装redhat自带的
: : 2.如果你在乎 安装 python-dev包
--
FROM 220.249.10.10