CentOS 7에 AAC 코덱을 셋팅하려고
OPAM 설치하고
opam install liquidsoap fdkaac 진행했는데,
fdkaac 설치에서 아래처럼 실패합니다.
===============================
The following actions will be performed:
∗ install fdkaac 0.2.1
∗ install liquidsoap 1.3.3
===== ∗ 2 =====
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[fdkaac] Archive in cache
[liquidsoap] Archive in cache
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of fdkaac failed at "./configure
--prefix=/home/lmsmaster/.opam/4.05.0".
Processing 1/2: [fdkaac: ocamlfind remove]
#=== ERROR while installing fdkaac.0.2.1 ======================================#
# opam-version 1.2.2
# os linux
# command ./configure --prefix=/home/lmsmaster/.opam/4.05.0
# path /home/lmsmaster/.opam/4.05.0/build/fdkaac.0.2.1
# compiler 4.05.0
# exit-code 1
# env-file /home/lmsmaster/.opam/4.05.0/build/fdkaac.0.2.1/fdkaac-3788-58c514.env
# stdout-file /home/lmsmaster/.opam/4.05.0/build/fdkaac.0.2.1/fdkaac-3788-58c514.out
# stderr-file /home/lmsmaster/.opam/4.05.0/build/fdkaac.0.2.1/fdkaac-3788-58c514.err
### stdout ###
# [...]
# checking for camlp4r... camlp4r
# checking for camlp4rf... camlp4rf
# checking for ocamlfind... ocamlfind
# checking for ocaml standard library path... /home/lmsmaster/.opam/4.05.0/lib/ocaml
# checking for caml/threads.h... no
# checking for gcc option to produce PIC... -fPIC
# checking whether to build shared modules... yes
# checking for pkg-config... /bin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# checking whether pkg-config knows about fdk-aac >= 0.1.1...
### stderr ###
# configure: error: fdk-aac.pc not found.. Do you need to set PKG_CONFIG_PATH?
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
∗ install liquidsoap 1.3.3
The following actions failed
∗ install fdkaac 0.2.1
No changes have been performed
=-=- fdkaac.0.2.1 troobleshooting -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=> This package relies on external (system) dependencies that may be missing.
`opam depext fdkaac.0.2.1' may help you find the correct installation for
your system.
===========================
fdk-aac.pc 파일이 없다는 것 같은데 제가 리눅스를 잘 알지는 않아서...
저 .pc 파일이 패키지에는 없는 듯 하고,
.pc 파일이라는게 원래 어디에 포함되거나 어느 시점에서 생성되는건지 좀 알고싶습니다.
pkg-config에 대한 설명을 읽어봤지만 제가 제대로 이해했다면 패키지에 포함되어 있는 것이 맞는 것 같습니다만...
이 문제 관련 자료를 구글링 해 봐도 딱히 걸려나오는게 없네요....ㅜ
제가 생각했던거랑 달라서 결국 패스...