Compiling Mozilla Thunderbird on FreeBSD 4.9

Compiling Mozilla Thunderbird on FreeBSD 4.9

Post by kwlogica » Wed, 13 Oct 2004 07:42:46


ello. 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
 
 
 

Compiling Mozilla Thunderbird on FreeBSD 4.9

Post by Kris Kenna » Wed, 13 Oct 2004 08:57:46


Make sure your freetype port is up to date and you don't have any
stale freetype files installed. See e.g. the example in the pkg_which
manpage, part of portupgrade.

Kris

 
 
 

Compiling Mozilla Thunderbird on FreeBSD 4.9

Post by conrad » Wed, 13 Oct 2004 20:43:50

n article < XXXX@XXXXX.COM >,
Logical- < XXXX@XXXXX.COM > wrote:


Have you tried upgrading freetype first?

--
Conrad J. Sabatier < XXXX@XXXXX.COM > -- "In Unix veritas"
 
 
 

Compiling Mozilla Thunderbird on FreeBSD 4.9

Post by kwlogica » Thu, 14 Oct 2004 05:43:04

XXXX@XXXXX.COM (Conrad J. Sabatier) wrote in message news:<WrPad.23333$%x.17188@okepread04>...

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

Compiling Mozilla Thunderbird on FreeBSD 4.9

Post by Marc » Fri, 15 Oct 2004 02:37:43


It is actually Xft that needs upgrading, not freetype itself. On the
contrary, his freetype version is too recent as compared to his Xft
version...