2005/10/13, Sandor Bodo-Merle <[EMAIL PROTECTED]>:
> Hi
>
> I just checked out classpath as an eclipse project. Build started
> instantly - this is a nice feature. But then i got compile error in
> the console window. It seems to me that the include path for freetype2
> package is not recognized by the configure system.
> Im usig breezy and i have libfreetype6-dev on my system.
>
> Sanyi
>

It seems that pangoft2 is only checked if --enable-gtk-cairo is on.
from configure.ac:

  if test "x${enable_gtk_cairo}" = xyes; then
    PKG_CHECK_MODULES(CAIRO, cairo >= 0.5.0)
    PKG_CHECK_MODULES(PANGOFT2, pangoft2)
  fi
  AC_SUBST(CAIRO_LIBS)
  AC_SUBST(CAIRO_CFLAGS)
  AC_SUBST(PANGOFT2_LIBS)
  AC_SUBST(PANGOFT2_CFLAGS)

But the actual incudes of pangoft headers in
native/jni/gtk-peer/gdkfont.h are not guarded against.

Sanyi

[...]
> In file included from /usr/include/pango-1.0/pango/pangofc-font.h:25,
>                  from /usr/include/pango-1.0/pango/pangoft2.h:29,
>                  from gdkfont.h:46,
>                  from gnu_java_awt_peer_gtk_GdkFontPeer.c:38:
> /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No
> such file or directory
> In file included from /usr/include/pango-1.0/pango/pangoft2.h:29,
>                  from gdkfont.h:46,
>                  from gnu_java_awt_peer_gtk_GdkFontPeer.c:38:
> /usr/include/pango-1.0/pango/pangofc-font.h:26:10: error: #include
> expects "FILENAME" or <FILENAME>
> In file included from /usr/include/pango-1.0/pango/pangoft2.h:29,
>


_______________________________________________
Classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to