Logs: liberachat/#haskell
| 2021-06-07 00:12:32 | → | chris_ joins (~chris@81.96.113.213) |
| 2021-06-07 00:13:23 | <Flux> | when i type ghci --version i am getting "The Glorious Glasgow Haskell Compilation System, version 9.0.0.20210113" |
| 2021-06-07 00:13:25 | <Flux> | what is happening T_T |
| 2021-06-07 00:13:40 | <Flux> | i don't see this in my ~/.ghc |
| 2021-06-07 00:14:59 | <geekosaur> | o.O that is a beta release of what became 9.0.1 |
| 2021-06-07 00:15:02 | × | jmcarthur quits (~jmcarthur@c-73-29-224-10.hsd1.nj.comcast.net) (Client Quit) |
| 2021-06-07 00:15:31 | <Flux> | how do i fix this LOL |
| 2021-06-07 00:15:33 | <geekosaur> | maerwald, any idea what's up here? |
| 2021-06-07 00:15:40 | <yushyin> | isn't it glorious? ;) |
| 2021-06-07 00:15:52 | <shapr> | Flux: how'd you get a beta release? |
| 2021-06-07 00:16:00 | <Flux> | no idea |
| 2021-06-07 00:16:47 | × | chris_ quits (~chris@81.96.113.213) () |
| 2021-06-07 00:17:02 | → | chris_ joins (~chris@81.96.113.213) |
| 2021-06-07 00:18:09 | <yushyin> | where did you get this ghci, where is the binary located? might give you a clue as to how it was installed. |
| 2021-06-07 00:18:11 | <geekosaur> | I'm going to guess you used ghcup to blindly install the latest ghc on or around 20210113, and got that prerelease |
| 2021-06-07 00:18:26 | <geekosaur> | like today there's a 20210422 prerelease of 9.2.0 |
| 2021-06-07 00:18:33 | <Flux> | how do i find where the binary is located |
| 2021-06-07 00:18:52 | × | chris_ quits (~chris@81.96.113.213) (Client Quit) |
| 2021-06-07 00:18:55 | <Flux> | what should the binary be called |
| 2021-06-07 00:19:02 | <Axman6> | `which ghci` |
| 2021-06-07 00:19:08 | <yushyin> | try `which ghci' or `where ghci' |
| 2021-06-07 00:19:13 | → | chris_ joins (~chris@81.96.113.213) |
| 2021-06-07 00:19:14 | × | eight quits (~eight@user/eight) (Read error: Connection reset by peer) |
| 2021-06-07 00:19:18 | <Flux> | oh it is just /usr/local/bin/ghci |
| 2021-06-07 00:19:18 | × | zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!) |
| 2021-06-07 00:19:24 | → | eight joins (~eight@user/eight) |
| 2021-06-07 00:19:25 | <chris_> | l |
| 2021-06-07 00:19:33 | × | eight quits (~eight@user/eight) (Client Quit) |
| 2021-06-07 00:19:45 | <chris_> | axeman6 think i've managed to get limeChat working thx |
| 2021-06-07 00:19:47 | <Axman6> | what does `ls -l /usr/local/bin/ghci` say? |
| 2021-06-07 00:20:05 | <Axman6> | chris_: looks like it's working to me, welcome! |
| 2021-06-07 00:20:12 | <Flux> | lrwxrwxrwx 1 root root 19 Jan 16 23:04 /usr/local/bin/ghci -> ghci-9.0.0.20210113 |
| 2021-06-07 00:20:23 | <Flux> | hmm i symlinked it somehow |
| 2021-06-07 00:20:24 | <Flux> | weird |
| 2021-06-07 00:20:46 | <monochrom> | "ghcup tui" exists. |
| 2021-06-07 00:21:00 | <haskellGuestGuy> | chris_ test |
| 2021-06-07 00:21:04 | <monochrom> | ghcup also makes those symlinks. |
| 2021-06-07 00:21:23 | <haskellGuestGuy> | chris_ test |
| 2021-06-07 00:21:41 | <geekosaur> | but ghcup's look like: lrwxrwxrwx 1 allbery allbery 22 Feb 7 12:42 /home/allbery/.ghcup/bin/ghci -> ../ghc/8.10.4/bin/ghci* |
| 2021-06-07 00:22:12 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 252 seconds) |
| 2021-06-07 00:22:18 | <monochrom> | Ah, right. |
| 2021-06-07 00:23:00 | <Axman6> | I'm so glad ghcup exists, working with ghc versions was such a pain before it. |
| 2021-06-07 00:23:40 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 245 seconds) |
| 2021-06-07 00:23:56 | <yushyin> | yeah, /usr/local/bin is not usually the path ghcup nor stack installs binaries to, right? |
| 2021-06-07 00:24:09 | <monochrom> | Right. |
| 2021-06-07 00:24:09 | <geekosaur> | neither one, yes |
| 2021-06-07 00:24:33 | <geekosaur> | nor post system package managers (aside from *bsd) |
| 2021-06-07 00:24:37 | <geekosaur> | *most |
| 2021-06-07 00:25:15 | <geekosaur> | that said there's also brew on macos |
| 2021-06-07 00:25:32 | <yushyin> | so check if the path is owned by your package manager and if not just rm it? |
| 2021-06-07 00:25:33 | <geekosaur> | but I'd expect that to use a cask, especially for a prerelease |
| 2021-06-07 00:25:35 | <Flux> | strange |
| 2021-06-07 00:26:37 | <Flux> | rm all 3 of these? ghc-9.0.0.20210113ghci-9.0.0.20210113ghc-pkg-9.0.0.20210113 |
| 2021-06-07 00:27:00 | <janus> | Flux: you can use apt-file to check if your package manager installed those |
| 2021-06-07 00:27:12 | <janus> | if you are on a debian derivative |
| 2021-06-07 00:27:33 | <Flux> | did not know about apt-file |
| 2021-06-07 00:27:35 | <Flux> | but yes i am on ubuntu |
| 2021-06-07 00:27:52 | <janus> | but apt-file may not work well with third-party packages, i think |
| 2021-06-07 00:27:57 | × | chris_ quits (~chris@81.96.113.213) () |
| 2021-06-07 00:28:03 | <janus> | so maybe better try with "dpkg -L ghc<tab>" |
| 2021-06-07 00:28:15 | <janus> | and you can use tab completion to try to find a package name |
| 2021-06-07 00:28:23 | <Flux> | tab completion only shows ghc and ghc-8.8.2 |
| 2021-06-07 00:28:40 | <janus> | ok well then i guess it's not from the package manager |
| 2021-06-07 00:28:56 | <janus> | Flux: maybe reconsider how many sources you install ghc from |
| 2021-06-07 00:29:01 | → | chris_ joins (~chris@81.96.113.213) |
| 2021-06-07 00:29:07 | <Flux> | whoops no idea |
| 2021-06-07 00:29:10 | <Flux> | now i know |
| 2021-06-07 00:29:12 | <janus> | because i find it confusing to have one from ghcup, one from the OS, one from stack |
| 2021-06-07 00:29:24 | <Flux> | yeah |
| 2021-06-07 00:29:31 | <Flux> | this is likely from when i had no idea what was happening |
| 2021-06-07 00:29:37 | <Flux> | should i just use cabal or something instead |
| 2021-06-07 00:29:55 | <Flux> | will that resolve my issues |
| 2021-06-07 00:30:10 | → | ddellacosta joins (~ddellacos@89.46.62.43) |
| 2021-06-07 00:30:11 | <janus> | depends on the issue ;) |
| 2021-06-07 00:30:18 | <sclv> | cabal is a distinct tool from ghc installers |
| 2021-06-07 00:30:28 | <sclv> | you use it in conjunction with a ghc from ghcup or the os, not as opposed to |
| 2021-06-07 00:30:35 | <Flux> | yeah i meant |
| 2021-06-07 00:30:37 | <Flux> | cabal as opposed to stack |
| 2021-06-07 00:30:38 | <Flux> | :P |
| 2021-06-07 00:31:09 | <sclv> | well i tend to encourage people using cabal over stack, but i don't want to promise it has anything to do with this particular issue :-) |
| 2021-06-07 00:31:34 | → | ddellaco_ joins (~ddellacos@89.46.62.157) |
| 2021-06-07 00:31:56 | <janus> | since you're working with a giant complicated project like hasktorch, maybe ask them what they use, and then use the same |
| 2021-06-07 00:31:59 | <sclv> | note that ghcup installs to .ghcup usually and you should make sure your .bashrc will source ~/.ghcup/env to automatically get its installed versions in scope |
| 2021-06-07 00:32:08 | <Flux> | cabal and stack options both exist |
| 2021-06-07 00:32:15 | <Flux> | for hasktorch |
| 2021-06-07 00:32:24 | <Flux> | i think i chose stack randomly |
| 2021-06-07 00:33:20 | <sclv> | if your ghc is coming from ghcup you can just run "ghcup" to get a nice help that explains how to pick and switch ghcs |
| 2021-06-07 00:34:05 | <janus> | Flux: try doing ls /usr/local/bin/*20210113 because i think there are more binaries than the ones you listed |
| 2021-06-07 00:34:13 | chris_ | is now known as teaSlurper |
| 2021-06-07 00:34:51 | × | ddellacosta quits (~ddellacos@89.46.62.43) (Ping timeout: 252 seconds) |
| 2021-06-07 00:35:32 | <geekosaur> | have they fixed the bit where hsc2hs and friends are only installed nonversioned yet? (hm, I should check that locally) |
| 2021-06-07 00:35:45 | × | ddellaco_ quits (~ddellacos@89.46.62.157) (Ping timeout: 245 seconds) |
| 2021-06-07 00:35:52 | <geekosaur> | ah, yes |
| 2021-06-07 00:36:09 | <janus> | ghcup versions all of them, iirc |
| 2021-06-07 00:36:49 | <Flux> | if i install a version of ghc with ghcup |
| 2021-06-07 00:36:53 | <Flux> | am i supposed to be able to run ghci |
| 2021-06-07 00:36:54 | <yushyin> | is this what happens if people randomly `curl ... | sh' from the internet? :) |
| 2021-06-07 00:38:34 | <geekosaur> | source ~/.ghcup/env |
| 2021-06-07 00:38:34 | <geekosaur> | and arrange for your shell to do that on startup, so it can find things installed via ghcup |
| 2021-06-07 00:38:34 | × | geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Remote host closed the connection) |
All times are in UTC.