Sto provando ad installare il pacchetto ghcjs-dom su Mac OSX. È stato accidentato perché ci sono molte dipendenze. Webkitgtk3 è la mia nemesi correnteInstallazione di webkitgtk3 per GHCJS su osx
cabal install ghcjs-dom
Resolving dependencies...
Configuring webkitgtk3-0.14.1.1...
Failed to install webkitgtk3-0.14.1.1
Build log (/Users/markkaravan/.cabal/logs/webkitgtk3-0.14.1.1.log):
[1 of 2] Compiling SetupWrapper (/var/folders/br/4zwhphlx3816v87cc0bb5sxh0000gn/T/cabal-tmp-24401/webkitgtk3-0.14.1.1/SetupWrapper.hs, /var/folders/br/4zwhphlx3816v87cc0bb5sxh0000gn/T/cabal-tmp-24401/webkitgtk3-0.14.1.1/dist/setup/SetupWrapper.o)
[2 of 2] Compiling Main (/var/folders/br/4zwhphlx3816v87cc0bb5sxh0000gn/T/cabal-tmp-24401/webkitgtk3-0.14.1.1/dist/setup/setup.hs, /var/folders/br/4zwhphlx3816v87cc0bb5sxh0000gn/T/cabal-tmp-24401/webkitgtk3-0.14.1.1/dist/setup/Main.o)
Linking /var/folders/br/4zwhphlx3816v87cc0bb5sxh0000gn/T/cabal-tmp-24401/webkitgtk3-0.14.1.1/dist/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup (Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o)
[2 of 2] Compiling Main (SetupMain.hs, dist/setup-wrapper/Main.o)
Linking dist/setup-wrapper/setup ...
Configuring webkitgtk3-0.14.1.1...
setup: The pkg-config package 'webkitgtk-3.0' version >=1.8 is required but it
could not be found.
cabal: Error: some packages failed to install:
ghcjs-dom-0.2.3.1 depends on webkitgtk3-0.14.1.1 which failed to install.
webkitgtk3-0.14.1.1 failed during the configure step. The exception was:
ExitFailure 1
Ho provato i seguenti comandi per installare questa ventosa:
brew install gtk+3
brew install webkitgtk
brew install webkitgtk3
brew install webkitgtk+3
cabal install webkitgtk3
... ma senza fortuna del genere. qualcuno sa come installare questo pacchetto?
quale errore si ottiene con 'cabal install webkitgtk3' dovrebbe essere disponibile su https://hackage.haskell.org/package/webkitgtk3 – epsilonhalbe
@epsilonhalbe' setup: il pacchetto pkg-config 'webkitgtk-3.0' versione> = 1.8 è richiesto ma non è stato trovato. Sembra richiedere un pacchetto del sistema operativo, ma non sembra esserlo per l'homebrew. –
'webkitgtk-3.0' è elencato in' pkg-config --list-all'? In caso contrario, provare a trovare il file 'webkitgtk-3.0.pc' (o qualcosa di simile) e aggiungere il percorso alla variabile di ambiente' PKG_CONFIG_PATH'. Prova anche 'cabal configure -v3' per il registro dettagliato. – Yuras