当前位置: 技术问答>linux和unix
编译emacs时出现的错误信息,求帮助
来源: 互联网 发布时间:2017-03-04
本文导语: 在CentOS6.2里,顺利通过./configure,libtiff库都已经安装了,但到make出现下面的错误信息 //下面是编译时make出现的错误 make[2]: Entering directory `/home/jason/emacs-24.1/lisp' cd /home/jason/emacs-24.1/lisp; subdirs=`(find . -type d -print)...
在CentOS6.2里,顺利通过./configure,libtiff库都已经安装了,但到make出现下面的错误信息
//下面是编译时make出现的错误
make[2]: Entering directory `/home/jason/emacs-24.1/lisp'
cd /home/jason/emacs-24.1/lisp; subdirs=`(find . -type d -print)`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | */cedet* ) ;; *) wins="$wins $file" ;; esac; done;
for file in $wins; do
/home/jason/emacs-24.1/update-subdirs $file;
done;
make[2]: Leaving directory `/home/jason/emacs-24.1/lisp'
if test "no" = "yes"; then
ln -f temacs bootstrap-emacs;
else
`/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1;
mv -f emacs bootstrap-emacs;
fi
/home/jason/emacs-24.1/src/temacs: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory
make[1]: *** [bootstrap-emacs] 错误 1
make[1]: Leaving directory `/home/jason/emacs-24.1/src'
make: *** [src] 错误 2
[root@Jason emacs-24.1]#
//下面是编译时make出现的错误
make[2]: Entering directory `/home/jason/emacs-24.1/lisp'
cd /home/jason/emacs-24.1/lisp; subdirs=`(find . -type d -print)`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | */cedet* ) ;; *) wins="$wins $file" ;; esac; done;
for file in $wins; do
/home/jason/emacs-24.1/update-subdirs $file;
done;
make[2]: Leaving directory `/home/jason/emacs-24.1/lisp'
if test "no" = "yes"; then
ln -f temacs bootstrap-emacs;
else
`/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1;
mv -f emacs bootstrap-emacs;
fi
/home/jason/emacs-24.1/src/temacs: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory
make[1]: *** [bootstrap-emacs] 错误 1
make[1]: Leaving directory `/home/jason/emacs-24.1/src'
make: *** [src] 错误 2
[root@Jason emacs-24.1]#
|
请检查你装的libtiff是否在系统的标准位置
还有你生成Makefile的时候,没有选择支持libtiff
./config --help|grep libtiff
看有什么选项,请加上
还有你生成Makefile的时候,没有选择支持libtiff
./config --help|grep libtiff
看有什么选项,请加上
|
装libtiff,具体包名自己搜