jsxthncn 写了:代码: 全选
vivid@vivid-desktop:~/emacs$ ./configure --prefix=/usr --enable-font-backend --with-xft --with-freetype --with-gtk checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking whether gcc understands -Wno-pointer-sign... yes checking whether ln -s works... yes checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for install-info... /usr/sbin/install-info checking for install-info... (cached) /usr/sbin/install-info checking for install-info... (cached) /usr/sbin/install-info checking for gzip... /bin/gzip checking for makeinfo... no configure: error: makeinfo >= 4.6 is required 是不是还有什么依赖的包?[/quote] you are required to install textinfo sudo aptitude install textinfo
Emacs23 配置指南
-
- 帖子: 49
- 注册时间: 2007-08-11 16:57
Re: 我的问题
-
- 帖子: 322
- 注册时间: 2007-02-26 2:29
- 来自: 广东
用 export CVS_RSH="ssh"
cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/cvsroot/emacs co -r emacs-unicode-2 emacs
下载后,当./configure 时提示
******************************************************************
* *
* The Emacs "emacs-unicode-2" branch has been merged into *
* the CVS trunk, and is now obsolete. You should probably *
* use the CVS trunk instead. *
* *
* To switch a CVS checkout to the trunk, use the command: *
* *
* cvs update -A *
* *
******************************************************************
是否说明下载的 “emacs-unicode-2” 要改过来,否则白下了这么久。
另外,是否要加 sudo apt-get install libungif4g
cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/cvsroot/emacs co -r emacs-unicode-2 emacs
下载后,当./configure 时提示
******************************************************************
* *
* The Emacs "emacs-unicode-2" branch has been merged into *
* the CVS trunk, and is now obsolete. You should probably *
* use the CVS trunk instead. *
* *
* To switch a CVS checkout to the trunk, use the command: *
* *
* cvs update -A *
* *
******************************************************************
是否说明下载的 “emacs-unicode-2” 要改过来,否则白下了这么久。
另外,是否要加 sudo apt-get install libungif4g
-
- 帖子: 322
- 注册时间: 2007-02-26 2:29
- 来自: 广东
该用 cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs 吧,见 http://savannah.gnu.org/cvs/?group=emacs
今天刚刚编译成功,版本是 emacs 23.0.60.1 GTK+version 2.12.9,试用了一下,发现不错啊,终于可以用上最新的版本了。
可以参考 http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs,包括下载,依赖的包,编译办法,安装和使用 xft 等,一次就能成功。
今天刚刚编译成功,版本是 emacs 23.0.60.1 GTK+version 2.12.9,试用了一下,发现不错啊,终于可以用上最新的版本了。
可以参考 http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs,包括下载,依赖的包,编译办法,安装和使用 xft 等,一次就能成功。
-
- 帖子: 92
- 注册时间: 2008-04-01 0:10
-
- 帖子: 7
- 注册时间: 2007-07-23 23:29
Re: Emacs23 配置指南
建议楼主加上这个环境
我在编译时提示缺包不能configure过,网上有个sofeng朋友的blog给出了解决方案,确实是这几个包
代码: 全选
sudo apt-get install libjpeg-dev libgif-dev libtiff4-dev
-
- 帖子: 22
- 注册时间: 2009-03-17 12:26
Re: Emacs23 配置指南
谢谢了!不错!
-
- 帖子: 5
- 注册时间: 2008-09-06 11:42
Re: Emacs23 配置指南
谢谢楼主, 真的很详细!
- 非主流1987
- 帖子: 427
- 注册时间: 2008-05-09 23:50
Re: Emacs23 配置指南
又一篇好东西给人挖出来了···
-
- 帖子: 8
- 注册时间: 2009-05-01 22:49
Re: Emacs23 配置指南
编译时还正常,但是make bootstrape时出现了如下的错误:
make[2]: *** 没有规则可以创建“compile-main”需要的目标“/home/wxs/emacs/lisp/org/org-agenda.elc”。 停止。
make[2]:正在离开目录 `/home/wxs/emacs/lisp'
make[1]: *** [lisp] 错误 2
make[1]:正在离开目录 `/home/wxs/emacs'
make: *** [bootstrap] 错误 2
那位能给解答一下。
又及:配置编译环境时有一步是sudo apt-get build-dep emacs21,这里会让人进行设置,我不知道这是什么东西就没有进行设置,是不是和这个有关?
make[2]: *** 没有规则可以创建“compile-main”需要的目标“/home/wxs/emacs/lisp/org/org-agenda.elc”。 停止。
make[2]:正在离开目录 `/home/wxs/emacs/lisp'
make[1]: *** [lisp] 错误 2
make[1]:正在离开目录 `/home/wxs/emacs'
make: *** [bootstrap] 错误 2
那位能给解答一下。
又及:配置编译环境时有一步是sudo apt-get build-dep emacs21,这里会让人进行设置,我不知道这是什么东西就没有进行设置,是不是和这个有关?
-
- 帖子: 14
- 注册时间: 2009-05-04 20:05
Re: Emacs23 配置指南
挺好,受益匪浅
- colinger
- 帖子: 57
- 注册时间: 2008-12-22 13:05
Re: Emacs23 配置指南
不错,多謝!!!
- beiluo
- 帖子: 41
- 注册时间: 2008-10-19 20:38
Re: Emacs23 配置指南
谢谢楼主!编译成功了!!
-
- 帖子: 6
- 注册时间: 2007-09-28 18:59
Re: Emacs23 配置指南
Error messages
*
configure: error: You do not seem to have makeinfo >= 4.6, and your
source tree does not seem to have pre-built manuals in the `info' directory.
Either install a suitable version of makeinfo, or re-run configure
with the `--without-makeinfo' option to build without the manuals.
Solution:
$ sudo apt-get install texinfo
*
configure: error: The following required libraries were not found:
libjpeg libgif/libungif libtiff
Maybe some development libraries/packages are missing?
If you don't want to link with them give
--with-jpeg=no --with-gif=no --with-tiff=no
as options to configure
Solution:
$ sudo apt-get install libjpeg-dev libgif-dev libtiff4-dev
放在这里,以后用的时候来这里找!
*
configure: error: You do not seem to have makeinfo >= 4.6, and your
source tree does not seem to have pre-built manuals in the `info' directory.
Either install a suitable version of makeinfo, or re-run configure
with the `--without-makeinfo' option to build without the manuals.
Solution:
$ sudo apt-get install texinfo
*
configure: error: The following required libraries were not found:
libjpeg libgif/libungif libtiff
Maybe some development libraries/packages are missing?
If you don't want to link with them give
--with-jpeg=no --with-gif=no --with-tiff=no
as options to configure
Solution:
$ sudo apt-get install libjpeg-dev libgif-dev libtiff4-dev
放在这里,以后用的时候来这里找!
- mikeandmore
- 帖子: 109
- 注册时间: 2005-10-13 18:29
Re: Emacs23 配置指南
现在可以直接装emacs23了。源里有包了
- 幻白狼
- 帖子: 491
- 注册时间: 2010-05-27 9:28
Re: Emacs23 配置指南
我一直想用emacs啊,我用的是
请问,这样安装不好么?
代码: 全选
sudo apt-get install emacs