Re: pre4 on NetBSD, round 2



On Thu, 06 Mar 2003 22:22:10 -0600, Lars Clausen <lrclause cs uiuc edu>
wrote:

[pango] must be >= 1.1.5 (and configure is supposed to check that).  
That number was found by trial and error and may need to be upped.

Sorry about that.  That's what I've got, too.  

$ pkg-config --modversion pangoft2
1.2.1
$ pkg-config --modversion pango   
1.2.1

The errors indicate FT_Bitmap isn't defined.  FT_Bitmap is in
/usr/pkg/include/freetype2/freetype/ftimage.h, but that file is not
included, see attached.  
I know this is going to turn out to be easy; I just hope it doesn't turn
out to be stupid.  

Thanks again for the help, Lars.  

--jkl

$ gcc -H -DHAVE_CONFIG_H  -I. -I.. \
 -I../../lib \
 -I../../intl \
 -I/usr/pkg/include/libxml2 \
 -I/usr/pkg/include \
 -I/usr/pkg/include/gtk-2.0 \
 -I/usr/pkg/lib/gtk-2.0/include \
 -I/usr/pkg/include/atk-1.0 \
 -I/usr/pkg/include/pango-1.0 \
 -I/usr/pkg/include/freetype2 \
 -I/usr/X11R6/include \
 -I/usr/pkg/include/glib/glib-2.0 \
 -I/usr/pkg/lib/glib-2.0/include \
 -DDIA_SHEETDIR=\"/usr/local/share/dia/sheets\" \
 -DLIBDIR=\"/usr/local/lib\" \
 -DDATADIR=\"/usr/local/share/dia\" \
 -Wall \
 -Wunused \
 -Winline \
 -Wmissing-prototypes \
 -Wmissing-declarations \
 -finline-functions \
 -fstrict-aliasing \
 -c ../../lib/font.c  \
 -fPIC \
 -DPIC \
 -o font.lo 

[-H provides header file listing, and ftimage.h isn't there.]

../config.h
/usr/include/stdio.h
 /usr/include/sys/ansi.h
  /usr/include/machine/int_types.h
 /usr/include/sys/cdefs.h
  /usr/include/machine/cdefs.h
  /usr/include/sys/cdefs_elf.h
 /usr/include/sys/featuretest.h
 /usr/include/machine/ansi.h
 /usr/include/sys/null.h
/usr/include/stdlib.h
 /usr/include/sys/featuretest.h
 /usr/include/sys/types.h
  /usr/include/machine/types.h
  /usr/include/machine/endian.h
   /usr/include/sys/endian.h
    /usr/include/machine/endian_machdep.h
     /usr/include/machine/byte_swap.h
      /usr/include/sys/types.h
    /usr/include/sys/types.h
    /usr/include/machine/bswap.h
     /usr/include/sys/bswap.h
      /usr/include/sys/types.h
/usr/include/string.h
 /usr/include/sys/featuretest.h
 /usr/include/strings.h
  /usr/include/sys/featuretest.h
  /usr/include/string.h
/usr/pkg/include/pango-1.0/pango/pango.h
 /usr/pkg/include/pango-1.0/pango/pango-attributes.h
  /usr/pkg/include/pango-1.0/pango/pango-font.h
   /usr/pkg/include/pango-1.0/pango/pango-coverage.h
    /usr/pkg/include/glib/glib-2.0/glib.h
     /usr/pkg/include/glib/glib-2.0/glib/galloca.h
      /usr/pkg/include/glib/glib-2.0/glib/gtypes.h
       /usr/pkg/lib/glib-2.0/include/glibconfig.h
        /usr/pkg/include/glib/glib-2.0/glib/gmacros.h
         /usr/include/stddef.h
        /usr/include/limits.h
         /usr/include/machine/limits.h
         /usr/include/sys/syslimits.h
          /usr/include/sys/featuretest.h
        /usr/include/float.h
     /usr/pkg/include/glib/glib-2.0/glib/garray.h
     /usr/pkg/include/glib/glib-2.0/glib/gasyncqueue.h
      /usr/pkg/include/glib/glib-2.0/glib/gthread.h
       /usr/pkg/include/glib/glib-2.0/glib/gerror.h
        /usr/pkg/include/glib/glib-2.0/glib/gquark.h
     /usr/pkg/include/glib/glib-2.0/glib/gbacktrace.h
     /usr/pkg/include/glib/glib-2.0/glib/gcache.h
      /usr/pkg/include/glib/glib-2.0/glib/glist.h
       /usr/pkg/include/glib/glib-2.0/glib/gmem.h
     /usr/pkg/include/glib/glib-2.0/glib/gcompletion.h
     /usr/pkg/include/glib/glib-2.0/glib/gconvert.h
     /usr/pkg/include/glib/glib-2.0/glib/gdataset.h
     /usr/pkg/include/glib/glib-2.0/glib/gdate.h
     /usr/pkg/include/glib/glib-2.0/glib/gdir.h
     /usr/pkg/include/glib/glib-2.0/glib/gfileutils.h
     /usr/pkg/include/glib/glib-2.0/glib/ghash.h
     /usr/pkg/include/glib/glib-2.0/glib/ghook.h
     /usr/pkg/include/glib/glib-2.0/glib/giochannel.h
      /usr/pkg/include/glib/glib-2.0/glib/gmain.h
       /usr/pkg/include/glib/glib-2.0/glib/gslist.h
      /usr/pkg/include/glib/glib-2.0/glib/gstring.h
       /usr/pkg/include/glib/glib-2.0/glib/gunicode.h
     /usr/pkg/include/glib/glib-2.0/glib/gmarkup.h
     /usr/pkg/include/glib/glib-2.0/glib/gmessages.h
      /usr/include/stdarg.h
       /usr/include/sys/featuretest.h
     /usr/pkg/include/glib/glib-2.0/glib/gnode.h
     /usr/pkg/include/glib/glib-2.0/glib/gpattern.h
     /usr/pkg/include/glib/glib-2.0/glib/gprimes.h
     /usr/pkg/include/glib/glib-2.0/glib/gqsort.h
     /usr/pkg/include/glib/glib-2.0/glib/gqueue.h
     /usr/pkg/include/glib/glib-2.0/glib/grand.h
     /usr/pkg/include/glib/glib-2.0/glib/grel.h
     /usr/pkg/include/glib/glib-2.0/glib/gscanner.h
     /usr/pkg/include/glib/glib-2.0/glib/gshell.h
     /usr/pkg/include/glib/glib-2.0/glib/gspawn.h
     /usr/pkg/include/glib/glib-2.0/glib/gstrfuncs.h
     /usr/pkg/include/glib/glib-2.0/glib/gthreadpool.h
     /usr/pkg/include/glib/glib-2.0/glib/gtimer.h
     /usr/pkg/include/glib/glib-2.0/glib/gtree.h
     /usr/pkg/include/glib/glib-2.0/glib/gutils.h
   /usr/pkg/include/pango-1.0/pango/pango-types.h
    /usr/pkg/include/glib/glib-2.0/glib-object.h
     /usr/pkg/include/glib/glib-2.0/gobject/gboxed.h
      /usr/pkg/include/glib/glib-2.0/gobject/gtype.h
     /usr/pkg/include/glib/glib-2.0/gobject/genums.h
      /usr/pkg/include/glib/glib-2.0/gobject/gtype.h
     /usr/pkg/include/glib/glib-2.0/gobject/gobject.h
      /usr/pkg/include/glib/glib-2.0/gobject/gtype.h
      /usr/pkg/include/glib/glib-2.0/gobject/gvalue.h
       /usr/pkg/include/glib/glib-2.0/gobject/gtype.h
      /usr/pkg/include/glib/glib-2.0/gobject/gparam.h
       /usr/pkg/include/glib/glib-2.0/gobject/gvalue.h
      /usr/pkg/include/glib/glib-2.0/gobject/gclosure.h
       /usr/pkg/include/glib/glib-2.0/gobject/gtype.h
      /usr/pkg/include/glib/glib-2.0/gobject/gsignal.h
       /usr/pkg/include/glib/glib-2.0/gobject/gclosure.h
       /usr/pkg/include/glib/glib-2.0/gobject/gvalue.h
       /usr/pkg/include/glib/glib-2.0/gobject/gparam.h
       /usr/pkg/include/glib/glib-2.0/gobject/gmarshal.h
     /usr/pkg/include/glib/glib-2.0/gobject/gparam.h
     /usr/pkg/include/glib/glib-2.0/gobject/gparamspecs.h
      /usr/pkg/include/glib/glib-2.0/gobject/gvalue.h
      /usr/pkg/include/glib/glib-2.0/gobject/genums.h
      /usr/pkg/include/glib/glib-2.0/gobject/gboxed.h
      /usr/pkg/include/glib/glib-2.0/gobject/gobject.h
     /usr/pkg/include/glib/glib-2.0/gobject/gsignal.h
     /usr/pkg/include/glib/glib-2.0/gobject/gsourceclosure.h
      /usr/pkg/include/glib/glib-2.0/gobject/gclosure.h
     /usr/pkg/include/glib/glib-2.0/gobject/gtype.h
     /usr/pkg/include/glib/glib-2.0/gobject/gtypemodule.h
      /usr/pkg/include/glib/glib-2.0/gobject/gobject.h
     /usr/pkg/include/glib/glib-2.0/gobject/gtypeplugin.h
      /usr/pkg/include/glib/glib-2.0/gobject/gtype.h
     /usr/pkg/include/glib/glib-2.0/gobject/gvalue.h
     /usr/pkg/include/glib/glib-2.0/gobject/gvaluearray.h
      /usr/pkg/include/glib/glib-2.0/gobject/gvalue.h
     /usr/pkg/include/glib/glib-2.0/gobject/gvaluetypes.h
      /usr/pkg/include/glib/glib-2.0/gobject/gvalue.h
 /usr/pkg/include/pango-1.0/pango/pango-break.h
  /usr/pkg/include/pango-1.0/pango/pango-item.h
 /usr/pkg/include/pango-1.0/pango/pango-context.h
  /usr/pkg/include/pango-1.0/pango/pango-fontmap.h
   /usr/pkg/include/pango-1.0/pango/pango-fontset.h
 /usr/pkg/include/pango-1.0/pango/pango-engine.h
  /usr/pkg/include/pango-1.0/pango/pango-glyph.h
 /usr/pkg/include/pango-1.0/pango/pango-enum-types.h
 /usr/pkg/include/pango-1.0/pango/pango-layout.h
  /usr/pkg/include/pango-1.0/pango/pango-glyph-item.h
  /usr/pkg/include/pango-1.0/pango/pango-tabs.h
/usr/pkg/include/pango-1.0/pango/pangoft2.h
 /usr/pkg/include/freetype/freetype.h
  /usr/pkg/include/freetype/fterrid.h
  /usr/pkg/include/freetype/ftnameid.h
 /usr/pkg/include/fontconfig/fontconfig.h
/usr/pkg/include/gtk-2.0/gdk/gdk.h
 /usr/pkg/include/gtk-2.0/gdk/gdkcolor.h
  /usr/pkg/include/gtk-2.0/gdk/gdktypes.h
   /usr/pkg/lib/gtk-2.0/include/gdkconfig.h
 /usr/pkg/include/gtk-2.0/gdk/gdkcursor.h
 /usr/pkg/include/gtk-2.0/gdk/gdkdisplay.h
  /usr/pkg/include/gtk-2.0/gdk/gdkevents.h
   /usr/pkg/include/gtk-2.0/gdk/gdkdnd.h
   /usr/pkg/include/gtk-2.0/gdk/gdkinput.h
 /usr/pkg/include/gtk-2.0/gdk/gdkdrawable.h
  /usr/pkg/include/gtk-2.0/gdk/gdkgc.h
  /usr/pkg/include/gtk-2.0/gdk/gdkrgb.h
  /usr/pkg/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h
   /usr/pkg/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-features.h
   /usr/pkg/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h
   /usr/pkg/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h
 /usr/pkg/include/gtk-2.0/gdk/gdkenumtypes.h
 /usr/pkg/include/gtk-2.0/gdk/gdkfont.h
 /usr/pkg/include/gtk-2.0/gdk/gdkimage.h
 /usr/pkg/include/gtk-2.0/gdk/gdkkeys.h
 /usr/pkg/include/gtk-2.0/gdk/gdkdisplaymanager.h
 /usr/pkg/include/gtk-2.0/gdk/gdkpango.h
 /usr/pkg/include/gtk-2.0/gdk/gdkpixbuf.h
 /usr/pkg/include/gtk-2.0/gdk/gdkpixmap.h
 /usr/pkg/include/gtk-2.0/gdk/gdkproperty.h
 /usr/pkg/include/gtk-2.0/gdk/gdkregion.h
 /usr/pkg/include/gtk-2.0/gdk/gdkscreen.h
 /usr/pkg/include/gtk-2.0/gdk/gdkselection.h
 /usr/pkg/include/gtk-2.0/gdk/gdkvisual.h
 /usr/pkg/include/gtk-2.0/gdk/gdkwindow.h
../../lib/font.h
 ../../lib/diatypes.h
 ../../lib/dia-enums.h
 ../../lib/geometry.h
  ../config.h
  /usr/include/math.h
   /usr/include/sys/featuretest.h
   /usr/include/machine/math.h
 ../../lib/diavar.h
../../lib/message.h
../../lib/intl.h
 /usr/include/libintl.h
In file included from ../../lib/font.c:31:
/usr/pkg/include/pango-1.0/pango/pangoft2.h:52: parse error before `*'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:57: parse error before `*'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:61: parse error before `*'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:86: parse error before
`pango_ft2_font_get_face'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:86: warning: type defaults to
`int' in declaration of `pango_ft2_font_get_face'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:86: warning: data definition
has no type or storage class
../../lib/font.c:111: warning: no previous prototype for
`dia_font_pop_context'
../../lib/font.c:117: warning: no previous prototype for
`dia_font_get_context'
../../lib/font.c:48: warning: `compare' defined but not used
../../lib/font.c:66: warning: `list_families' defined but not used




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]