bugGnash - The GNU Flash player - Bugs: bug #38116, Configure auto detect freetype...


bug #38116: Configure auto detect freetype fails

Submitted by:  Julian Hall <jules>
Submitted on:  Fri 18 Jan 2013 04:28:26 PM UTC  
Category:  build Severity:  3 - Normal
Release:  0.8.10 Status:  In Progress
Privacy:  Public Assigned to:  Rob Savoye <rsavoye>
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 19 Jan 2013 05:17:23 PM UTC, comment #1: 

  Can you try this simple patch ? It works for me.

diff --git a/macros/freetype.m4 b/macros/freetype.m4
index 510951a..3f3967a 100644
--- a/macros/freetype.m4
+++ b/macros/freetype.m4
@@ -52,7 +52,7 @@ AC_DEFUN([GNASH_PATH_FREETYPE2],

     if test x"${ac_cv_path_freetype_incl}" = x ; then
-      AC_CHECK_HEADERS(freetype2/freetype/freetype.h)
+      AC_CHECK_HEADERS(freetype2/freetype/config/ftheader.h)

     AC_MSG_CHECKING([for libfreetype header])

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Fri 18 Jan 2013 04:28:26 PM UTC, original submission:  

If configure is not given an explicit path to freetype and none is available from pkg-config (e.g. because we are cross-compiling), it attempts to auto detect the presence of freetype by compiling a program that contains the line:

#include <freetype2/freetype/freetype.h>

Unfortunately, this test always fails, as this header file expands to a #error line if it is included before <ft2build.h>.

Julian Hall <jules>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rsavoye (Updated the item)
  • -email is unavailable- added by jules (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-01-19 rsavoye StatusNone => In Progress
        Assigned toNone => rsavoye

    Back to the top

    Powered by Savane 3.5