4
gtk2hs없이 실행할 수없는 기존 코드가 있습니다. 하지만 설치가되지 않습니다. 이전에 캐벌과 시도했지만 올바른 해결책은 darcs에서 빌드하는 것임을 알았습니다. 그래서 수행Darcs로 gtk2hs 설치
darcs get --lazy http://code.haskell.org/gtk2hs
cd gtk2hs
export PATH=$HOME/Library/Haskell/bin:$PATH
sh bootstrap.sh
그리고이 얻을 :
Resolving dependencies...
Configuring gio-0.12.4.1...
setup: The pkg-config package gio-2.0 version >=2.16.4 is required but it
could not be found.
Resolving dependencies...
Configuring cairo-0.12.4.1...
setup: The pkg-config package cairo version >=1.2.0 is required but it could
not be found.
Resolving dependencies...
Configuring pango-0.12.4.1...
setup: At least the following dependencies are missing:
cairo >=0.12.0 && <0.13
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Configuring gtk-0.12.4.1...
setup: At least the following dependencies are missing:
cairo >=0.12.0 && <0.13, pango >=0.12.0 && <0.13
setup: Run the 'configure' command first.
setup: Run the 'configure' command first.
setup: Run the 'configure' command first.
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Configuring gtk3-0.12.4.1...
setup: At least the following dependencies are missing:
cairo >=0.12.0 && <0.13, pango >=0.12.0 && <0.13
setup: Run the 'configure' command first.
setup: Run the 'configure' command first.
setup: Run the 'configure' command first.
나는 음모와 darcs의 가장 최근 버전의 OSX에있어.
GTK가 설치되어 있습니까? 그것은 나에게 어떤 이유로 카발이 실제 GTK 라이브러리를 찾을 수없는 것처럼 보입니다 ... – MathematicalOrchid
@MathematicalOrchid 어떻게 알았습니까? 그것은 저에게 잘못되었습니다. 말도 안되는 것처럼 보입니다. 'pkg-config 패키지 cairo 버전> = 1.2.0이 필요하지만 찾을 수 없습니다'- 그것은 pkg-config가 구식입니까? 아니면 카이로 구식? 나는. 나는 GTK를 가지고있다. 그러나 같은 문제를 경험하고있다. –
@MathematicalOrchid 작성자의 문제 * (내 오류는 하나뿐입니다) * 나는 카이로에 대한 버전 오류를 추측 할 수 있지만 여전히 메시지 이해에 문제가 있습니다. 그 이유는 무엇입니까?«0.12.4.1 »버전,하지만«1.2.0»버전에 대한 불만? –