<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Thanks, but I didn't get an already working cabal at that time,
    maybe I should be trying install the cabal package from pkgsrc
    repository of SmartOS, but since the latest GHC of version 7.6.3 has
    been withdrawn from latest repository, I guess that's not
    preferable.
    <p>Anyway I've managed to build GHC 8.6.5 from source and
      bootstrapped its bundled cabal-install, then have itself upgraded
      to 3.0.0.0.</p>
    <p>I find out later that <a moz-do-not-send="true"
href="https://github.com/haskell/cabal/issues/6328#issuecomment-575901090">cabal-install
        bundled with GHC 8.8.2 is just an rc</a>, and figured out that
      to have cabal-install bootstrapped by GHC 8.8, I'd better wait for
      the 3.2 release.</p>
    <p>Cheers,</p>
    <p> Compl</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2020/2/10 上午3:43, Vanessa McHale
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:a9aec031-6cda-163f-ec64-c0d7053f9273@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Perhaps try to bootstrap from<br>
        <br>
        cabal get cabal-install<br>
        <br>
        ?<br>
        <br>
        Cheers,<br>
        Vanessa McHale<br>
      </p>
      <div class="moz-cite-prefix">On 2/9/20 1:39 AM, Compl Yue via
        cabal-devel wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:b512b778-dec3-684e-5db2-9c7ca0e97cbd@icloud.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <p>Hello folks, <br>
        </p>
        <p>I'm trying to install cabal after built ghc 8.8.2 on smartos,
          seems the src bundled within ghc src tarball not working:</p>
        <p><font size="-2"><code>[root@hswander
              /build/ghc-8.8.2/libraries/Cabal/cabal-install]#
              ./bootstrap.sh </code><code></code><br>
            <code></code><code>Using gcc for C compiler. If this is not
              what you want, set CC.</code><code></code><br>
            <code></code><code>Using
              /opt/local/gcc7/libexec/gcc/x86_64-sun-solaris2.11/7.4.0/collect2
              instead.</code><code></code><br>
            <code></code><code>Checking installed packages for
              ghc-8.4.4...</code><code></code><br>
            <code></code><code>deepseq is already installed and the
              version is ok.</code><code></code><br>
            <code></code><code>binary is already installed and the
              version is ok.</code><code></code><br>
            <code></code><code>time is already installed and the version
              is ok.</code><code></code><br>
            <code></code><code>transformers is already installed and the
              version is ok.</code><code></code><br>
            <code></code><code>mtl is already installed and the version
              is ok.</code><code></code><br>
            <code></code><code>text is already installed and the version
              is ok.</code><code></code><br>
            <code></code><code>parsec is already installed and the
              version is ok.</code><code></code><br>
            <code></code><code>network-uri-2.6.1.0 will be downloaded
              and installed.</code><code></code><br>
            <code></code><code>network-2.7.0.0 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>HTTP-4000.3.12 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>zlib-0.6.2 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>random-1.1 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>stm is already installed and the version
              is ok.</code><code></code><br>
            <code></code><code>hashable-1.2.7.0 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>async-2.2.1 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>base16-bytestring-0.1.1.6 will be
              downloaded and installed.</code><code></code><br>
            <code></code><code>base64-bytestring-1.0.0.1 will be
              downloaded and installed.</code><code></code><br>
            <code></code><code>cryptohash-sha256-0.11.101.0 will be
              downloaded and installed.</code><code></code><br>
            <code></code><code>resolv-0.1.1.1 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>mintty-0.1.2 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>echo-0.1.3 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>edit-distance-0.2.2.1 will be downloaded
              and installed.</code><code></code><br>
            <code></code><code>ed25519-0.0.5.0 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>tar-0.5.1.0 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>digest-0.0.1.2 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>lukko-0.1.1 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code>hackage-security-0.6.0.0 will be
              downloaded and installed.</code><code></code><br>
            <code></code><code>Cabal-3.0.1.0 will be downloaded and
              installed.</code><code></code><br>
            <code></code><code></code><br>
            <code></code><code>Downloading Cabal-3.0.1.0...</code><code></code><br>
            <code></code><code>  % Total    % Received % Xferd  Average
              Speed   Time    Time     Time  Current</code><code></code><br>
            <code></code><code>                                 Dload 
              Upload   Total   Spent    Left  Speed</code><code></code><br>
            <code></code><code>  0     0    0     0    0     0     
              0      0 --:--:--  0:00:02 --:--:--     0</code><code></code><br>
            <code></code><code>curl: (22) The requested URL returned
              error: 404 Not Found</code><code></code><br>
            <code></code><code></code><br>
            <code></code><code>Error during cabal-install bootstrap:</code><code></code><br>
            <code></code><code>Failed to download Cabal.</code><code></code><br>
            <code></code><code>[root@hswander
              /build/ghc-8.8.2/libraries/Cabal/cabal-install]# </code></font><br>
        </p>
        <p>I wonder what's the official way to do it?</p>
        <p>btw, I don't know why I can not send msg to the freenode
          #cabal channel:</p>
        <p><code><font size="-2"><br>
              (15时11分28秒) ComplYue: ping<br>
              (15时11分28秒) Cannot send to nick/channel</font></code></p>
        <p><code></code>Thanks with best regards,</p>
        <p>Compl</p>
        <p><br>
        </p>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
cabal-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cabal-devel@haskell.org" moz-do-not-send="true">cabal-devel@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel" moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a>
</pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
cabal-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a>
</pre>
    </blockquote>
  </body>
</html>