First install packages curl and fakeroot if needed.
# aptitude install curl fakeroot
# curl http://orebokech.com/Romain_Francoise.pgp | apt-key add -
Build it and install
# aptitude update # aptitude build-dep emacs-snapshot $ mkdir /tmp/build $ cd /tmp/build $ fakeroot apt-get source -b emacs-snapshot
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:What to do next?
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 <email@example.com> 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
Thanks in advance.
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.
Note that you cannot use this method in Ubuntu, for Ubuntu's Aptitude does not have Super Cow Powers...Uh oh, thanks a lot, now it works...