Comments (2)
So, a few hours later, with the help of some web searches, I managed to fix this.
-
Use
--extra-...
flags (shown in the README; my bad for not doing that in the first place):stack install --fast --extra-include-dirs ${HOMEBREW_PREFIX}/include --extra-lib-dirs ${HOMEBREW_PREFIX}/lib
-
In
stack.yaml
, I bumped the version ofChart-cairo-1.9.3
to 1.9.4.This was needed, because
stack.yaml
is configured (out-of-the-box) withresolver: lts-21.21
(with GHC 9.4.7), which includeslens-5.2.3
,
which exceeds the requirements forChart-cairo-1.9.3
, butlens-5.2.3
will work with 1.9.4.I suggest to fix this on the IHaskell side. (How did it work for others?)
-
Update my XCode command-line tools, which is a bit more complicated nowadays.
-
Install libmagic (
./ihaskell-display/ihaskell-magic
seems to need this):brew install libmagic
And now building (see the command under Step 1 above) worked (took a while, though, with 157 things to build).
I did get a warning after the build that ihaskell
is linked to ~/.local/bin/ihaskell
,
which is good to know, since after the build, you then need to run
~/.local/bin/ihaskell install --stack
Finally, after starting a Jupyter server with
stack exec jupyter -- notebook
I could open a notebook with an IHaskell language kernel, and everything worked again!
from ihaskell.
-
As you noted, this is mentioned in our README.
-
That's strange that it works in CI for us but not for you. I've updated the version of
Chart-cairo
we pull in with #1436. -
This is macOS-specific, nothing we can do about it here.
-
Same as 3.
I did get a warning after the build that ihaskell is linked to
~/.local/bin/ihaskell
That's a Stack feature.
It sounds like you got everything working in the end, so I will go ahead and close this. Please reopen if necessary.
from ihaskell.
Related Issues (20)
- nix run github:IHaskell/IHaskell#ihaskell -- install HOT 2
- ihaskell-diagrams-0.3.2.1 fails to build HOT 4
- Adding packages HOT 1
- Update `IHaskell.IPython.EasyKernel.installKernelspec` to use `jupyter` instead of `ipython` HOT 1
- New ghc-parser release? HOT 3
- Installation Fails in Apple Silicon MacBook HOT 6
- Nix instructions seem wildly out of date HOT 1
- Cannot install because of missing file on GitHub HOT 6
- Jupyter cannot connect to kernel from outside IHaskell folder. HOT 2
- Tests run "forever" HOT 5
- Notebooks don't correctly update the status of input cells HOT 3
- `jupyterlab-ihaskell` does not support JupyterLab 4.x HOT 1
- When installing from nix flake the ihaskell kernel does not become available in jupyter HOT 2
- IHaskell.Display.Widgets not available when using Nix packages HOT 3
- `nix/release.nix` doesn't work after #1425 HOT 1
- No persistent command history in jupyter console HOT 1
- Running on Docker: iHaskell.Display not found HOT 4
- Syntax highlight not working with jupyterlab 4.1.6 HOT 5
- Import IHaskell packages in notebook outside IHaskell folder 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 ihaskell.