Logs: freenode/#haskell
| 2020-09-29 12:42:53 | → | alp joins (~alp@2a01:e0a:58b:4920:1846:e8b6:c010:c9fe) |
| 2020-09-29 12:42:56 | → | Quarl joins (~Quarl@94.191.138.174.mobile.tre.se) |
| 2020-09-29 12:42:58 | → | thir joins (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) |
| 2020-09-29 12:44:05 | × | John20 quits (~John@82.46.59.122) (Ping timeout: 240 seconds) |
| 2020-09-29 12:44:59 | → | Guest_71 joins (c13ddbc8@edu185.eduroam.aber.ac.uk) |
| 2020-09-29 12:45:11 | × | sz0 quits (uid110435@gateway/web/irccloud.com/x-roomdfrsyecwcjsl) (Quit: Connection closed for inactivity) |
| 2020-09-29 12:46:01 | <Guest_71> | Im having trouble downloading haskell for mac |
| 2020-09-29 12:46:07 | <Guest_71> | can some1 help me |
| 2020-09-29 12:46:13 | <maerwald> | yes |
| 2020-09-29 12:46:50 | <Guest_71> | it says cannot install the software because it is not currently avaliable from the software update server |
| 2020-09-29 12:46:58 | <maerwald> | what software |
| 2020-09-29 12:47:04 | <Guest_71> | curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh |
| 2020-09-29 12:47:09 | <Guest_71> | this crap |
| 2020-09-29 12:47:14 | <Guest_71> | GHC |
| 2020-09-29 12:47:27 | × | thir quits (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-09-29 12:48:50 | → | raehik joins (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) |
| 2020-09-29 12:48:56 | → | barzo joins (~barzo@95.70.186.248) |
| 2020-09-29 12:49:11 | <maerwald> | that's an excellent question |
| 2020-09-29 12:49:59 | → | Orbstheorem joins (~roosember@hellendaal.orbstheorem.ch) |
| 2020-09-29 12:50:15 | × | nbloomf quits (~nbloomf@2600:1700:83e0:1f40:6509:5e93:9c09:e475) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-09-29 12:51:55 | <Guest_71> | any ideas? |
| 2020-09-29 12:52:09 | <yushyin> | you must be right about that course, maerwald. |
| 2020-09-29 12:52:58 | <maerwald> | I don't have a mac, but the script requires certain tools that the system must install (such as curl, tar, ...). Afaik mac tries to pull these from somewhere |
| 2020-09-29 12:53:12 | <maerwald> | It seems to fail doing so |
| 2020-09-29 12:54:17 | <merijn> | maerwald: curl and tar are always installed, afaik |
| 2020-09-29 12:54:19 | <dminuoso> | This seems like an Xcode error. |
| 2020-09-29 12:54:39 | <merijn> | xcode errors shouldn't kick in until you try to compile/link, though |
| 2020-09-29 12:54:39 | <dminuoso> | Since that's the error you'd get from `xcode-select --install` in some situations. |
| 2020-09-29 12:55:01 | <dminuoso> | Does ghcup invoke xcode-select? |
| 2020-09-29 12:55:14 | <maerwald> | dminuoso: no, but I think that happens implicitly |
| 2020-09-29 12:55:21 | <maerwald> | that's what ppl told me |
| 2020-09-29 12:55:25 | <dminuoso> | Implicitly when? |
| 2020-09-29 12:55:35 | <maerwald> | Good question |
| 2020-09-29 12:55:39 | <merijn> | so far I don't see an error message, so it's impossible to say |
| 2020-09-29 12:56:05 | → | p-core joins (~Thunderbi@2001:718:1e03:5128:2ab7:7f35:48a1:8515) |
| 2020-09-29 12:56:05 | <dminuoso> | Guest_71: Can you share the full terminal output since you ran that command in a gist/pastie/snippet? |
| 2020-09-29 12:56:24 | → | wimpunk1 joins (~wimpunk@185.189.112.19) |
| 2020-09-29 12:56:37 | <dminuoso> | merijn: He mentioend the error message above. And that's most definitely an error message from xcode-select :) |
| 2020-09-29 12:57:22 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-29 12:57:57 | <Guest_71> | it didn't appear in the console it was a pop up box |
| 2020-09-29 12:58:01 | <Guest_71> | if that helps |
| 2020-09-29 12:58:17 | <dminuoso> | Ah, still share the output. |
| 2020-09-29 12:58:50 | → | nbloomf joins (~nbloomf@2600:1700:83e0:1f40:71e4:29c:fe07:7926) |
| 2020-09-29 12:58:57 | <Guest_71> | his script will download and install the following binaries: * ghcup - The Haskell toolchain installer (for managing GHC/cabal versions) * ghc - The Glasgow Haskell Compiler * cabal - The Cabal build toolghcup installs only into the following directory,which can be removed anytime: /Users/MacBook-Pro/.ghcupPress ENTER to proceed or |
| 2020-09-29 12:58:58 | <Guest_71> | ctrl-c to abort.Note that this script can be re-run at any given time. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 8345k 100 8345k 0 0 7880k 0 0:00:01 0:00:01 --:--:-- 7880k[ Info ] Upgrading GHCup...[ Info ] |
| 2020-09-29 12:58:58 | <Guest_71> | downloading: https://downloads.haskell.org/~ghcup/0.1.11/x86_64-apple-darwin-ghcup-0.1.11 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 40 8501k 40 3430k 0 0 7177k 0 0:00:01 --:--:-- 0:00:01 7177k100 8501k 100 8501k 0 |
| 2020-09-29 12:58:59 | <Guest_71> | 0 9487k 0 --:--:-- --:--:-- --:--:-- 9487k[ Info ] verifying digest of: ghcup[ Info ] Successfully upgraded GHCup to version 0.1.11System requirements Note: On OS X, in the course of running ghcup you will be given a dialog box to install the command line tools. Accept and the requirements will be installed for you. You will then need to |
| 2020-09-29 12:58:59 | <Guest_71> | run the command again.Press ENTER to proceed or ctrl-c to abort.Installation may take a while.[ Info ] verifying digest of: ghc-8.8.4-x86_64-apple-darwin.tar.xz[ Info ] Unpacking: ghc-8.8.4-x86_64-apple-darwin.tar.xz to /var/folders/98/8p2q1z693kgd515zsjklyg5c0000gn/T/ghcup-6LMxdn[ Info ] Installing GHC (this may take a while)[ ghc-configure ] |
| 2020-09-29 12:59:00 | <Guest_71> | not found (too old?)[ ghc-configure ] checking for gcc... gcc[ ghc-configure ] checking whether the C compiler works... no[ ghc-configure ] configure: error: in `/private/var/folders/98/8p2q1z693kgd515zsjklyg5c0000gn/T/ghcup-6LMxdn/ghc-8.8.4':[ ghc-configure ] configure: error: C compiler cannot create executables[ ghc-configure ] See `config.log' |
| 2020-09-29 12:59:00 | <Guest_71> | for more details[ Error ] Build failed with NonZeroExit 77 "./configure" ["--prefix=/Users/MacBook-Pro/.ghcup/ghc/8.8.4"] Check the logs at "/Users/MacBook-Pro/.ghcup/logs" and the build directory "/var/folders/98/8p2q1z693kgd515zsjklyg5c0000gn/T/ghcup-6LMxdn" for more clues. Make sure to clean up |
| 2020-09-29 12:59:00 | × | Guest_71 quits (c13ddbc8@edu185.eduroam.aber.ac.uk) (Killed (Sigyn (Spam is off topic on freenode.))) |
| 2020-09-29 12:59:10 | ChanServ | sets mode +o ski |
| 2020-09-29 12:59:14 | <maerwald> | for some reason, I know this would happen |
| 2020-09-29 12:59:18 | <yushyin> | me too |
| 2020-09-29 12:59:33 | ChanServ | sets mode -o ski |
| 2020-09-29 12:59:49 | <dminuoso> | Doesn't help for their Haskell experience. :< |
| 2020-09-29 13:00:00 | → | guest12 joins (c13ddbc8@edu185.eduroam.aber.ac.uk) |
| 2020-09-29 13:00:04 | <guest12> | okay im that same person it just kicked me |
| 2020-09-29 13:00:09 | <maerwald> | :D |
| 2020-09-29 13:00:14 | <ski> | please don't paste lots of lines into the channel |
| 2020-09-29 13:00:15 | <dminuoso> | guest12: Yeah, use a website to paste content, dont flood the channel. :) |
| 2020-09-29 13:00:25 | <dminuoso> | You can use https://paste.tomsmeding.com/ |
| 2020-09-29 13:00:32 | <guest12> | okay thanks xD |
| 2020-09-29 13:00:41 | <Cheery> | gist github is also good if you happen to have github account. |
| 2020-09-29 13:00:55 | <dminuoso> | Always good to donate your data to Microsoft. |
| 2020-09-29 13:00:59 | × | barzo quits (~barzo@95.70.186.248) (Quit: Quit) |
| 2020-09-29 13:01:34 | <guest12> | https://paste.tomsmeding.com/iIICrGHx |
| 2020-09-29 13:02:01 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds) |
| 2020-09-29 13:02:31 | <gehmehgeh> | guest12: what does "cc --version" say? |
| 2020-09-29 13:02:48 | <merijn> | ok, yeah, that's missing xcode |
| 2020-09-29 13:02:50 | <gehmehgeh> | (on the command line) |
| 2020-09-29 13:02:54 | <dminuoso> | guest12: Did you ever get a dialog box to install the command line tools? |
| 2020-09-29 13:03:18 | <guest12> | yes I did and thats where I got the error |
| 2020-09-29 13:03:47 | <gehmehgeh> | guest12: can you type "cc --version", please? |
| 2020-09-29 13:04:29 | → | motherfsck joins (~motherfsc@unaffiliated/motherfsck) |
| 2020-09-29 13:04:42 | <gehmehgeh> | guest12: also "gcc --version" |
| 2020-09-29 13:04:48 | <gehmehgeh> | cc should be Clang |
| 2020-09-29 13:04:49 | <gehmehgeh> | I guess |
| 2020-09-29 13:04:51 | <guest12> | https://paste.tomsmeding.com/Esfn48xS |
| 2020-09-29 13:04:52 | <gehmehgeh> | (on MacOS) |
| 2020-09-29 13:04:57 | <guest12> | then I get that with a dialog box |
| 2020-09-29 13:05:28 | <guest12> | same with gcc |
| 2020-09-29 13:05:53 | <dminuoso> | guest12: Out of curiosity, which macOS version are you on? |
| 2020-09-29 13:06:08 | <gehmehgeh> | guest12: type "uname -a" |
| 2020-09-29 13:06:09 | <guest12> | catalina |
| 2020-09-29 13:06:37 | <dminuoso> | Brave thing, to be running on most recent macOS. :> |
| 2020-09-29 13:07:06 | × | DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection) |
| 2020-09-29 13:07:34 | <dminuoso> | Perhaps the apple repos are bugged at the moment |
| 2020-09-29 13:07:36 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-29 13:07:48 | <dminuoso> | Do you have an icloud account? |
| 2020-09-29 13:07:50 | <gehmehgeh> | guest12: I typed it into a search engine, and apparently, MacOS will install the necessary development tools after asking you |
| 2020-09-29 13:07:52 | <merijn> | Try running "xcode-select --install" |
| 2020-09-29 13:08:05 | <gehmehgeh> | guest12: yes, waht merijn said for example |
| 2020-09-29 13:08:07 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net) |
| 2020-09-29 13:08:08 | → | DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) |
| 2020-09-29 13:08:11 | <gehmehgeh> | guest12: or just type "make" or "gcc" or whatever |
| 2020-09-29 13:08:29 | → | jedws joins (~jedws@121.209.139.222) |
| 2020-09-29 13:08:42 | <guest12> | same thing happens in the middle of the finding software bar it comes up with that message |
| 2020-09-29 13:08:45 | → | Ariakenom_ joins (~Ariakenom@h-98-128-229-8.NA.cust.bahnhof.se) |
| 2020-09-29 13:08:50 | <dminuoso> | guest12: Alright, then install it manually from https://developer.apple.com/download/more/?=command%20line%20tools |
All times are in UTC.