QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 653|回复: 1

编译qterm0.3.2出错了,请各位帮个忙,谢谢!!

[复制链接]
发表于 2003-9-14 21:41:26 | 显示全部楼层 |阅读模式
./configure --with-pythondir=/usr
……
checking for Python directory... /usr
checking for Python2.2... header /usr/include library /usr/lib/python2.2/config modules /usr/lib/python2.2
checking if a Python application links... no
checking if Python depends on -lm... no
checking if Python depends on -lpthread... no
checking if Python depends on -ltcl... no
checking if Python depends on -ldb2... no
checking if Python depends on -lpthread -lm... no
checking if Python depends on -lpthread -lm -lutil... no
checking if Python depends on -lpthread -lm -ldb-3 -lutil... no
checking if Python depends on -lpthread -ldb-3... no
checking if Python depends on -lpthread -lm -ldb -ltermcap -lutil... no
checking if Python depends on -lpthread -ldl -lutil -lreadline -lncurses -lm... no
checking if Python depends on -lpthread -lm -ldb -lutil... no
configure: WARNING: it seems, Python depends on another library.
     Pleae set LIBPYTHON to '-lpython2.2 -lotherlib' before calling configure to fix this
     and contact the authors to let them know about this problem
checking if admin should be compiled... no
checking if autom4te.cache should be compiled... no
checking if qterm should be compiled... yes
……

make
……
In file included from qtermwindow.h:8,
                  from qtermwndmgr.cpp:12:
/usr/include/Python.h:23:24: patchlevel.h: 没有那个文件或目录
/usr/include/Python.h:24:22: pyconfig.h: 没有那个文件或目录
/usr/include/Python.h:62:20: pyport.h: 没有那个文件或目录
/usr/include/Python.h:64:19: pymem.h: 没有那个文件或目录
/usr/include/Python.h:66:20: object.h: 没有那个文件或目录
/usr/include/Python.h:67:21: objimpl.h: 没有那个文件或目录
/usr/include/Python.h:69:21: pydebug.h: 没有那个文件或目录
/usr/include/Python.h:71:27: unicodeobject.h: 没有那个文件或目录
/usr/include/Python.h:72:23: intobject.h: 没有那个文件或目录
In file included from /usr/include/Python.h:73,
                  from qtermwindow.h:8,
                  from qtermwndmgr.cpp:12:
/usr/include/longobject.h:12: syntax error before `;' token
/usr/include/longobject.h:17: syntax error before `*' token
/usr/include/longobject.h:18: syntax error before `*' token
/usr/include/longobject.h:19: syntax error before `*' token
/usr/include/longobject.h:20: `PyObject' was not declared in this scope
/usr/include/longobject.h:20: parse error before `)' token
/usr/include/longobject.h:21: `PyObject' was not declared in this scope
/usr/include/longobject.h:21: parse error before `)' token
/usr/include/longobject.h:29: `PyObject' was not declared in this scope
/usr/include/longobject.h:29: `vv' was not declared in this scope
/usr/include/longobject.h:29: parse error before `*' token
/usr/include/longobject.h:31: `PyObject' was not declared in this scope
/usr/include/longobject.h:31: parse error before `)' token
/usr/include/longobject.h:32: syntax error before `*' token
/usr/include/longobject.h:33: `PyObject' was not declared in this scope
/usr/include/longobject.h:33: parse error before `)' token
/usr/include/longobject.h:54: syntax error before `*' token
/usr/include/longobject.h:72: syntax error before `*' token
/usr/include/Python.h:74:25: floatobject.h: 没有那个文件或目录
/usr/include/Python.h:76:27: complexobject.h: 没有那个文件或目录
In file included from /usr/include/Python.h:78,
                  from qtermwindow.h:8,
                  from qtermwndmgr.cpp:12:
/usr/include/rangeobject.h:18: syntax error before `;' token
/usr/include/rangeobject.h:22: syntax error before `*' token
/usr/include/Python.h:79:26: stringobject.h: 没有那个文件或目录
/usr/include/Python.h:80:26: bufferobject.h: 没有那个文件或目录
/usr/include/Python.h:81:25: tupleobject.h: 没有那个文件或目录
In file included from /usr/include/Python.h:82,
                  from qtermwindow.h:8,
                  from qtermwndmgr.cpp:12:
/usr/include/listobject.h:24: parse error before `*' token
/usr/include/listobject.h:27: syntax error before `;' token
/usr/include/listobject.h:32: syntax error before `*' token
/usr/include/listobject.h:33: `PyObject' was not declared in this scope
/usr/include/listobject.h:33: parse error before `)' token
/usr/include/listobject.h:34: syntax error before `*' token
/usr/include/listobject.h:35: `PyObject' was not declared in this scope
/usr/include/listobject.h:35: parse error before `,' token
/usr/include/listobject.h:36: `PyObject' was not declared in this scope
/usr/include/listobject.h:36: parse error before `,' token
/usr/include/listobject.h:37: `PyObject' was not declared in this scope
/usr/include/listobject.h:37: parse error before `,' token
/usr/include/listobject.h:38: syntax error before `*' token
/usr/include/listobject.h:39: `PyObject' was not declared in this scope
/usr/include/listobject.h:39: parse error before `,' token
/usr/include/listobject.h:40: `PyObject' was not declared in this scope
/usr/include/listobject.h:40: parse error before `)' token
/usr/include/listobject.h:41: `PyObject' was not declared in this scope
/usr/include/listobject.h:41: parse error before `)' token
/usr/include/listobject.h:42: syntax error before `*' token
/usr/include/Python.h:83:24: dictobject.h: 没有那个文件或目录
/usr/include/Python.h:84:26: methodobject.h: 没有那个文件或目录
/usr/include/Python.h:85:26: moduleobject.h: 没有那个文件或目录
/usr/include/Python.h:86:24: funcobject.h: 没有那个文件或目录
/usr/include/Python.h:87:25: classobject.h: 没有那个文件或目录
/usr/include/Python.h:88:24: fileobject.h: 没有那个文件或目录
/usr/include/Python.h:89:21: cobject.h: 没有那个文件或目录
/usr/include/Python.h:90:23: traceback.h: 没有那个文件或目录
/usr/include/Python.h:91:25: sliceobject.h: 没有那个文件或目录
/usr/include/Python.h:92:24: cellobject.h: 没有那个文件或目录
/usr/include/Python.h:93:24: iterobject.h: 没有那个文件或目录
/usr/include/Python.h:94:25: descrobject.h: 没有那个文件或目录
/usr/include/Python.h:95:27: weakrefobject.h: 没有那个文件或目录
/usr/include/Python.h:97:20: codecs.h: 没有那个文件或目录
/usr/include/Python.h:98:22: pyerrors.h: 没有那个文件或目录
/usr/include/Python.h:100:21: pystate.h: 没有那个文件或目录
/usr/include/Python.h:102:24: modsupport.h: 没有那个文件或目录
/usr/include/Python.h:103:23: pythonrun.h: 没有那个文件或目录
/usr/include/Python.h:104:19: ceval.h: 没有那个文件或目录
/usr/include/Python.h:105:23: sysmodule.h: 没有那个文件或目录
/usr/include/Python.h:106:23: intrcheck.h: 没有那个文件或目录
/usr/include/Python.h:107:20: import.h: 没有那个文件或目录
/usr/include/Python.h:109:22: abstract.h: 没有那个文件或目录
/usr/include/Python.h:122:19: pyfpe.h: 没有那个文件或目录
In file included from qtermwndmgr.cpp:12:
qtermwindow.h:147: syntax error before `*' token
qtermwndmgr.cpp: In member function `void QTermWndMgr::activeNextPrev(bool)':
qtermwndmgr.cpp:149: warning: comparison between signed and unsigned integer
    expressions
make[3]: *** [qtermwndmgr.o] 错误 1
make[3]: Leaving directory `/root/qterm-0.3.2/qterm'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/qterm-0.3.2/qterm'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/qterm-0.3.2'
make: *** [all] 错误 2


python-config的结果是:-lpython2.2 -lm -L/usr/lib/python2.2/config
python为2.2.3。

各位看看,这个问题怎么解决?谢谢了!!
 楼主| 发表于 2003-9-16 17:44:12 | 显示全部楼层
看来这个问题这边没有人知道是怎么回事啊!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 22:54 , Processed in 0.038267 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表