linux下载make install出错,怎么办?

2025-03-23 08:28:21
推荐回答(1个)
回答1:

linux下载make install出错,解决办法:
# 执行下列命令:

$ tar jxvf scim-python-${version}.tar.bz2 


$ cd scim-python-${version} 


$ ./configure --prefix=/usr 


$ make 


$ sudo make install

# 重新登录桌面系统。 


但是当我执行到make命令是提示: 


[root@localhost scim-python-0.1.13rc1]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
这是什么问题,怎么解决,希望详细点!

linux下载make install出错,解决程序方案:

起始

执行 make menuconfig 有错误发生。错误:*** Unable to find the ncurses libraries or the,*** required header files.,*** 'make menuconfig' requires the ncurselibraries.** Install ncurses (ncurses-devel) and try again.***make[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1make: *** [menuconfig] 错误2可以看出,是因为找不到 ncurses 导致的错误。那么尝试安装 ncurses,$sudo apt-get install ncurses。

信息:

正在读取软件包列表... 完成,正在分析软件包的依赖关系树,读取状态信息... 完成,现在没有可用的软件包 ncurses , 但是它被其他的软件包引用了。这可能意味着这个缺失的软件包可能已被废弃,或者只能在其他发布源中找到,E : 软件包 ncurses 还没有可供安装的候选者,根据http://www.linuxquestions.org/qu ... nfig-archum-311781。

再试:

$sudo apt-get install libncurses*

信息:

正在读取软件包列表... 完成

正在分析软件包的依赖关系树

读取状态信息... 完成

注意,根据正则表达式“libncurses*” 选中了 libncurses4

注意,根据正则表达式“libncurses*” 选中了 libncurses5

注意,根据正则表达式“libncurses*” 选中了 libncurses-ruby1.8

注意,根据正则表达式“libncurses*” 选中了 libncurses-ryby1.9

注意,根据正则表达式“libncurses*” 选中了 libncurses-dev

注意,根据正则表达式“libncurses*” 选中了 libncursesw5-dbg

注意,根据正则表达式“libncurses*” 选中了 libncursesw5-dev

注意,根据正则表达式“libncurses*” 选中了 libncurses-ruby

注意,根据正则表达式“libncurses*” 选中了 libncurses5-dbg

注意,根据正则表达式“libncurses*” 选中了 libncurses5-dev

注意,根据正则表达式“libncurses*” 选中了 libncursesw5

已经不需要下列自动安装的软件包:

libchewing3-data ttf-wqy-zenhei scim-chewing thunderbird-locale-zh-tw language-support-translations-zh。