Comments (18)
Can you paste the error message here? That would be very helpful. Probably it's related to your old cabal version.
from haskell-ricochet.
What version of the process
package do you have? (I think we need at least 1.2.0.0
.) You can find that out by running ghc-pkg latest process
.
from haskell-ricochet.
well, apparently it's 1.1.0.2.
this still doesn't explain Monoid being out of scope? Either way we should fix it to run on other systems too.
from haskell-ricochet.
Still, could you please paste the error message related to Monoid? I guess the process
problem will be easy to fix, but I don’t quite understand what’s the issue with Monoid.
from haskell-ricochet.
Ah, now I got you:
When changing 'callProcess' to 'runProcess', I get the following error:
[1 of 1] Compiling Main ( Setup.hs, dist/setup/Main.o )
Setup.hs:15:84: Not in scope: `mempty'
Setup.hs:21:23:
Not in scope: type constructor or class Monoid' Perhaps you meant
Monad' (imported from Prelude)
Setup.hs:24:22:
Not in scope: type constructor or class Monoid' Perhaps you meant
Monad' (imported from Prelude)
from haskell-ricochet.
mempty is another questionable one. the only module imported completely is 'Distribution.Simple', but it certainly isn't in the version I have at least
from haskell-ricochet.
Can you please check wether it is fixed on build-system-fix
?
from haskell-ricochet.
still whining about 'callProcess'. but leaving this aside, he's complaining about something else now:
Setup.hs:15:63:
Couldn't match expected type `IO a0'
with actual type `Maybe FilePath
-> Maybe [(String, String)]
-> Maybe GHC.IO.Handle.Types.Handle
-> Maybe GHC.IO.Handle.Types.Handle
-> Maybe GHC.IO.Handle.Types.Handle
-> IO System.Process.Internals.ProcessHandle'
In the first argument of `(>>)', namely `runHprotoc'
In the first argument of `const', namely
`(runHprotoc >> return mempty)'
In the first argument of `const', namely
`(const (runHprotoc >> return mempty))'
Failed, modules loaded: none.
the operator itself is included in the Prelude even, meaning the issue is within runHprotec
, which is, due to the unavailability of callProcess
probably altered. My guess: it should work with updating the process module (callProcess), gotta figure out how to do it.
from haskell-ricochet.
Okay, after I found out how to update packages and such, process still got me some issues. when loading in ghci and trying to run it, he complained about two process instances ... working on that one.
another issue: when cabal configure
-ing it, cabal insists setup: hprotoc: does not exist
, even though I've confirmed its installation.
Another issue I'm fighting with is the lack of easy uninstallation of packages and that I need to go somewhere in a few minutes, meaning I'll have to end it for today.
from haskell-ricochet.
Welcome to the cabal hell, dude.
from haskell-ricochet.
another issue: when cabal configure-ing it, cabal insists setup: hprotoc: does not exist, even though I've confirmed its installation.
Did you put ~/.cabal/bin
into your $PATH
?
from haskell-ricochet.
How does it look right now?
from haskell-ricochet.
Thing is, it worked. Or rather, it got me another error.
current status:
cabal is unable to build the package due to the bytestring package getting 'shadowed' or sth.
cabal is unable to sandbox due to being one version behind.
cabal is unable of updating, saying it wouldn't find the module System.Directory, exiting the install of Cabal-1.22.4.0 with ExitFailure 1 during the configure step.
gave up after about 3 hours.
(status on my desktop-machine, the one on my laptop is similar)
well, I'll try again another time.
I thought about installing Arch Linux as a base for some time now, and I guess I'll do it after learning Haskell a bit more.
from haskell-ricochet.
Rather install NixOS :)
from haskell-ricochet.
Can this be closed, as it's something @blueburningcoder will have to sort out by themselves?
from haskell-ricochet.
Well, guess so. I'll figure a way out at some point (I hope).
from haskell-ricochet.
Rather install NixOS :)
Nix on itself should work too.
from haskell-ricochet.
Reopen this, if the issue still exists. Thank you
from haskell-ricochet.
Related Issues (20)
- Rewrite Network.Ricochet.Lowest using attoparsec
- Use haskell-socket instead of network
- Packet transport not compatible with c++ implementation HOT 10
- Create C-bindings HOT 5
- Find a crypto library with haskell bindings HOT 22
- Ensure that packet size is set correctly HOT 2
- Testing HOT 6
- Implement Network.Ricochet.Crypto HOT 14
- Document Network.Ricochet HOT 2
- Add type signatures with corresponding documentation for our Lenses HOT 3
- Write nice monadic run functions HOT 2
- Add a usable environment for updating and using nix expressions HOT 7
- Free Monads for expressing effects? HOT 1
- root needed to run the demos HOT 5
- Demos don't seem to be working HOT 2
- Rewrite README.adoc HOT 3
- Add explicit version requirements to haskell-ricochet.cabal HOT 1
- Agree on a simpler includes style
- Move to self-hosted HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haskell-ricochet.