软件一直在安装中,软件一直在安装中怎么办

  • 编辑: 错乐悦
  • 2019-11-15 10:34:29
  • 人阅读
下载软件一直在安装中怎么办,在安装emacs软件之前,需要安装一些依赖包,然后提取并安装emacs的软件包。具体步骤如下:1.需要下载的包如下:yum-ygroupinstall“develo”下载软件一直在安

在安装emacs软件前,需要先安装一些依赖包,然后在下载emacs的软件包解压,再安装即可,具体步骤如下:

1、需要下载的依赖包如下:

yum -y groupinstall "Development Tools"

yum -y install gtk -devel gtk2-devel

yum -y install libXpm-devel

yum -y install libpng-devel

yum -y install giflib-devel

yum -y install libtiff-devel libjpeg-devel

yum -y install ncurses-devel

yum -y install gpm-devel dbus-devel dbus-glib-devel dbus-python

yum -y install GConf2-devel pkgconfig

yum -y install libXft-devel

2、到如下链接下载emacs的安装包并解压

#解压文件

tar xvf emacs-24.2.tar.gz

3、安装emacs

cd emacs-24.2

./configure --prefix=/usr/local --with-x-toolkit=gtk

make make install

在安装过程中遇到如下错误:

xsettings.o: In function `something_changed_gsettingsCB':

/root/Downloads/emacs-24.2/src/xsettings.c:216: undefined reference to `g_settings_get_value'

/root/Downloads/emacs-24.2/src/xsettings.c:231: undefined reference to `g_settings_get_value'

/root/Downloads/emacs-24.2/src/xsettings.c:245: undefined reference to `g_settings_get_value'

xsettings.o: In function `init_gsettings':

/root/Downloads/emacs-24.2/src/xsettings.c:815: undefined reference to `g_settings_list_schemas'

/root/Downloads/emacs-24.2/src/xsettings.c:821: undefined reference to `g_settings_new'

/root/Downloads/emacs-24.2/src/xsettings.c:827: undefined reference to `g_settings_get_value'

/root/Downloads/emacs-24.2/src/xsettings.c:838: undefined reference to `g_settings_get_value'

/root/Downloads/emacs-24.2/src/xsettings.c:847: undefined reference to `g_settings_get_value'

collect2: ld returned 1 exit status

make[1]: *** [temacs] Error 1

make[1]: Leaving directory `/root/Downloads/emacs-24.2/src'

make: *** [src] Error 2

解决办法如下:

make distclean

./configure --without-gsettings

make make install

安装成功后出现如下提示:

make[1]: Leaving directory `/root/Downloads/emacs-24.2/leim'

cd lib-src; make maybe-blessmail \

MAKE='make' archlibdir='/usr/local/libexec/emacs/24.2/i686-pc-linux-gnu'

make[1]: Entering directory `/root/Downloads/emacs-24.2/lib-src'

make[1]: Nothing to be done for `maybe-blessmail'.

make[1]: Leaving directory `/root/Downloads/emacs-24.2/lib-src'

在终端中输入emacs,win7装机版,即可打开软件

为Linux/15618.html">Emacs配置newLISP开发环境

手把手教你学会 Emacs 主题配置

Ubuntu下编译安装Emacs23

手把手教你学会 Emacs 定制

如何在GNU Emacs环境下编译并运行C/C 程序?

Ubuntu安装Emacs出现到依赖问题及解决方案

以上就是电脑技术吧给大家介绍的如何使用CentOS 6.5中安装Emacs软件的方法了,如何使用CentOS 6.5中安装Emacs软件的方法到这里也全部结束了相信大家对如何使用CentOS 6.5中安装Emacs软件的方法都有一定的了解了吧,好了,如果大家还想了解更多的资讯,那就赶紧点击电脑技术吧系统官网吧。

本文原标题:软件为什么一直在安装中,如何取消安装中的软件

版权声明:本文由 错乐悦 整理编辑,如果侵权请联系我们!

转载注明出处:https://www.nintaus.net/houtai@123/makehtml_archives_action.php?endid=0&startid=0&typeid=0&totalnum=11732&startdd=5320&pagesize=20&seltime=0&sstime=1589370344&stime=&etime=&uptype=mkall&mkvalue=0&isremote=0&serviterm=

文章评论

共有 条评论来说两句吧...

用户名:

验证码:

Top