Emacs23 配置指南
-
- 帖子: 12
- 注册时间: 2006-07-15 23:56
我用lz的办法 输入了
export CVS_RSH="ssh"
cvs -z3 -d:pserver:[email protected]:/cvsroot/emacs co -r emacs-unicode-2 emacs
结束后
输入
./configure --prefix=/usr --with-x-toolkit=gtk
显示
bash: ./configure: No such file or directory
然后下载ftp上的,解压时
tar jxvf emacs23.tar.bz2
下面显示
emacs/leim/quail/ZIRANMA.el
tar: 归档文件中异常的 EOF
tar: 归档文件中异常的 EOF
tar: 错误不可恢复:现在退出
输入
./configure --prefix=/usr --with-x-toolkit=gtk
还是一样的结果
确定已经下载了gtk2的开发包 望楼主赐教
export CVS_RSH="ssh"
cvs -z3 -d:pserver:[email protected]:/cvsroot/emacs co -r emacs-unicode-2 emacs
结束后
输入
./configure --prefix=/usr --with-x-toolkit=gtk
显示
bash: ./configure: No such file or directory
然后下载ftp上的,解压时
tar jxvf emacs23.tar.bz2
下面显示
emacs/leim/quail/ZIRANMA.el
tar: 归档文件中异常的 EOF
tar: 归档文件中异常的 EOF
tar: 错误不可恢复:现在退出
输入
./configure --prefix=/usr --with-x-toolkit=gtk
还是一样的结果
确定已经下载了gtk2的开发包 望楼主赐教
- 5451vs5451
- 帖子: 345
- 注册时间: 2006-07-14 18:56
- 来自: Apple Valley, Planet Tux, Linux System
编译安装通过,运行出错。
google了一下,说是要装termcap-compat,但是目前源上没有。
emacs21运行正常。是不是编译的时候要加什么参数?
代码: 全选
jianghua@Ivanhoe:~/emacs$ emacs-23.0.0
emacs: Cannot open termcap database file
emacs21运行正常。是不是编译的时候要加什么参数?
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
进入到emacs目录再 ./configure 阿。要看到那个可执行文件 configure后才能./configure。我相信是写清楚了的。Ashi 写了:我用lz的办法 输入了
export CVS_RSH="ssh"
cvs -z3 -d:pserver:[email protected]:/cvsroot/emacs co -r emacs-unicode-2 emacs
结束后
输入
./configure --prefix=/usr --with-x-toolkit=gtk
显示
bash: ./configure: No such file or directory
然后下载ftp上的,解压时
tar jxvf emacs23.tar.bz2
下面显示
emacs/leim/quail/ZIRANMA.el
tar: 归档文件中异常的 EOF
tar: 归档文件中异常的 EOF
tar: 错误不可恢复:现在退出
输入
./configure --prefix=/usr --with-x-toolkit=gtk
还是一样的结果
确定已经下载了gtk2的开发包 望楼主赐教
还有,不是特别需求不推荐直接编译,很麻烦,呵呵,有一个deb的包,直接下载安装就是了,在帖子中有提及的。
tar 报错是因为该文件没有正常的下载,你重新下载一遍看看。
上次由 zhan 在 2006-07-18 15:25,总共编辑 1 次。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
兄弟莫非是在字符终端运行?我的运行没有问题。编译的相关问题都写出来了。5451vs5451 写了:编译安装通过,运行出错。google了一下,说是要装termcap-compat,但是目前源上没有。代码: 全选
jianghua@Ivanhoe:~/emacs$ emacs-23.0.0 emacs: Cannot open termcap database file
emacs21运行正常。是不是编译的时候要加什么参数?
可以试试我的deb包,看看有没有问题。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
-
- 帖子: 13
- 注册时间: 2006-07-18 0:44
我也遇到同样的问题,即:Cannot open termcap database file
后来用google找到的方法解决,即:apt-get install termcap-compat
这样除了由于疏忽没有装上X外,就得到了字符界面的emacs。好酷,这也是我第一次编译成功一个软件,有点开心,呵呵
后来查了一下,发现可能是因为没装libgtk,于是sudo apt-get install libgtk2.0-dev,顺利装完后,再编译一次,还是没有X选项,如下:
What compiler should emacs be built with? gcc -g -O2 -Wno-pointer-sign
Should Emacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should Emacs use a relocating allocator for buffers? yes
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? none
What toolkit should Emacs use? none
Where do we find X Windows header files? NONE
Where do we find X Windows libraries? NONE
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? no
Does Emacs use -ljpeg? no
Does Emacs use -ltiff? no
Does Emacs use -lungif? no
Does Emacs use -lpng? no
Does Emacs use X toolkit scroll bars? no
到这里就卡住了,本来还想用那个deb包,但我装的是686的,而那个包是386,觉得应该不能用。所以又放弃了,哪个高手能告诉我到底可不可以用,谢谢。
现在就卡在X选项这里,都不知怎么编译了?谁能告诉我怎么装X windows的库文件和头文件啊,不胜感激。
后来用google找到的方法解决,即:apt-get install termcap-compat
这样除了由于疏忽没有装上X外,就得到了字符界面的emacs。好酷,这也是我第一次编译成功一个软件,有点开心,呵呵
后来查了一下,发现可能是因为没装libgtk,于是sudo apt-get install libgtk2.0-dev,顺利装完后,再编译一次,还是没有X选项,如下:
What compiler should emacs be built with? gcc -g -O2 -Wno-pointer-sign
Should Emacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should Emacs use a relocating allocator for buffers? yes
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? none
What toolkit should Emacs use? none
Where do we find X Windows header files? NONE
Where do we find X Windows libraries? NONE
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? no
Does Emacs use -ljpeg? no
Does Emacs use -ltiff? no
Does Emacs use -lungif? no
Does Emacs use -lpng? no
Does Emacs use X toolkit scroll bars? no
到这里就卡住了,本来还想用那个deb包,但我装的是686的,而那个包是386,觉得应该不能用。所以又放弃了,哪个高手能告诉我到底可不可以用,谢谢。
现在就卡在X选项这里,都不知怎么编译了?谁能告诉我怎么装X windows的库文件和头文件啊,不胜感激。
-
- 帖子: 13
- 注册时间: 2006-07-18 0:44
我用 http://ubuntu.cn99.com 的源,有termcap-compat哦~5451vs5451 写了:编译安装通过,运行出错。google了一下,说是要装termcap-compat,但是目前源上没有。代码: 全选
jianghua@Ivanhoe:~/emacs$ emacs-23.0.0 emacs: Cannot open termcap database file
emacs21运行正常。是不是编译的时候要加什么参数?
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
首先,386的包肯定是能用的。
其次,不懂你为什么只弄出了字符界面的。按照顶楼的做法是可以有gtk2的界面的。
其次,不懂你为什么只弄出了字符界面的。按照顶楼的做法是可以有gtk2的界面的。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- 5451vs5451
- 帖子: 345
- 注册时间: 2006-07-14 18:56
- 来自: Apple Valley, Planet Tux, Linux System
- 5451vs5451
- 帖子: 345
- 注册时间: 2006-07-14 18:56
- 来自: Apple Valley, Planet Tux, Linux System
-
- 帖子: 13
- 注册时间: 2006-07-18 0:44
- 5451vs5451
- 帖子: 345
- 注册时间: 2006-07-14 18:56
- 来自: Apple Valley, Planet Tux, Linux System
-
- 帖子: 13
- 注册时间: 2006-07-18 0:44
- 5451vs5451
- 帖子: 345
- 注册时间: 2006-07-14 18:56
- 来自: Apple Valley, Planet Tux, Linux System
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
上面几位编译成功的兄弟,有空的话把需要的编译环境写出来,我把这个帖子完善。谢谢
我自己关于编译方面没有具体对于编译emacs装,可能是以前安装的。弄不清楚。
所以加上这些的话可以帮助没有编译过软件的兄弟们。
make 的问题看看 Makefile 就明白了。
其次不能激活输入法的问题在帖子开始就有说明。
我自己关于编译方面没有具体对于编译emacs装,可能是以前安装的。弄不清楚。
所以加上这些的话可以帮助没有编译过软件的兄弟们。
make 的问题看看 Makefile 就明白了。
其次不能激活输入法的问题在帖子开始就有说明。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn