<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>489e06 – Yeri Tiete</title>
    <link>https://yeri.be/tag/489e06/</link>
    <description>Yeri Tiete&#39;s blog</description>
    <language>en</language>
    <copyright>© Yeri Tiete</copyright>
    <lastBuildDate>Fri, 04 Mar 2011 08:08:03 +0100</lastBuildDate>
    <atom:link href="https://yeri.be/tag/489e06/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Compile wget on Mac OS X</title>
      <link>https://yeri.be/compile-wget-on-mac-os-x/</link>
      <pubDate>Fri, 04 Mar 2011 08:08:03 +0100</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/compile-wget-on-mac-os-x/</guid>
      <description>&lt;p&gt;There&#39;s a &lt;a href=&#34;https://yeri.be/wget-for-mac-os-x/&#34;&gt;precompiled&lt;/a&gt; wget available on the net, but it&#39;s not automatically accepting &lt;a href=&#34;https://yeri.be/blog-over-ssl/&#34;&gt;StartSSL&#39;s&lt;/a&gt; certificates. And as it seems, there&#39;s a wget update available that did.&lt;/p&gt;&#xA;&lt;p&gt;This is what I had to do to compile it on my Macbook Pro;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install &lt;a href=&#34;https://developer.apple.com/xcode/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Xcode&lt;/a&gt;, if you haven&#39;t, and be sure to select UNIX Dev Support.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;figure class=&#34;wp-block-image&#34;&gt;&lt;a href=&#34;https://static.yeri.be/2011/03/Screen-shot-2011-02-18-at-12.14.18.png&#34;&gt;&lt;img src=&#34;https://static.yeri.be/2011/03/Screen-shot-2011-02-18-at-12.14.18.png&#34; alt=&#34;&#34; class=&#34;wp-image-2610&#34; title=&#34;Screen shot 2011-02-18 at 12.14.18&#34;/&gt;&lt;/a&gt;&lt;/figure&gt;&#xA;&lt;p class=&#34;has-text-align-center&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Or you&#39;ll get this error:&lt;/p&gt;&#xA;&lt;pre class=&#34;wp-block-preformatted&#34;&gt;configure: error: C compiler cannot create executables&lt;/pre&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Export Xcode&#39;s gcc PATH:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre class=&#34;wp-block-preformatted&#34;&gt;PATH=/Developer/usr/bin/:$PATH&lt;/pre&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Download &lt;a href=&#34;ftp://ftp.gnu.org/pub/gnu/wget/wget-latest.tar.gz&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;wget&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;In Terminal: untar it&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre class=&#34;wp-block-preformatted&#34;&gt;tar xvzf wget-latest.*&lt;/pre&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;And compile it&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre class=&#34;wp-block-preformatted&#34;&gt;cd wget directory&#xA;./configure&#xA;make&#xA;sudo make install&lt;/pre&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In case you had an old (precompiled) wget installed;&lt;br /&gt;remove that version first (/usr/bin/wget probably).&lt;br /&gt;By default, this one will install itself in /usr/local/bin/wget which should be in your $PATH as well (in case it&#39;s not, make a symlink from the old /usr/bin/wget to /usr/local/bin/wget, or recompile with other installation directories).&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
      <content:encoded><![CDATA[<p>There's a <a href="https://yeri.be/wget-for-mac-os-x/">precompiled</a> wget available on the net, but it's not automatically accepting <a href="https://yeri.be/blog-over-ssl/">StartSSL's</a> certificates. And as it seems, there's a wget update available that did.</p>
<p>This is what I had to do to compile it on my Macbook Pro;</p>
<ul>
<li>Install <a href="https://developer.apple.com/xcode/" target="_blank" rel="noopener noreferrer">Xcode</a>, if you haven't, and be sure to select UNIX Dev Support.</li>
</ul>
<figure class="wp-block-image"><a href="https://static.yeri.be/2011/03/Screen-shot-2011-02-18-at-12.14.18.png"><img src="https://static.yeri.be/2011/03/Screen-shot-2011-02-18-at-12.14.18.png" alt="" class="wp-image-2610" title="Screen shot 2011-02-18 at 12.14.18"/></a></figure>
<p class="has-text-align-center"></p>
<p>Or you'll get this error:</p>
<pre class="wp-block-preformatted">configure: error: C compiler cannot create executables</pre>
<ul>
<li>Export Xcode's gcc PATH:</li>
</ul>
<pre class="wp-block-preformatted">PATH=/Developer/usr/bin/:$PATH</pre>
<ul>
<li>Download <a href="ftp://ftp.gnu.org/pub/gnu/wget/wget-latest.tar.gz" target="_blank" rel="noopener noreferrer">wget</a></li>
<li>In Terminal: untar it</li>
</ul>
<pre class="wp-block-preformatted">tar xvzf wget-latest.*</pre>
<ul>
<li>And compile it</li>
</ul>
<pre class="wp-block-preformatted">cd wget directory
./configure
make
sudo make install</pre>
<ul>
<li>In case you had an old (precompiled) wget installed;<br />remove that version first (/usr/bin/wget probably).<br />By default, this one will install itself in /usr/local/bin/wget which should be in your $PATH as well (in case it's not, make a symlink from the old /usr/bin/wget to /usr/local/bin/wget, or recompile with other installation directories).</li>
</ul>
]]></content:encoded>
      <category>apple</category><category>software</category><category>www</category>
      <category>489e06</category><category>apple</category><category>ffffff</category><category>mac os x</category><category>wget</category>
    </item>
    
  </channel>
</rss>
