라이브러리 빌드시 없는 라이브러리는 어떻게 확인하나요?
안녕하세요. 왕초보입니다.
너무나 초보이다 보니 질문이 이상한가 어째 답변이 잘 안달리네요^^
libgcrypt-1.4.2를 빌드하고있습니다.
./configure --prefix=/usr/local/webkit --host=mipsel-linux
이렇게 커맨드를 주었습니다.그랬더니 뭔가 바쁘게 화면에 나옵니다.
checking whether a HMAC binary check is requested... no
checking whether padlock support is requested... yes
checking for gpg-error-config... no
checking for GPG Error - version >= 1.4... no
configure: error: libgpg-error is needed.
See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ .
root@sean-desktop:~/sean/webkit/libs/libgcrypt-1.4.2#
그러더니 저런걸 보여주네요.
checking for gpg-error-config... no
checking for GPG Error - version >= 1.4... no
configure: error: libgpg-error is needed.
See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ .
물론 그 전에 libgpg-error-1.6 를 잘 설치했습니다.
# wget ftp://ftp.ring.gr.jp/pub/net/gnupg/libgpg-error/libgpg-error-1.6.tar.bz2
# tar jxvf libgpg-error-1.6.tar.bz2
# cd libgpg-error-1.6
# ./configure --prefix=/usr/local/webkit --host=arm-linux
# make
# make install
# cd ..
저렇게요....
그럼에도 불구하고 왜 저게 없다고 나오는거죠? 저게 잘 설치가 되어있는대도 불구하고 저렇게 없다고
나오는지 확인하고싶은데 어떻게 하나요?
초보라서 뭘 체크하고 어느곳을 봐야할지 모르겠습니다.
그럼좋은하루보내세요
PKG_CONFIG_PATH
prefix를 따로 주셨으니 PKG_CONFIG_PATH 잡아야죠.
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/webkit/lib/pkgconfig
댓글 달기