On Tue, 2002-08-27 at 13:09, Andrew Dunbar wrote: > --- Mark Gilbert <[EMAIL PROTECTED]> wrote: > > Yep, that's what you get for trying an xft build. > > What to do is start out with xft2 installed, then > > when the abi build fails, switch 66% of it to xft1, > > then when it fails again switch the xft back but not > > the freetype, then lather a cat's back in butter and > > throw it off a cliff to see which side it lands on, > > then do a rain dance with a spin kick in the middle, > > then feed your computer to Scrambler and the build > > should come out successful. > > Thanks. This worked for me. I was worried it might > require something magical to make it work. >
I can verify that this method works. I followed exactly Mark's advice and now I too have a working XFT build :-) Cheers Martin PS. I had to to hand include exact path names to my XFT2 at /usr/local/include/X11/XFT/... inside xap_UnixFont.h under the USE_XFT ifdef. I hope that a distro soon learns how to package gtk2 and XFT2 so this sort of rubish is not needed. > Andrew. > > > -MG > > > > On Mon, 2002-08-26 at 15:13, David Chart wrote: > > > CVS HEAD, updated an hour or so ago, fails to > > build with the following > > > error: > > > > > > c++ -DPACKAGE=\"AbiSuite\" -DVERSION=\"1.1.0\" > > -DSTDC_HEADERS=1 > > > -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 > > -DHAVE_SYS_TIME_H=1 > > > -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 > > -DWORDS_BIGENDIAN=1 -DHAVE_LIBXML2=1 > > > -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 > > -DRETSIGTYPE=void > > > -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 > > -DHAVE_STRSTR=1 -I. > > > -I. -I/usr/local/include/gtk-2.0 > > -I/usr/local/lib/gtk-2.0/include > > > -I/usr/local/include/atk-1.0 > > -I/usr/local/include/pango-1.0 > > > -I/usr/X11R6/include -I/usr/local/include/glib-2.0 > > > -I/usr/local/lib/glib-2.0/include > > -I/usr/local/include/glib-2.0 > > > -I/usr/local/lib/glib-2.0/include > > -I../../../../src/af/util/xp > > > -I../../../../src/af/ev/xp > > -I../../../../src/af/ev/xp > > > -I../../../../src/af/gr/xp > > -I../../../../src/af/xap/xp > > > -I../../../../src/af/util/unix > > -I../../../../src/af/ev/unix > > > -I../../../../src/af/gr/unix > > -I../../../../src/af/xap/unix > > > -I../../../../src/wp/ap/xp > > -I../../../../src/wp/impexp/xp > > > -I../../../../src/wp/ap/unix > > -I../../../../src/wp/ap/xp/ToolbarIcons > > > -I../../../../src/text/ptbl/xp > > -I../../../../src/text/fmt/xp -Wall > > > -pedantic -ansi -D_POSIX_SOURCE -D_BSD_SOURCE > > -pipe -DDEBUG -DUT_DEBUG > > > -DFMT_TEST -DUT_TEST -DPT_TEST -g > > -I/usr/local/include/libxml2 > > > -I/usr/local/include -DBIDI_ENABLED > > -I/home/Archive/abiword/wv > > > -I/usr/X11R6/include -I/usr/include/freetype2 > > -DUSE_XFT=1 > > > -DHAVE_THREADS=1 -D_REENTRANT > > -I/usr/local/include/glib-2.0 > > > -I/usr/local/lib/glib-2.0/include > > -I/usr/X11R6/include > > > -I/usr/include/freetype2 -DUSE_XFT=1 > > -I/usr/local/include/glib-2.0 > > > -I/usr/local/lib/glib-2.0/include > > -I/usr/local/include/gtk-2.0 > > > -I/usr/local/lib/gtk-2.0/include > > -I/usr/local/include/atk-1.0 > > > -I/usr/local/include/pango-1.0 > > -I/usr/X11R6/include > > > -I/usr/local/include/glib-2.0 > > -I/usr/local/lib/glib-2.0/include > > > -DSUPPORTS_UT_IDLE=1 > > -DABI_BUILD_VERSION=\"1.1.0\" -c > > > ev_UnixToolbar.cpp > > > In file included from > > ../../../../src/af/xap/unix/xap_UnixFont.h:40, > > > from > > > > > > ../../../../src/af/xap/unix/xap_UnixFontManager.h:35, > > > from > > > > > > ../../../../src/af/xap/unix/xap_UnixFontPreview.h:27, > > > from ev_UnixToolbar.cpp:41: > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:73: > > syntax error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:77: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:77: parse > > error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:79: > > syntax error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:88: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:88: parse > > error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:94: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:94: parse > > error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:101: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:101: > > parse error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:108: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:108: > > parse error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:115: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:115: > > parse error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:122: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:122: > > parse error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:129: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:129: > > parse error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:136: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:136: > > parse error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:143: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:143: > > parse error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:150: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:150: > > parse error before `*' > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:157: type > > specifier omitted for > > > parameter > > > /usr/X11R6/include/X11/Xft/XftFreetype.h:157: > > parse error before `*' > > > ev_UnixToolbar.cpp: In function `struct GtkWidget > > * > > > toolbar_append_with_eventbox(GtkToolbar *, > > GtkWidget *, const char *, > > > const char *)': > > > ev_UnixToolbar.cpp:72: warning: ANSI C++ forbids > > braced-groups within > > > expressions > > > ev_UnixToolbar.cpp: In method `bool > > EV_UnixToolbar::synthesize()': > > > ev_UnixToolbar.cpp:764: warning: unused variable > > `struct GtkWidget * > > > evBox' > > > make[5]: *** [ev_UnixToolbar.o] Error 1 > > > > > > I ran make clean realclean and reconfigured, but > > the error persisted. > > > -- > > > David Chart > > > > > > > ===== > http://linguaphile.sourceforge.net/cgi-bin/translator.pl http://www.abisource.com > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com
