Arch Linux에서 automoc4를 찾을 수 없습니다.

Arch Linux에서 automoc4를 찾을 수 없습니다.

데코레이터를 만들어보려고 했으나

CMake Error at /usr/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE):
  Did not find automoc4 (Automoc4Config.cmake, install
  git://anongit.kde.org/automoc).  (missing: AUTOMOC4_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/apps/cmake/modules/FindAutomoc4.cmake:49 (find_package_handle_standard_args)
  /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:423 (find_package)
  /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
  CMakeLists.txt:4 (find_package)

그러나 automoc4는 이미 설치되어 있습니다.

어떤 아이디어가 있나요?

답변1

오픈이 있습니다오류 보고서.

cmake해결책은 PKGBUILD의 명령에 다음 줄을 추가하는 것입니다.

-DAutomoc4_DIR=/usr/lib/automoc4

아직 하나 있어요포럼 주제보다 일반적인 해결책이 있습니다. 쉘 파일에 다음 줄을 추가하십시오.

export Automoc4_DIR=/usr/lib/automoc4

관련 정보