Comments (4)
Does "cabal install Haxl" not work? Manually installing the dependencies ahead of time is a non-standard way to get the dependencies to line up.
I would also recommend trying to use stackage for package management.
from haxl.
@zinking What happens if you cabal configure
instead of ./Setup configure
? and with cabal install
?
Our Setup.hs
file is the bog standard one that cabal creates, so either something is weird about the installed versions you have, or there is some path issue and Cabal (the library) can't find the same packages that cabal (the executable) can.
from haxl.
:Haxl/ (master✗) $ cabal configure [7:40:59]
Resolving dependencies...
Configuring haxl-0.3.1.0...
:Haxl/ (master✗) $ cabal install [7:41:06]
Resolving dependencies...
Configuring haxl-0.3.1.0...
Building haxl-0.3.1.0...
Failed to install haxl-0.3.1.0
Build log ( /Users/awang/.cabal/logs/haxl-0.3.1.0.log ):
cabal: Entering directory '.'
Configuring haxl-0.3.1.0...
Building haxl-0.3.1.0...
Preprocessing library haxl-0.3.1.0...
[ 1 of 11] Compiling Haxl.Core.Util ( Haxl/Core/Util.hs, dist/build/Haxl/Core/Util.o )
[ 2 of 11] Compiling Haxl.Core.StateStore ( Haxl/Core/StateStore.hs, dist/build/Haxl/Core/StateStore.o )
[ 3 of 11] Compiling Haxl.Core.Show1 ( Haxl/Core/Show1.hs, dist/build/Haxl/Core/Show1.o )
[ 4 of 11] Compiling Haxl.Core.Types ( Haxl/Core/Types.hs, dist/build/Haxl/Core/Types.o )
[ 5 of 11] Compiling Haxl.Core.DataCache ( Haxl/Core/DataCache.hs, dist/build/Haxl/Core/DataCache.o )
[ 6 of 11] Compiling Haxl.Core.RequestStore ( Haxl/Core/RequestStore.hs, dist/build/Haxl/Core/RequestStore.o )
[ 7 of 11] Compiling Haxl.Core.Exception ( Haxl/Core/Exception.hs, dist/build/Haxl/Core/Exception.o )
[ 8 of 11] Compiling Haxl.Core.Monad ( Haxl/Core/Monad.hs, dist/build/Haxl/Core/Monad.o )
[ 9 of 11] Compiling Haxl.Core.Memo ( Haxl/Core/Memo.hs, dist/build/Haxl/Core/Memo.o )
Haxl/Core/Memo.hs:137:23: Not in scope: ‘<$>’
Haxl/Core/Memo.hs:146:23: Not in scope: ‘<$>’
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
haxl-0.3.1.0 failed during the building phase. The exception was:
ExitFailure 1
I am OSX maverix, The Glorious Glasgow Haskell Compilation System, version 7.8.3
and tried update cabal
from haxl.
I just pushed some commits that should fix the build for GHC 7.8.
Sorry about that, but we don't always notice when 7.8 build is broken. I added a Travis badge to surface the build status more.
As for why cabal configure
succeeds and ./Setup.hs configure
doesn't, that might be a question for the Cabal folks. I'm guessing there is a path issue.
from haxl.
Related Issues (20)
- 2.1.*.0 tags and Hackage release HOT 1
- Building Error HOT 1
- Plans for a monad transformer interface? HOT 1
- New version to Hackage for GHC 8.8 and beyond HOT 3
- DataCacheTest fails to build with executable profiling enabled
- Release version compatible with aeson-2 and GHC 9 HOT 2
- Adding MonadMask instance HOT 1
- Rename Show1 to ShowP HOT 2
- This package is not licensed under BSD3 HOT 2
- haxl failing to compile with ghc-8.2 rc2 HOT 6
- Memory consumption depending on type annotation HOT 3
- Non-deterministic failure in collectsdata test
- Haxl 2 release on Hackage HOT 3
- Broken Hackage links HOT 1
- 2.0.0.0 tag is missing. HOT 1
- No way to update or invalidate cache HOT 9
- Don't rely on `Show` to be valid Haskell code HOT 4
- Inaccurate lower bound on `base`
- tight upper bounds for ghc-8.6.1 HOT 1
- runHaxl stuck HOT 1
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 haxl.