LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1251|回复: 17

可是问题马上就来了,安装rpm出错(make的时候)

[复制链接]
发表于 2002-12-27 19:31:39 | 显示全部楼层 |阅读模式
是不是缺了什么头文件?我大明白的说.
rpmmodule.c: In function `initrpm':
rpmmodule.c:336: `PyObject' undeclared (first use in this function)
rpmmodule.c:336: `d' undeclared (first use in this function)
rpmmodule.c:336: `o' undeclared (first use in this function)
rpmmodule.c:336: `tag' undeclared (first use in this function)
rpmmodule.c:336: `dict' undeclared (first use in this function)
rpmmodule.c:336: warning: left-hand operand of comma expression has no effect
rpmmodule.c:336: warning: left-hand operand of comma expression has no effect
rpmmodule.c:336: warning: left-hand operand of comma expression has no effect
rpmmodule.c:340: `m' undeclared (first use in this function)
rpmmodule.c:357: warning: implicit declaration of function `Py_InitModule3'
rpmmodule.c:363: warning: implicit declaration of function `PyModule_GetDict'
rpmmodule.c:370: warning: implicit declaration of function `PyErr_NewException'
rpmmodule.c:370: warning: assignment makes pointer from integer without a cast
rpmmodule.c:372: warning: implicit declaration of function `PyDict_SetItemString'
rpmmodule.c:403: request for member `ob_type' in something not a structure or union
rpmmodule.c:403: `PyType_Type' undeclared (first use in this function)
rpmmodule.c:404: request for member `ob_type' in something not a structure or union
rpmmodule.c:405: request for member `ob_type' in something not a structure or union
rpmmodule.c:406: request for member `ob_type' in something not a structure or union
rpmmodule.c:407: request for member `ob_type' in something not a structure or union
rpmmodule.c:408: request for member `ob_type' in something not a structure or union
rpmmodule.c:409: request for member `ob_type' in something not a structure or union
rpmmodule.c:410: request for member `ob_type' in something not a structure or union
rpmmodule.c:413: warning: implicit declaration of function `PyDict_New'
rpmmodule.c:416: warning: implicit declaration of function `PyInt_FromLong'
rpmmodule.c:419: warning: implicit declaration of function `PyDict_SetItem'
make[3]: *** [rpmmodule.lo] Error 1
make[3]: Leaving directory `/usr/src/rpm-4.1/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/rpm-4.1/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/rpm-4.1'
make: *** [all] Error 2
发表于 2002-12-27 19:33:11 | 显示全部楼层
BLFS的基本库都安装了吗?
 楼主| 发表于 2002-12-27 19:36:16 | 显示全部楼层
没有,我第一个装的db,第二个就装了rpm.
还有,装zhcon也出错,我最少要安装什么才可以安装这两个软件?
或者说,我想要跑起来kde,至少要先安装哪些包?什么顺序?
谢谢大大指点,:-)
发表于 2002-12-27 19:37:40 | 显示全部楼层
你装DB的时候是怎么装的呢?
 楼主| 发表于 2002-12-27 19:40:02 | 显示全部楼层
就按你说的装的啊
patch < patch.4.1.24.1 -p0 (一共有8个patch,我都打了)
cd build_unix/
../dist/configure --enable-cxx --prefix=/usr/local --enable-compat185
make
make install
发表于 2002-12-27 19:41:02 | 显示全部楼层
安装zhcon的问题前几天我已经写了一篇文章,你可以参考,就在本版。找一下就出来了。
装完LFS之后,要先作好基本设置,再安装基本库,接下来就可以安装freetype,再安装xfree42,再安装kde。
 楼主| 发表于 2002-12-27 19:43:03 | 显示全部楼层
基本库具体有哪些?或者大大们给我一个连接我自己看.谢谢!
发表于 2002-12-27 19:45:15 | 显示全部楼层
在BLFS的安装说明书前面都说得很详细了,你照着它做就是了。
 楼主| 发表于 2002-12-27 19:48:23 | 显示全部楼层
好的,大大能告诉我这是什么意思吗?
zhcon.o: In function `Zhcon::InitTty()':
zhcon.o(.text+0x1211): undefined reference to `tgetent'
zhcon.o(.text+0x124d): undefined reference to `tgetstr'
zhcon.o(.text+0x1262): undefined reference to `tgetstr'
zhcon.o(.text+0x1277): undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[3]: *** [zhcon] Error 1
make[3]: Leaving directory `/usr/src/zhcon-0.2.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/zhcon-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zhcon-0.2.1'
make: *** [all-recursive-am] Error 2
发表于 2002-12-27 19:58:35 | 显示全部楼层
告诉你一招,在进了咱们版后,右下角有一个“搜索此论坛”,你打一下zhcon,有22篇文章,绝对解决你的问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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