[CMake] Automoc4 issue when using cmake (2.8.9)

Laszlo Papp lpapp at kde.org
Mon Oct 1 11:12:46 EDT 2012


Any ideas?

Laszlo

On Thu, Sep 27, 2012 at 9:22 PM, Laszlo Papp <lpapp at kde.org> wrote:
> Seems those variables are empty:
>
> -- Looking for _POSIX_TIMERS - found
> CMAKE_PREFIX_PATH:
> CMAKE_MODULE_PATH:
> 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:426 (find_package)
>   /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
>   CMakeLists.txt:31 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
>
> Laszlo
>
> On Thu, Sep 27, 2012 at 7:05 PM, Alexander Neundorf
> <a.neundorf-work at gmx.net> wrote:
>> On Wednesday 26 September 2012, Laszlo Papp wrote:
>>> > do you know what changed "couple dof days ago" ?
>>> > Did you use an older version of cmake before ?
>>>
>>> No, I have always used 2.8.9 pretty much since it was released because of
>>> the KDE Frameworks effort and other things. kdelibs may have been updated.
>>>
>>> Anything special to debug or print out?
>>
>> Hmm, maybe add some debug output ?
>> In FindKDELibs4Internal.cmake there is a find_package() call for automoc.
>> Print something there, e.g. CMAKE_PREFIX_PATH, CMAKE_MODULE_PATH and also the
>> environment variable CMAKE_PREFIX_PATH.
>> This should help.
>>
>> Alex


More information about the CMake mailing list