Compilation issues with sandbox project, please help

9 views
Skip to first unread message

Paweł Szulc

unread,
Nov 5, 2017, 4:59:51 AM11/5/17
to cloud-haskell-developers
Hi,

I'm playing around with some basic `distributed-process` examples, something at the end Iwant to contribute to the library as a quickstart tutorial. Project is hosted here https://github.com/rabbitonweb/Cloud-Haskell-Sandbox
Everything was working just fine with some simple `spawnLocal` examples, problem occurred when I tried to go fully distributed. 

In the latest commit https://github.com/rabbitonweb/Cloud-Haskell-Sandbox/commit/5014607ec6d29fce7612e989ecbbabb25e174698 I've added `distributed-process-simplelocalnet` to the project. After that I get some version conflicts during compile time:

```
distributed-process-simplelocalnet-0.2.4: build
Progress: 1/2
--  While building package distributed-process-simplelocalnet-0.2.4 using:
      /Users/rabbit/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/rabbit/projects/sandboxes/pingpong/.stack-work/logs/distributed-process-simplelocalnet-0.2.4.log

    Configuring distributed-process-simplelocalnet-0.2.4...
    Building distributed-process-simplelocalnet-0.2.4...
    Preprocessing library distributed-process-simplelocalnet-0.2.4...
    [1 of 2] Compiling Control.Distributed.Process.Backend.SimpleLocalnet.Internal.Multicast ( src/Control/Distributed/Process/Backend/SimpleLocalnet/Internal/Multicast.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Control/Distributed/Process/Backend/SimpleLocalnet/Internal/Multicast.o )
    
    /private/var/folders/ns/3r15xmld1pdbvvhnnny7907w0000gn/T/stack35630/distributed-process-simplelocalnet-0.2.4/src/Control/Distributed/Process/Backend/SimpleLocalnet/Internal/Multicast.hs:24:36: error:
        Module ‘Network.Transport.Internal’ does not export ‘decodeNum32’
    
    /private/var/folders/ns/3r15xmld1pdbvvhnnny7907w0000gn/T/stack35630/distributed-process-simplelocalnet-0.2.4/src/Control/Distributed/Process/Backend/SimpleLocalnet/Internal/Multicast.hs:24:49: error:
        Module ‘Network.Transport.Internal’ does not export ‘encodeEnum32’
```

Does anyone have a clue what I might be doing wrong? I've check that the version are compatible with each other, I tried it on GHC8 and GHC7, both had same issue.

Paweł Szulc

unread,
Nov 5, 2017, 3:31:36 PM11/5/17
to cloud-haskell-developers
This was obviously wrong group. Apologies. 
Reply all
Reply to author
Forward
0 new messages