From compl.yue at icloud.com Sun Feb 9 07:39:35 2020 From: compl.yue at icloud.com (Compl Yue) Date: Sun, 9 Feb 2020 15:39:35 +0800 Subject: Official procedure to build from source bundled with GHC source tarball? Message-ID: Hello folks, I'm trying to install cabal after built ghc 8.8.2 on smartos, seems the src bundled within ghc src tarball not working: |[root at hswander /build/ghc-8.8.2/libraries/Cabal/cabal-install]# ./bootstrap.sh ||| |||Using gcc for C compiler. If this is not what you want, set CC.||| |||Using /opt/local/gcc7/libexec/gcc/x86_64-sun-solaris2.11/7.4.0/collect2 instead.||| |||Checking installed packages for ghc-8.4.4...||| |||deepseq is already installed and the version is ok.||| |||binary is already installed and the version is ok.||| |||time is already installed and the version is ok.||| |||transformers is already installed and the version is ok.||| |||mtl is already installed and the version is ok.||| |||text is already installed and the version is ok.||| |||parsec is already installed and the version is ok.||| |||network-uri-2.6.1.0 will be downloaded and installed.||| |||network-2.7.0.0 will be downloaded and installed.||| |||HTTP-4000.3.12 will be downloaded and installed.||| |||zlib-0.6.2 will be downloaded and installed.||| |||random-1.1 will be downloaded and installed.||| |||stm is already installed and the version is ok.||| |||hashable-1.2.7.0 will be downloaded and installed.||| |||async-2.2.1 will be downloaded and installed.||| |||base16-bytestring-0.1.1.6 will be downloaded and installed.||| |||base64-bytestring-1.0.0.1 will be downloaded and installed.||| |||cryptohash-sha256-0.11.101.0 will be downloaded and installed.||| |||resolv-0.1.1.1 will be downloaded and installed.||| |||mintty-0.1.2 will be downloaded and installed.||| |||echo-0.1.3 will be downloaded and installed.||| |||edit-distance-0.2.2.1 will be downloaded and installed.||| |||ed25519-0.0.5.0 will be downloaded and installed.||| |||tar-0.5.1.0 will be downloaded and installed.||| |||digest-0.0.1.2 will be downloaded and installed.||| |||lukko-0.1.1 will be downloaded and installed.||| |||hackage-security-0.6.0.0 will be downloaded and installed.||| |||Cabal-3.0.1.0 will be downloaded and installed.||| |||| |||Downloading Cabal-3.0.1.0...||| |||  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current||| |||                                 Dload Upload   Total   Spent    Left  Speed||| |||  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0||| |||curl: (22) The requested URL returned error: 404 Not Found||| |||| |||Error during cabal-install bootstrap:||| |||Failed to download Cabal.||| |||[root at hswander /build/ghc-8.8.2/libraries/Cabal/cabal-install]# | I wonder what's the official way to do it? btw, I don't know why I can not send msg to the freenode #cabal channel: | (15时11分28秒) ComplYue: ping (15时11分28秒) Cannot send to nick/channel| ||Thanks with best regards, Compl -------------- next part -------------- An HTML attachment was scrubbed... URL: From vamchale at gmail.com Sun Feb 9 19:43:21 2020 From: vamchale at gmail.com (Vanessa McHale) Date: Sun, 9 Feb 2020 13:43:21 -0600 Subject: Official procedure to build from source bundled with GHC source tarball? In-Reply-To: References: Message-ID: Perhaps try to bootstrap from cabal get cabal-install ? Cheers, Vanessa McHale On 2/9/20 1:39 AM, Compl Yue via cabal-devel wrote: > > Hello folks, > > I'm trying to install cabal after built ghc 8.8.2 on smartos, seems > the src bundled within ghc src tarball not working: > > |[root at hswander /build/ghc-8.8.2/libraries/Cabal/cabal-install]# > ./bootstrap.sh ||| > |||Using gcc for C compiler. If this is not what you want, set CC.||| > |||Using > /opt/local/gcc7/libexec/gcc/x86_64-sun-solaris2.11/7.4.0/collect2 > instead.||| > |||Checking installed packages for ghc-8.4.4...||| > |||deepseq is already installed and the version is ok.||| > |||binary is already installed and the version is ok.||| > |||time is already installed and the version is ok.||| > |||transformers is already installed and the version is ok.||| > |||mtl is already installed and the version is ok.||| > |||text is already installed and the version is ok.||| > |||parsec is already installed and the version is ok.||| > |||network-uri-2.6.1.0 will be downloaded and installed.||| > |||network-2.7.0.0 will be downloaded and installed.||| > |||HTTP-4000.3.12 will be downloaded and installed.||| > |||zlib-0.6.2 will be downloaded and installed.||| > |||random-1.1 will be downloaded and installed.||| > |||stm is already installed and the version is ok.||| > |||hashable-1.2.7.0 will be downloaded and installed.||| > |||async-2.2.1 will be downloaded and installed.||| > |||base16-bytestring-0.1.1.6 will be downloaded and installed.||| > |||base64-bytestring-1.0.0.1 will be downloaded and installed.||| > |||cryptohash-sha256-0.11.101.0 will be downloaded and installed.||| > |||resolv-0.1.1.1 will be downloaded and installed.||| > |||mintty-0.1.2 will be downloaded and installed.||| > |||echo-0.1.3 will be downloaded and installed.||| > |||edit-distance-0.2.2.1 will be downloaded and installed.||| > |||ed25519-0.0.5.0 will be downloaded and installed.||| > |||tar-0.5.1.0 will be downloaded and installed.||| > |||digest-0.0.1.2 will be downloaded and installed.||| > |||lukko-0.1.1 will be downloaded and installed.||| > |||hackage-security-0.6.0.0 will be downloaded and installed.||| > |||Cabal-3.0.1.0 will be downloaded and installed.||| > |||| > |||Downloading Cabal-3.0.1.0...||| > |||  % Total    % Received % Xferd  Average Speed   Time    Time     > Time  Current||| > |||                                 Dload  Upload   Total   Spent    > Left  Speed||| > |||  0     0    0     0    0     0      0      0 --:--:--  0:00:02 > --:--:--     0||| > |||curl: (22) The requested URL returned error: 404 Not Found||| > |||| > |||Error during cabal-install bootstrap:||| > |||Failed to download Cabal.||| > |||[root at hswander /build/ghc-8.8.2/libraries/Cabal/cabal-install]# | > > I wonder what's the official way to do it? > > btw, I don't know why I can not send msg to the freenode #cabal channel: > > | > (15时11分28秒) ComplYue: ping > (15时11分28秒) Cannot send to nick/channel| > > ||Thanks with best regards, > > Compl > > > > _______________________________________________ > cabal-devel mailing list > cabal-devel at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: OpenPGP digital signature URL: From compl.yue at icloud.com Mon Feb 10 03:53:33 2020 From: compl.yue at icloud.com (Compl Yue) Date: Mon, 10 Feb 2020 11:53:33 +0800 Subject: Official procedure to build from source bundled with GHC source tarball? In-Reply-To: References: Message-ID: <541f0992-0b44-29d2-9281-57270b62d290@icloud.com> 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. 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. I find out later that cabal-install bundled with GHC 8.8.2 is just an rc , and figured out that to have cabal-install bootstrapped by GHC 8.8, I'd better wait for the 3.2 release. Cheers, Compl On 2020/2/10 上午3:43, Vanessa McHale wrote: > > Perhaps try to bootstrap from > > cabal get cabal-install > > ? > > Cheers, > Vanessa McHale > > On 2/9/20 1:39 AM, Compl Yue via cabal-devel wrote: >> >> Hello folks, >> >> I'm trying to install cabal after built ghc 8.8.2 on smartos, seems >> the src bundled within ghc src tarball not working: >> >> |[root at hswander /build/ghc-8.8.2/libraries/Cabal/cabal-install]# >> ./bootstrap.sh ||| >> |||Using gcc for C compiler. If this is not what you want, set CC.||| >> |||Using >> /opt/local/gcc7/libexec/gcc/x86_64-sun-solaris2.11/7.4.0/collect2 >> instead.||| >> |||Checking installed packages for ghc-8.4.4...||| >> |||deepseq is already installed and the version is ok.||| >> |||binary is already installed and the version is ok.||| >> |||time is already installed and the version is ok.||| >> |||transformers is already installed and the version is ok.||| >> |||mtl is already installed and the version is ok.||| >> |||text is already installed and the version is ok.||| >> |||parsec is already installed and the version is ok.||| >> |||network-uri-2.6.1.0 will be downloaded and installed.||| >> |||network-2.7.0.0 will be downloaded and installed.||| >> |||HTTP-4000.3.12 will be downloaded and installed.||| >> |||zlib-0.6.2 will be downloaded and installed.||| >> |||random-1.1 will be downloaded and installed.||| >> |||stm is already installed and the version is ok.||| >> |||hashable-1.2.7.0 will be downloaded and installed.||| >> |||async-2.2.1 will be downloaded and installed.||| >> |||base16-bytestring-0.1.1.6 will be downloaded and installed.||| >> |||base64-bytestring-1.0.0.1 will be downloaded and installed.||| >> |||cryptohash-sha256-0.11.101.0 will be downloaded and installed.||| >> |||resolv-0.1.1.1 will be downloaded and installed.||| >> |||mintty-0.1.2 will be downloaded and installed.||| >> |||echo-0.1.3 will be downloaded and installed.||| >> |||edit-distance-0.2.2.1 will be downloaded and installed.||| >> |||ed25519-0.0.5.0 will be downloaded and installed.||| >> |||tar-0.5.1.0 will be downloaded and installed.||| >> |||digest-0.0.1.2 will be downloaded and installed.||| >> |||lukko-0.1.1 will be downloaded and installed.||| >> |||hackage-security-0.6.0.0 will be downloaded and installed.||| >> |||Cabal-3.0.1.0 will be downloaded and installed.||| >> |||| >> |||Downloading Cabal-3.0.1.0...||| >> |||  % Total    % Received % Xferd  Average Speed   Time    Time     >> Time  Current||| >> |||                                 Dload Upload   Total   Spent    >> Left  Speed||| >> |||  0     0    0     0    0     0 0      0 --:--:--  0:00:02 >> --:--:--     0||| >> |||curl: (22) The requested URL returned error: 404 Not Found||| >> |||| >> |||Error during cabal-install bootstrap:||| >> |||Failed to download Cabal.||| >> |||[root at hswander /build/ghc-8.8.2/libraries/Cabal/cabal-install]# | >> >> I wonder what's the official way to do it? >> >> btw, I don't know why I can not send msg to the freenode #cabal channel: >> >> | >> (15时11分28秒) ComplYue: ping >> (15时11分28秒) Cannot send to nick/channel| >> >> ||Thanks with best regards, >> >> Compl >> >> >> >> _______________________________________________ >> cabal-devel mailing list >> cabal-devel at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel > > _______________________________________________ > cabal-devel mailing list > cabal-devel at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: