#6688 UBUNTU: Build failure due to Unity Taskbar



trying to compile scummvm 1.7.0 for the Ubuntu gaming site playdeb,net there is this build error:
backends/taskbar/unity/unity-taskbar.cpp:33:19: fatal error: unity.h: No such file or directory
#include <unity.h>
compilation terminated.

The file actually exists here

But the directory is not included.

This is the build log:


  • digitall

    digitall - 2014-07-31
    • summary: fatal error: unity.h: No such file or directory --> UBUNTU: Build failure due to Unity Taskbar
  • digitall

    digitall - 2014-07-31

    Attaching the build log referred to earlier as external services may become inaccesssible before a developer gets time to look at this.

  • digitall

    digitall - 2014-08-14

    c-korn:See this message:
    ##718164 "FTBFS: Makefile:87: *** You need to run
    ./configure before you can run make".

    It looks like you have not run the configure script. If you have, please attach the config.mk and config.h as this will help work out why the unity path has not been detected.

    Setting this bug to pending. If it is not updated within 14 days, it will automatically be closed.

    Last edit: digitall 2014-08-14
  • digitall

    digitall - 2014-08-14
    • status: open --> pending-works-for-me
  • Willem Jan Palenstijn

    The part of configure checking for unity is very broken. If anyone using unity wants to submit a patch, please do.

  • Willem Jan Palenstijn

    • status: pending-works-for-me --> open
  • Filippos Karapetis

    So, has this been resolved with Tobia's patch?

  • Christoph Korn

    Christoph Korn - 2014-10-30

    For me this patch was sufficient:

    • Tobia Tesan

      Tobia Tesan - 2014-10-30

      Yes, that was the problem (and that's basically what I did, plus a few
      other things that were weird).

      I suppose it's fixed by now - it seemingly compiles fine and sans
      spurious warnings with libunity.

  • Filippos Karapetis

    Attaching the patch from Christoph Korn in the bug report - Thanks for your work!

  • Filippos Karapetis

    OK, since the issue has been resolved, this bug report can now be closed.

    Thanks finding the issue, and fixing it!

  • Filippos Karapetis

    • labels: --> Compilation, Ubuntu, Unity
    • status: open --> closed-fixed