You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 24.04中使用checkinstall安装AUCTeX失败的问题求助

Ubuntu 24.04中使用checkinstall安装AUCTeX失败的问题求助

大家好,我之前在Ubuntu 18.04和16.04上用checkinstall安装软件都挺顺利的,但在24.04版本里,用它安装AUCTeX时却出问题了。下面是我完整的操作步骤(需要先安装好较新版本的Emacs):

  • 克隆AUCTeX的源码仓库:
    git clone git://git.savannah.gnu.org/auctex.git

  • 切换到master分支:
    git switch --guess master

  • 运行autogen脚本:
    ./autogen.sh

  • 执行configure配置(指定了Emacs路径、安装前缀和lisp目录,跳过texmf目录):
    ./configure --with-emacs=/opt/emacs29/bin/emacs --prefix=$HOME/ALLES/ --with-lispdir=$HOME/emacs/site-lisp/packages/auctex-git --without-texmf-dir

  • 编译代码:
    make

  • 直接执行make install是可以正常完成的,但一旦用checkinstall或者checkinstall make install,就会弹出以下错误:

/usr/bin/install -c -m 644 preview.sty /home/oub/emacs/site-lisp/packages/auctex-git/auctex/latex
/usr/bin/install: cannot create regular file '/home/oub/emacs/site-lisp/packages/auctex-git/auctex/latex': No such file or directory
make[1]: *** [Makefile:53: install-texmf] Error 1
make[1]: Leaving directory '/home/oub/tmp/auctex/latex'
make: *** [Makefile:324: install-texmf] Error 2

有没有朋友遇到过类似的问题?或者能帮我分析下为什么checkinstall会导致这个目录不存在的错误吗?

备注:内容来源于stack exchange,提问作者Uwe Brauer

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 10:24:34