Do you have the fribidi-types.h file present on your system, and if so, can you send me the full path to it? I think Debian may have moved it from its original location.
I have the fribidi-0.10.9 package installed. That is part of the 12.2 stock packages.
I do not have a fribidi-types.h file installed. I do have installed a /usr/include/fribidi/fribidi_types.h from that package.