k0001 / network-simple

Haskell library abstracting common network sockets usage patterns.
BSD 3-Clause "New" or "Revised" License
33 stars 9 forks source link

Can't build on BlackArch (archlinux) #7

Closed kmiasko closed 10 years ago

kmiasko commented 10 years ago

I want to install hdevtools. They use network-simple as a dependency. I got some errors (showed here: https://gist.github.com/kmiasko/9812862). Any sugestions? I think the requirements are fulfiled.

k0001 commented 10 years ago

I tried building network-simple using GHC 7.6.3 and network-2.4.2.2 just like you did and it worked just fine for me. Can you build/install network-simple using cabal -v and check that Cabal is actually picking those dependencies? I can't see any obvious reasons why this is failing for you. Maybe #6 is related to this somehow?

In any case, it seems hdevtools doesn't depend on network-simple, so maybe something else is going on in your setup: http://hackage.haskell.org/package/hdevtools-0.1.0.5

kmiasko commented 10 years ago

I'm totaly new to cabal and haskell. hdevtools build depends on pipes-network which requires network-simple

Here is -v output: https://gist.github.com/kmiasko/9818239

It worked on windows 7 out of the box.

k0001 commented 10 years ago

It seems your installation of network-2.4.2.2 might be flawed somehow. Can you try installing an older version of network and see if that works better?

cabal install -v3 `network<2.4.2.2`

The -v3 switch is so that you get a more verbose output which hopefully can give you some hints.

kmiasko commented 10 years ago

I think so, on windows machine it used older version, but i installed it and nothing changed on linux. Installed network-2.4.2.1, unregistered 2.4.2.2 but still same effect. Nevermind, i used older hdevtools from other repo, it doesnt use network-simple. Thanks for your help.

k0001 commented 10 years ago

I'm glad you could workaround the problem.

Could you please point me to the hdevtools version that uses network-simple? The one in Hackage doesn't: http://hackage.haskell.org/package/hdevtools-0.1.0.5

kmiasko commented 10 years ago

Sure. https://github.com/bennofs/hdevtools.git

k0001 commented 10 years ago

@kmiasko it seems that version depends on pipes < 4, which is quite unsupported nowadays. Maybe that fork was abandoned.

k0001 commented 10 years ago

@kmiasko I'll close this as it seems there isn't any issue to resolve. Please reopen it if appropriate.

Thanks for your time.