小编Aar*_*ump的帖子

由于缺少libpng,因此无法配置lubuntu 16.04上的Emacs 25.1

我试图在lubuntu 16.04上安装emacs 25.1,但遇到了一些麻烦.下载并解压缩tar后,我导航到emacs 25.1目录然后.. ./configure

收到消息后配置停止

configure: error: The following required libraries were not found:
    libpng
Maybe some development libraries/packages are missing?
If you don't want to link with them give
     --with-png=no
as options to configure
Run Code Online (Sandbox Code Playgroud)

当我尝试 sudo apt install libpng-dev

我收到了消息

Note, selecting 'libpng12-dev' instead of 'libpng-dev' libpng12-dev is already the newest version (1.2.54-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. 我尝试使用下面的字符串重新安装libpng12-dev,这根本没用.

sudo apt-get install --reinstall libpng12-0=1.2.54-1ubuntu1
Run Code Online (Sandbox Code Playgroud)

我被困在这里,我已经搜索了一段时间,找不到任何实际工作的解决方案.

emacs emacs25

8
推荐指数
1
解决办法
1366
查看次数

标签 统计

emacs ×1

emacs25 ×1