Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I was trying to build dekorator, but

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)

But automoc4 was installed already.

Any thoughts?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

There is an open bug report.

The workaround is to add a line to the cmake command in your PKGBUILD:

-DAutomoc4_DIR=/usr/lib/automoc4

There is also a forum thread with a more general solution; adding a line to your shell file:

export Automoc4_DIR=/usr/lib/automoc4
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.