OSX에서 컴파일에 필요한 라이브러리/프레임워크/패키지 설치

OSX에서 컴파일에 필요한 라이브러리/프레임워크/패키지 설치

컴파일하려고하는데지능형 시뮬레이션OSX Lion, 나는 지금 무대에 서 있다 ./configure.

지금까지 내가 달성한 내용은 다음과 같습니다.

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GTK... no
configure: error: Package requirements (gtk+-2.0) were not met:

Package 'cairo', required by 'pangocairo', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

그러나 Homebrew가 설치되어 있고 위의 항목이 설치되어 있다고 표시됩니다.

$ brew install gtk+
Warning: gtk+-2.24.17 already installed

내 파일 덤프는 다음과 같습니다 /etc/paths.

/usr/local/Cellar/
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
/Library/Frameworks/GTK+.framework/Resources/bin

아, 그리고 컴파일러 컬렉션, 빌드 도구 및 기타 모든 개발 도구를 위해 XCode도 설치했습니다.

그렇다면 필요한 pkgs/libs/frmwrks가 설치되어 있음을 인식하도록 구성 스크립트를 얻으려면 어떻게 해야 합니까?

관련 정보