Problem with recipe that depends on a binary that is generated during its build


Matteo Iervasi
 

Hi!

I'm trying to integrate the Icinga (https://github.com/Icinga/icinga2) in our Yocto project. As there are no ready recipes for it, I'm trying to write my own, starting from the one used for Nagios which is the original project Icinga forked from.
Icinga uses CMake for the compile process. Problem is that the compilation relies on two binaries, mkclass and mkunity, that get built by the process itself and obviously the compilation stops because those commands cannot be found.

Searching the web I found only this hint in the Technical FAQ https://wiki.yoctoproject.org/wiki/Technical_FAQ#I_have_some_software_which_needs_to_build_a_binary_that_it_then_runs_as_part_of_its_own_build_process.2C_how_do_I_make_this_work.3F, but the problem is still there.

How can I get around this?


Best regards
Matteo Iervasi

Join yocto@lists.yoctoproject.org to automatically receive all group messages.