2014-07-11 6 views
1

Cabal에서 ffmpeg-light를 설치하지 못했습니다. 어떻게 어디 있는지하는 음모를 알 수 있습니까Cabal에게 pkg-config 패키지가있는 위치를 알려주는 방법은 무엇입니까?

/home/timothy/ffmpeg_build/lib/pkgconfig 

:

cabal: The pkg-config package libavutil is required but it could not be found. 
Failed to install ffmpeg-light-0.7.1.1 
cabal: Error: some packages failed to install: 
ffmpeg-light-0.7.1.1 failed during the configure step. The exception was: 
ExitFailure 1 

PKG-설정 패키지에 있습니다 : 그것은 오류를 준다?

답변

0

PKG_CONFIG_PATH 변수는 pkg-config 패키지를 찾을 위치를 시스템에 알려줍니다. export PKG_CONFIG_PATH =/pkg-config-directory로 설정할 수 있습니다. 이 예 :

export PKG_CONFIG_PATH=/home/timothy/ffmpeg_build/lib/pkgconfig