試圖在Ubuntu 12.04上安裝Emacs 24.2。Emacs 24.2安裝失敗
./configure
工作正常。
化妝給人的錯誤:
/usr/local/include/jmorecfg.h:263:16: error: expected identifier before numeric constant
image.c: In function ‘gif_load’:
image.c:7179:34: error: too few arguments to function ‘DGifOpenFileName’
/usr/local/include/gif_lib.h:177:14: note: declared here
image.c:7200:7: error: too few arguments to function ‘DGifOpen’
/usr/local/include/gif_lib.h:180:14: note: declared here
make[1]: \*** [image.o] Error 1
make[1]: Leaving directory `/home/mark/Downloads/emacs-24.2/src'
make: \*** [src] Error 2
任何想法如何,我可以解決這個問題?
馬克
您可以通過'aptitude build-dep emacs24 '安裝所有相關庫。 – syohex 2013-02-12 01:18:17