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
相关产品推荐
相关产品推荐

