我正在尝试在 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
当我尝试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
我被困在这里,我已经用谷歌搜索了一段时间,找不到任何实际有效的解决方案。