当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Emacs23 CVS on Debian testing
帖子发表于 : 2008-07-21 4:01 
头像

注册: 2007-11-27 15:46
帖子: 85
地址: USTC
送出感谢: 0 次
接收感谢: 0 次
Emacs CVS on Debian, if you'd like to use Emacs23 or emacs-snapshot under your Debian GNU/Linux Operating System.

First install packages curl and fakeroot if needed.
代码:
    # aptitude install curl fakeroot

Add key:
代码:
    # curl http://orebokech.com/Romain_Francoise.pgp | apt-key add -

Add this to /etc/apt/sources.list
引用:

Build it and install
代码:
    # aptitude update
    # aptitude build-dep emacs-snapshot
    $ mkdir /tmp/build
    $ cd /tmp/build
    $ fakeroot apt-get source -b emacs-snapshot

Use dpkg to install these packages (emacs-snapshot-common --> emacs-snapshot-common-bin --> emacs-snapshot or emacs-snapshot-nox) and enjoy.

引用:
Hi Romain,

My OS is [Debian GNU/Linux testing _Lenny_ - Official Beta i386 CD Binary-1 20080616-10:19], follow step by step from the site http://www.emacswiki.org/cgi-bin/wiki/EmacsCvsAndDebian , I still have errors:
代码:
    v@QuITh:/tmp/build$ fakeroot apt-get source -b emacs-snapshot
    Reading package lists... Done
    Building dependency tree     
    Reading state information... Done
    Skipping already downloaded file 'emacs-snapshot_20080630-1.dsc'
    Skipping already downloaded file 'emacs-snapshot_20080630.orig.tar.gz'
    Skipping already downloaded file 'emacs-snapshot_20080630-1.diff.gz'
    Need to get 0B of source archives.
    Skipping unpack of already unpacked source in emacs-snapshot-20080630
    dpkg-buildpackage: set CFLAGS to default value: -g -O2
    dpkg-buildpackage: set CPPFLAGS to default value:
    dpkg-buildpackage: set LDFLAGS to default value:
    dpkg-buildpackage: set FFLAGS to default value: -g -O2
    dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
    dpkg-buildpackage: source package emacs-snapshot
    dpkg-buildpackage: source version 1:20080630-1
    dpkg-buildpackage: source changed by Romain Francoise <rfrancoise@debian.org>
    dpkg-buildpackage: host architecture i386
    dpkg-checkbuilddeps: Unmet build dependencies: libtiff-dev
    dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
    dpkg-buildpackage: warning: (Use -d flag to override.)
    Build command 'cd emacs-snapshot-20080630 && dpkg-buildpackage -b -uc' failed.
    E: Child process failed

What to do next?

Thanks in advance.

--
Regards,
Patrick


引用:
Hi,

I don't know who added these instructions to the wiki but it wasn't me, and this is certainly not the preferred way to use emacs-snapshot. You're using i386 which is a supported architecture, you don't need to build the package yourself. Just run `apt-get install emacs-snapshot' and everything should be fine.

Cheers,
-r


引用:
Uh oh, thanks a lot, now it works...

--
Regards,
Patrick


Note that you cannot use this method in Ubuntu, for Ubuntu's Aptitude does not have Super Cow Powers...


_________________
Patrick Hoo, a physics enthusiast.
OS: Debian(Xfce) GNU/Linux, LFS.
TeX, Vim, Emacs, JabRef, Wiki, etc.


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-07-21 4:05 
头像

注册: 2007-11-27 15:46
帖子: 85
地址: USTC
送出感谢: 0 次
接收感谢: 0 次
Debian testing users, if you'd like to use Emacs23 or emacs-snapshot on your OS...

代码:
 # aptitude install curl

代码:
 # curl http://orebokech.com/Romain_Francoise.pgp | apt-key add -

代码:
 # nano /etc/apt/sources.list

Add this to the end of your /etc/apt/sources.list file.
引用:

代码:
 # aptitude update

代码:
 # aptitude install emacs-snapshot

Or you can install The GNU Emacs editor (without X support), emacs-snapshot-nox.


_________________
Patrick Hoo, a physics enthusiast.
OS: Debian(Xfce) GNU/Linux, LFS.
TeX, Vim, Emacs, JabRef, Wiki, etc.


最后由 QuITh 编辑于 2008-07-21 4:15,总共编辑了 1 次

页首
 用户资料  
 
3 楼 
 文章标题 : dotemacs file, partial
帖子发表于 : 2008-07-21 4:12 
头像

注册: 2007-11-27 15:46
帖子: 85
地址: USTC
送出感谢: 0 次
接收感谢: 0 次
引用:
;;nano ~/.Xdefaults
;;Emacs.geometry:80X35+0+0

;aptitude install ttf-arphic-gkai00mp ttf-arphic-bkai00mp

(set-default-font "Monospace-12")
(set-fontset-font (frame-parameter nil 'font)
'unicode '("AR PL KaitiM GB" . "unicode-bmp"))


附件:
emacs.png
emacs.png [ 268.57 KiB | 被浏览 727 次 ]



_________________
Patrick Hoo, a physics enthusiast.
OS: Debian(Xfce) GNU/Linux, LFS.
TeX, Vim, Emacs, JabRef, Wiki, etc.
页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译