haskell / haskell-platform

Distribution of Haskell with batteries included
http://www.haskell.org/platform/
Other
381 stars 91 forks source link

Is Full platform 8.6.3 available? #318

Open ghost opened 5 years ago

ghost commented 5 years ago

Both "Minimal installers" and "Haskell Platform" lead to https://www.haskell.org/platform/windows.html There are only Download Core … buttons

gbaz commented 5 years ago

Indeed we’re only producing core builds now. Cf https://mail.haskell.org/pipermail/haskell-cafe/2018-December/130371.html

This is a good reminder we need to update the page to reflect this.

ghost commented 5 years ago

But https://www.haskell.org/platform/contents.html informs already about content Full platform ?

gbaz commented 5 years ago

Indeed. We're maintaining the package listing of recommended versions of the full set. We're just not providing full builds, since their use is now discouraged.

yaxu commented 5 years ago

This is a problem for the network package. It doesn't install via the core haskell platform, but does work under the full version (I assume because it ships as part of it). https://github.com/haskell/network/issues/361

yaxu commented 5 years ago

I take that back, I just tried it out on a windows partition and the network package installed it fine with haskell core. Perhaps the problems others are having are down to https://github.com/haskell/haskell-platform/issues/320 .

yaxu commented 5 years ago

I've had a spate of windows people failing to get the haskell platform working with tidalcycles today. I've just been helping someone using remote admin (teamviewer) and verified the ghc config file is configured correctly.

The error I get from ghci:

Prelude> import Sound.Tidal.Context
Prelude Sound.Tidal.Context> tidal <- startTidal superdirtTarget defaultConfig
ghc.exe: | C:\Users\Bryan Green\AppData\Roaming\cabal\x86_64-windows-ghc-8.6.3\network-3.0.1.0-KyWTN8R07Nk13a65qAf8xd\HSnetwork-3.0.1.0-KyWTN8R07Nk13a65qAf8xd.o: unknown symbol `if_nametoindex'
ghc.exe: unable to load package `network-3.0.1.0'
Prelude Sound.Tidal.Context>
gbaz commented 5 years ago

Yeep. This sounds like it may be a new issue with the 3.0 release of network. Perhaps either @Mistuke or @kazu-yamamoto can weigh in?

(That said it appears this was first added as a function in network 2.7: https://github.com/haskell/network/blob/9f76de6ebbce081eb3c1408061eeb6d560614f54/CHANGELOG.md#version-2700)

One workaround for now might be, if possible, to constrain them to install with a lower version of network?

Mistuke commented 5 years ago

This seems to indicate that configure put out something incorrect. That function shouldn't work on windows since Iphlpapi isn't declared as a dependency on Windows.

Can you post the config.log output from the network build?

yaxu commented 5 years ago

Unfortunately I don't have access to the computer any more.

Mistuke commented 5 years ago

It seems the problem is this commit https://github.com/haskell/network/commit/3fa7caace378e405ae1dbfafe3f2c0a9ea74c78d#diff-67e997bcfdac55191033d57a16d1408a which removed the configure checks without adding the library dependency for Windows. unfortunately the CI only checks for building network, not if it's usable. I'll fix it and beef up the CI.

Mistuke commented 5 years ago

Ah no, it does run the testsuite,we're just missing a test that loads this offending module or uses ghci.

yaxu commented 5 years ago

Excellent news, thanks very much! This will make life a lot easier for me.