Re: Compiling Mozilla Thunderbird on FreeBSD 4.9

From: Logical- (kwlogical_at_bellsouth.net)
Date: 10/12/04


Date: 12 Oct 2004 13:43:04 -0700

conrads@cox.net (Conrad J. Sabatier) wrote in message news:<WrPad.23333$%x.17188@okepread04>...
> In article <89061a76.0410111442.61a26728@posting.google.com>,
> Logical- <kwlogical@bellsouth.net> wrote:
> >
> >
> >Hello. I've tried for a while to compile thunderbird from ports, and I
> >keep gettin g the following error. I don't know what to do. Any ideas?
> >
> >c++ -o nsDeviceContextGTK.o -c -DNATIVE_THEME_SUPPORT
> >-DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -DUSE_POSTSCRIPT
> >-DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared
> >-I./../freetype -I./../x11shared -I/usr/X11R6/include
> >-I/usr/local/include/freetype2 -I/usr/local/include
> >-I../../../dist/include/xpcom -I../../../dist/include/string
> >-I../../../dist/include/widget -I../../../dist/include/view
> >-I../../../dist/include/util -I../../../dist/include/pref
> >-I../../../dist/include/uconv -I../../../dist/include/unicharutil
> >-I../../../dist/include/locale -I../../../dist/include/necko
> >-I../../../dist/include/content -I../../../dist/include/dom
> >-I../../../dist/include/layout
> >-I../../../dist/include/imglib2-I../../../dist/include/xprintutil
> >-I../../../dist/include/gfx -I../../../dist/include
> >-I/usr/ports/mail/thunderbird/work/mozilla/dist/include/nspr
> >-I/usr/local/include -I/usr/local/include
> >-I/usr/local/include/freetype2 -I/usr/local/include
> >-I/usr/X11R6/include -fPIC -I/usr/X11R6/include
> >-I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions
> >-Wall -Wconversion -Wpointer-arith-Wcast-align -Woverloaded-virtual
> >-Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long
> >-pedantic -O -pipe -D_THREAD_SAFE -pipe -DNDEBUG -DTRIMMED -O
> >-I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
> >-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0
> >-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0
> >-I/usr/X11R6/include -I/usr/local/include/freetype2
> >-I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include
> >-I/usr/X11R6/include -DMOZILLA_CLIENT -include
> >../../../mozilla-config.h -Wp,-MD,.deps/nsDeviceContextGTK.pp
> >nsDeviceContextGTK.cpp
> >In file included from /usr/local/include/glib-2.0/glib.h:50,
> > from /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:32,
> > from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4,
> > from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30,
> > from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31,
> > from nsDrawingSurfaceGTK.h:48,
> > from nsRenderingContextGTK.h:54,
> > from nsDeviceContextGTK.h:48,
> > from nsDeviceContextGTK.cpp:48:
> >/usr/local/include/glib-2.0/glib/gmessages.h:129: warning: ANSI C does
> >not allow macro with variable arguments
> >/usr/local/include/glib-2.0/glib/gmessages.h:132: warning: ANSI C does
> >not allow macro with variable arguments
> >/usr/local/include/glib-2.0/glib/gmessages.h:135: warning: ANSI C does
> >not allow macro with variable arguments
> >/usr/local/include/glib-2.0/glib/gmessages.h:138: warning: ANSI C does
> >not allow macro with variable arguments
> >In file included from /usr/X11R6/include/X11/Xft/Xft.h:41,
> > from nsDeviceContextGTK.cpp:78:
> >/usr/local/include/freetype2/freetype/freetype.h:20: #error
> >"`ft2build.h' hasn't been included yet!"
> >/usr/local/include/freetype2/freetype/freetype.h:21: #error "Please
> >always use macros to include FreeType header files."
> >/usr/local/include/freetype2/freetype/freetype.h:22: #error "Example:"
> >/usr/local/include/freetype2/freetype/freetype.h:23: #error "
> >#include <ft2build.h>"
> >/usr/local/include/freetype2/freetype/freetype.h:24: #error "
> >#include FT_FREETYPE_H"
> >nsDeviceContextGTK.cpp: In function `void
> >xlfd_from_pango_font_description(GtkWidget *, const
> >PangoFontDescription *, nsString &)':
> >nsDeviceContextGTK.cpp:1119: warning: unused variable `char * tmp'
> >gmake[4]: *** [nsDeviceContextGTK.o] Error 1
> >gmake[4]: Leaving directory
> >`/usr/ports/mail/thunderbird/work/mozilla/gfx/src/gtk'
> >gmake[3]: *** [libs] Error 2
> >gmake[3]: Leaving directory
> >`/usr/ports/mail/thunderbird/work/mozilla/gfx/src'
> >gmake[2]: *** [libs] Error 2
> >gmake[2]: Leaving directory
> >`/usr/ports/mail/thunderbird/work/mozilla/gfx'
> >gmake[1]: *** [tier_9] Error 2
> >gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla'
> >gmake: *** [default] Error 2
> >*** Error code 2
> >
> >Stop in /usr/ports/mail/thunderbird.
> >accord#
> >
> >
> >
> >I'm not very good at C++ programming, and I don't know what is
> >happening here. Thanks,
> >
> >-Logical-
>
>
> Have you tried upgrading freetype first?

I haven't. I will, though :) Thanks for the suggestion, I'll post back
if I have any more problems. Thanks



Relevant Pages

  • Compiling Mozilla Thunderbird on FreeBSD 4.9
    ... I've tried for a while to compile thunderbird from ports, ... keep gettin g the following error. ... not allow macro with variable arguments ... gmake: Leaving directory ...
    (comp.unix.bsd.freebsd.misc)
  • Re: How to pass configure options
    ... but there is a CONFIGURE_ARGS macro in the ports' ... Makefile for this purpose and You should be able to extend that in this ...
    (freebsd-questions)
  • Re: Compiling Mozilla Thunderbird on FreeBSD 4.9
    ... I've tried for a while to compile thunderbird from ports, ... >keep gettin g the following error. ... >not allow macro with variable arguments ... >always use macros to include FreeType header files." ...
    (comp.unix.bsd.freebsd.misc)
  • Re: how do I get the forms table to update with a button?
    ... PaulFort wrote: ... > OK, I'm not gettin it: ... > MS Access can't find the macro Me. ... VBA code doesn't go directly into the event property box. ...
    (microsoft.public.access.gettingstarted)
  • Re: how do I get the forms table to update with a button?
    ... >OK, I'm not gettin it: ... >MS Access can't find the macro Me. ... an End Sub line; just put that line of code between them. ... Compile <my database> and then save the form. ...
    (microsoft.public.access.gettingstarted)