<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Solved.<br>
    <br>
    Under my ghc6.12.3 environment, I manually downloaded and installed
    the encoding-0.6.3 package together with mtl-1.1.0.2, and pin HaXml
    to 1.19 ,<br>
    <br>
    Modify the dependence rules of<br>
    mtl to mtl &lt;2<br>
    HaXml&gt;=1.19 to HaXml=1.19<br>
    Then<br>
    <br>
    runhaskell Setup configure --flags=splitBase --flags=newGHC --user
    --ghc<br>
    runhaskell Setup build<br>
    runhaskell Setup install <br>
    <br>
    works, <br>
    <br>
    sorry to bother<br>
    <br>
    Regards<br>
    Gang<br>
    On 08/17/2011 04:59 PM, Gang Yu wrote:
    <blockquote
cite="mid:CAMFLX-Lfc7Q9hSyOodHXA7jRHUbni3ObUDaiBBEWaU3p81nZ=w@mail.gmail.com"
      type="cite">hi, cafe:<br>
      <br>
          I go through to the encoding package installation problem
      again.<br>
      <br>
       cabal install encoding<br>
      Resolving dependencies...<br>
      /tmp/encoding-0.6.68093/encoding-0.6.6/dist/setup/setup: 4: Syntax
      error: ";" unexpected<br>
      <br>
      when I have a check on the this issue, I get:<br>
      <br>
      file ~/.cabal/packages/<a moz-do-not-send="true"
href="http://hackage.haskell.org/encoding/0.6.6/encoding-0.6.6/dist/setup/setup">hackage.haskell.org/encoding/0.6.6/encoding-0.6.6/dist/setup/setup</a><br>
      /home/gang/.cabal/packages/<a moz-do-not-send="true"
href="http://hackage.haskell.org/encoding/0.6.6/encoding-0.6.6/dist/setup/setup">hackage.haskell.org/encoding/0.6.6/encoding-0.6.6/dist/setup/setup</a>:
      ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
      linked (uses shared libs), for GNU/Linux 2.6.27, not stripped<br>
      <br>
      My machine is:<br>
      <br>
      gang@gang-laptop:~$ uname -a<br>
      Linux gang-laptop 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11
      03:31:50 UTC 2011 i686 i686 i386 GNU/Linux<br>
      <br>
      is this related? How can I manually install the package from
      scratch? Any helps or directs will be appreciated<br>
      <br>
      Thanks<br clear="all">
      Gang<br>
    </blockquote>
    <br>
  </body>
</html>