From 4d00a4fb1d979eb561d35075f3d604c2b26c90b4 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Wed, 27 Mar 2013 09:55:33 +0530 Subject: [PATCH] Build Emacs from release tarball --- book.org | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/book.org b/book.org index 6f33da2..f81f498 100644 --- a/book.org +++ b/book.org @@ -1,4 +1,5 @@ + * Goals and non-Goals This book will teach you @@ -186,6 +187,84 @@ follows See [[http://savannah.gnu.org/maintenance/UsingGit][for more information on using git]]. +* Building Emacs + + +#+begin_example + kjambunathan@debian-6:~$ sudo apt-get build-dep emacs + Reading package lists... Done + Building dependency tree + Reading state information... Done + Picking 'emacs23' as source package instead of 'emacs' + The following NEW packages will be installed: + autoconf automake autopoint autotools-dev debhelper diffstat exiv2 gettext + html2text imagemagick intltool-debian libasound2-dev libatk1.0-dev + libcairo2-dev libcdt4 libdatrie-dev libdbus-1-dev libdjvulibre-text + libdjvulibre21 libexiv2-9 libexpat1-dev libfontconfig1-dev libfreetype6-dev + libgconf2-dev libgif-dev libglib2.0-dev libgpm-dev libgraph4 libgtk2.0-dev + libgvc5 libice-dev libidl-dev libilmbase6 libjpeg62-dev liblockfile-dev + liblqr-1-0 libm17n-dev libmagickcore3 libmagickcore3-extra libmagickwand3 + libmail-sendmail-perl libncurses5-dev libnetpbm10 libopenexr6 liborbit2-dev + libotf-dev libpango1.0-dev libpathplan4 libpixman-1-dev libpng12-dev + libpthread-stubs0 libpthread-stubs0-dev librsvg2-dev libsm-dev + libsys-hostname-long-perl libthai-dev libtiff4-dev libtiffxx0c2 + libunistring0 libwmf0.2-7 libx11-dev libxau-dev libxaw7-dev + libxcb-render-util0-dev libxcb-render0-dev libxcb1-dev libxcomposite-dev + libxcursor-dev libxdamage-dev libxdmcp-dev libxdot4 libxext-dev + libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-dev libxml2-utils + libxmu-dev libxmu-headers libxpm-dev libxrandr-dev libxrender-dev libxt-dev + netpbm orbit2 pkg-config po-debconf quilt sharutils ufraw-batch + x11proto-composite-dev x11proto-core-dev x11proto-damage-dev + x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev + x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xaw3dg + xaw3dg-dev xtrans-dev xutils-dev zlib1g-dev + The following packages will be upgraded: + libdbus-1-3 libexpat1 libtiff4 libxml2 + 4 upgraded, 106 newly installed, 0 to remove and 103 not upgraded. + Need to get 33.9 MB of archives. + After this operation, 105 MB of additional disk space will be used. +#+end_example + + +#+begin_example + kjambunathan@debian-6:~/src$ tar xf emacs-24.3.tar +#+end_example + +#+begin_example + Configured for `i686-pc-linux-gnu'. + + Where should the build process find the source code? /home/kjambunathan/src/emacs-24.3 + What compiler should emacs be built with? gcc -std=gnu99 -g3 -O2 + 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? no + Should Emacs use mmap(2) for buffer allocation? no + What window system should Emacs use? x11 + What toolkit should Emacs use? GTK2 + Where do we find X Windows header files? Standard dirs + Where do we find X Windows libraries? Standard dirs + Does Emacs use -lXaw3d? no + Does Emacs use -lXpm? yes + Does Emacs use -ljpeg? yes + Does Emacs use -ltiff? yes + Does Emacs use a gif library? yes -lgif + Does Emacs use -lpng? yes + Does Emacs use -lrsvg-2? yes + Does Emacs use imagemagick? no + Does Emacs use -lgpm? yes + Does Emacs use -ldbus? yes + Does Emacs use -lgconf? yes + Does Emacs use GSettings? no + Does Emacs use -lselinux? no + Does Emacs use -lgnutls? no + Does Emacs use -lxml2? yes + Does Emacs use -lfreetype? yes + Does Emacs use -lm17n-flt? yes + Does Emacs use -lotf? yes + Does Emacs use -lxft? yes + Does Emacs use toolkit scroll bars? yes +#+end_example + * Building Emacs from sources If you are a developer or a user who is interested in testing out -- 2.11.4.GIT