<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by cenazoic on Medium]]></title>
        <description><![CDATA[Stories by cenazoic on Medium]]></description>
        <link>https://medium.com/@cenazoic?source=rss-146775092712------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*RitH38lZxr87ZqvQ.jpg</url>
            <title>Stories by cenazoic on Medium</title>
            <link>https://medium.com/@cenazoic?source=rss-146775092712------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 05:22:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cenazoic/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building Emacs from Source on OSX]]></title>
            <link>https://medium.com/@cenazoic/building-emacs-from-source-on-osx-fff9e02957f?source=rss-146775092712------2</link>
            <guid isPermaLink="false">https://medium.com/p/fff9e02957f</guid>
            <category><![CDATA[emacs]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[cenazoic]]></dc:creator>
            <pubDate>Thu, 02 Apr 2015 00:00:00 GMT</pubDate>
            <atom:updated>2016-03-11T17:54:57.036Z</atom:updated>
            <content:encoded><![CDATA[<p>I just did a clean install of El Capitan. While reviewing my previous posts on getting up and running, I noticed some errors/missing information while following my own directions. I’ve edited those posts for clarity/omissions; however, my previous method of installing emacs via homebrew has been superceded by building it from source. This post details the steps to do so. It takes a bit longer, but allows me to keep up with current development. Caveat: following the master git repo of any software can potentially lead to a unstable/unusable build.</p><p>Also, rather than try to install every possible thing to cover every possible use case, I’ve moved to installing things as necessary. I’m a newbie to emacs, so my previous homebrew install of the Cocoa app included just about every possible configuration option; this one is much more minimal.</p><p><strong>1. Prequisites:</strong></p><p>-Xcode<br> -git<br> -imagemagick (allows image viewing)<br> -gnutls (allows communication via SSL, TLS, amd DTLS)<br> -autoconf<br> -automake</p><p>Git, imagemagick and gnutls can all be installed via homebrew. The last 2 no longer come bundled with Xcode so must be manually installed. This can be done either through brew install autoconf and brew install automake, or by compiling from source:</p><p><em>autoconf:</em><br> cd /tmp<br> curl -O <a href="http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz">http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz</a><br> tar xf autoconf-latest.tar.gz<br> cd autoconf-*/<br> ./configure<br> make<br> sudo make install</p><p><em>automake:</em><br> cd /tmp<br> curl -O <a href="http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz">http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz</a><br> tar xf automake-1.15.tar.gz<br> cd automake-1.15<br> ./configure<br> make<br> sudo make install</p><p><strong>2. get the source:</strong><br> git clone git://git.savannah.gnu.org/emacs.git<br> cd emacs</p><p><strong>3. build Emacs.app:</strong><br> make configure <br> ./configure –with-ns CFLAGS=”-I /usr/local/include/libxml2″</p><p>(As of 22 June 2015, –with-ns is no longer necessary)<br> <br> ./configure CFLAGS=”-I /usr/local/include/libxml2&quot;<br> make install</p><p>open -R nextstep/Emacs.app</p><p>Drag this to Applications to find in Launchpad.</p><p><strong>updating and rebuilding:</strong><br> # discard stuff from last build<br> git reset — hard</p><p># delete all of the last build stuff<br> git clean -xdf</p><p>git pull<br> Delete the app from Applications, then follow steps from #3.</p><p><em>References:</em><br> <a href="http://stuff-things.net/2014/10/22/building-emacs-24-dot-4-from-source-on-the-mac/">Building Emacs 24.4 from Source on the Mac</a>, Spike Ilacqua.<br> <a href="https://github.com/renard/emacs-build-macosx">Build Emacs for OSX</a>, Sebastien Gross.<br> <a href="http://ergoemacs.org/emacs/building_emacs_from_git_repository.html">Building Emacs from Git Repository</a>, Xah Lee.<br> <a href="http://irreal.org/blog/?p=3892">Configure with libxml2</a>, by Irreal.</p><p><a href="http://whattheemacsd.com/build-emacs.html#disqus_thread">comment by Offby1</a>, referencing:<br> commit d97fbcbedce8f36050af7a55d34c6ed50c99507c<br> Author: Glenn Morris &lt;rgm@gnu.org&gt;<br> Date: 2015–06–22 22:03:33 -0400<br> * configure.ac ( — with-ns): Enable by default on OS X.</p><p><em>Originally published at </em><a href="http://newbiecoder.com/building-emacs-from-source-on-yosemite/"><em>newbiecoder.com</em></a><em> on April 2, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fff9e02957f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>