<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alberto Bustamante &#187; Erlang</title>
	<atom:link href="http://www.albertobustamante.com/blog/category/erlang/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.albertobustamante.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 21 May 2010 19:46:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Compiling Erlang on Mac</title>
		<link>http://www.albertobustamante.com/blog/2009/11/compiling-erlang-on-mac/</link>
		<comments>http://www.albertobustamante.com/blog/2009/11/compiling-erlang-on-mac/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 21:38:59 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Erlang]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.albertobustamante.com/blog/?p=99</guid>
		<description><![CDATA[First of all you need to install XCode, because you will need GCC compiler. These are the steps I followed:
1. Download the latest version of Erlang. In my case, it was R13B02-1, so I got a file named otp_src_R13B02-1.tar.gz
2. After decompressing the file:
$ cd otp_src_R12B-2
$. /configure
$ make
$ sudo make install
These are the standard steps, but [...]]]></description>
			<content:encoded><![CDATA[<p>First of all you need to install <a href="http://developer.apple.com/technology/xcode.html">XCode</a>, because you will need GCC compiler. These are the steps I followed:</p>
<p>1. Download the <a href="http://www.erlang.org/download.html">latest version</a> of Erlang. In my case, it was R13B02-1, so I got a file named otp_src_R13B02-1.tar.gz<br />
2. After decompressing the file:</p>
<blockquote><p>$ cd otp_src_R12B-2<br />
$. /configure<br />
$ make<br />
$ sudo make install</p></blockquote>
<p>These are the standard steps, but I had a problem with the &#8220;make&#8221; command. I got the following error:</p>
<blockquote><p>gen/wxe_events.cpp: In function ‘void initEventTable()’:<br />
gen/wxe_events.cpp:277: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN’ was not declared in this scope<br />
gen/wxe_events.cpp:278: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP’ was not declared in this scope<br />
gen/wxe_events.cpp:279: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN’ was not declared in this scope<br />
gen/wxe_events.cpp:280: error: ‘wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP’ was not declared in this scope<br />
gen/wxe_events.cpp:281: error: ‘wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED’ was not declared in this scope<br />
gen/wxe_events.cpp:282: error: ‘wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE’ was not declared in this scope<br />
gen/wxe_events.cpp:283: error: ‘wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK’ was not declared in this scope<br />
make[4]: *** [i386-apple-darwin9.8.0/wxe_events.o] Error 1<br />
make[3]: *** [release] Error 2<br />
make[2]: *** [release] Error 2<br />
make[1]: *** [release] Error 2<br />
make: *** [install.libs] Error 2</p></blockquote>
<p>The solution was to build Erlang without wxwidget support, so the steps I followed were:</p>
<blockquote><p>$ cd otp_src_R12B-2<br />
$. /configure<br />
<b>$ touch lib/wx/SKIP</b><br />
$ make<br />
$ sudo make install</p></blockquote>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.albertobustamante.com/blog/2009/05/fixing-wordpress-error-406/" rel="bookmark" class="crp_title">Fixing Wordpress Error 406</a></li><li><a href="http://www.albertobustamante.com/blog/2009/12/fixing-wordpress-error-500/" rel="bookmark" class="crp_title">Fixing Wordpress Error 500</a></li><li><a href="http://www.albertobustamante.com/blog/2009/07/showing-hidden-files-in-leopard/" rel="bookmark" class="crp_title">Showing hidden files in Leopard</a></li><li><a href="http://www.albertobustamante.com/blog/2009/11/solving-problems-with-subversion/" rel="bookmark" class="crp_title">Solving problems with Subversion</a></li><li><a href="http://www.albertobustamante.com/blog/2009/05/how-to-edit-path-variable-on-mac/" rel="bookmark" class="crp_title">How to edit PATH variable on Mac</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.albertobustamante.com/blog/2009/11/compiling-erlang-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
