checking for GLIB... configure: error: Package requirements (glib-2.0) were not met:


No package 'glib-2.0' found


yum -y install glib2-devel





checking for FUSE... configure: error: Package requirements (fuse >= 2.2) were not met:


No package 'fuse' found


yum -y install fuse-devel





configure: error: "libcurl not found"


아래 사이트에서 최신 버전의 cURL을 다운로드
http://curl.haxx.se/download.html

tar -xvzf curl-*
./configure
make
make install 






 
configure 과정 중에 만나게 되는 오류

checking for GLIB... configure: error: The pkg-config script could not be found or is too old.  Make sure it

is in your PATH or set the PKG_CONFIG environment variable to the full

path to pkg-config.



해결 방법은 간단하다.

yum -y install pkgconfig

 
간혹 소스 컴파일 도중에 아래와 같은 메시지를 접할 수 있다.

checking kernel headers... configure: error: not found in /lib/modules/2.6.18-194.el5/build/include. please install them!



헤더 파일 경로에 헤더가 없는 경우로서,
대체로 kernel-devel 이 엉뚱한 심볼릭 링크를 걸어 둔 경우 발생한다.
따라서 아래와 같이 심볼릭 링크를 교정하여 인클루드를 제대로 먹여야 한다.

cd /lib/modules/*
rm source build
ln -s /usr/src/kernels/* build
ln -s build source

+ Recent posts