It&#39;s a bug in the install.sh script. Here&#39;s the fix:<br><br><span style="font-family: courier new,monospace;">36a37,42</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt; # Is this exact version of the package already installed?</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&gt; is_pkg_installed () {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;   PKG_VER=$1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&gt;   grep &quot; ${PKG_VER} &quot; installed.packages &gt; /dev/null 2&gt;&amp;1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt; }</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&gt; </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">40,43c46,53</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;   cd &quot;${pkg}&quot; || die &quot;The directory for the component ${PKG} is missing&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;   echo &quot;Installing ${pkg}...&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;   install_pkg ${pkg}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;   cd ..</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">---</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;   if is_pkg_installed &quot;${pkg}&quot;; then</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&gt;     echo &quot;Platform package ${pkg} is already installed. Skipping...&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;   else</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&gt;       cd &quot;${pkg}&quot; || die &quot;The directory for the component ${PKG} is missing&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;       echo &quot;Installing ${pkg}...&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&gt;       install_pkg ${pkg}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;       cd ..</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&gt;   fi</span><br style="font-family: courier new,monospace;"><br><div class="gmail_quote">On Fri, Sep 11, 2009 at 1:04 PM, Lyle Kopnicky <span dir="ltr">&lt;<a href="mailto:lists@qseep.net">lists@qseep.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">OK, I was able to build the Haskell Platform on Ubuntu 9.04 with GHC 6.10.4. But when I try to install it, I get an error:<br>
<br><span style="font-family: courier new,monospace;">Registering haskell-platform-2009.2.0.2...<br>
Reading package info from &quot;dist/inplace-pkg-config&quot; ... done.<br>Writing new package config file... done.<br>**************************************************</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">* Building each component completed successfully. </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">*                                                 </span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">* Now do &quot;sudo make install&quot;                      </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">**************************************************</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">lwk@lwk-desktop:~/downloads/haskell-platform-2009.2.0.2$ sudo make install</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[sudo] password for lwk: </span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">scripts/install.sh</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Installing mtl-1.1.0.2...</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Error:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">The mtl-1.1.0.2/Setup script does not exist or cannot be run</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make: *** [install] Error 2</span><br style="font-family: courier new,monospace;"><font color="#888888"><br>- Lyle<br>
</font></blockquote></div><br>