Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2002 21:00:01 -0700
From:      "Michael W. Collette" <metrol@metrol.net>
To:        Isaac Mushinsky <freebsd@mushinsky.net>
Cc:        FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   Re: XFree42 libs header problem - qt3.0 does not compile
Message-ID:  <200204230404.g3N44gc13712@la-mail2.digilink.net>

next in thread | raw e-mail | index | archive | help
Had a simlar problem here.  I would recommend that you pkg_delete both 
freetype ports and build them fresh.  I also ended up doing the same with 
both iconv and libiconv.  I haven't a clue why this fixed things, but it did.

Good luck with it!

Isaac Mushinsky wrote:

> /usr/X11R6/include/X11/Xft/XftFreetype.h has
> #include <freetype/freetype.h>
> 
> freetype2 port installs the headers in
> /usr/local/include/freetype2/freetype. In any case, freetype1 port also
> puts the headers in a different place.
> 
> need #include <freetype2/freetype/freetype.h> in XftFreetype.h
> 
> --stable 4.5 rel, XFree42 libs compiled a couple of days ago, fresh
> freetype1&freetype2.
> 
> gmake[1]: Entering directory
> `/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/src'
> g++ -c -pipe -fno-exceptions -I/usr/local/include -Wall -W -g -pthread
> -D_THREAD_SAFE -fPIC -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT
> -DQT_NO_NIS -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG
> -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC
> -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT
> -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/include
> -I/usr/X11R6/include -I.moc/debug-mt/
> -I/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/mkspecs/freebsd-g++ -o
> .obj/debug-mt/qapplication_x11.o kernel/qapplication_x11.cpp
> In file included from kernel/qt_x11.h:143,
>                  from kernel/qinputcontext_p.h:5,
>                  from kernel/qapplication_x11.cpp:77:
> /usr/X11R6/include/X11/Xft/XftFreetype.h:34: syntax error before `;'
> /usr/X11R6/include/X11/Xft/XftFreetype.h:37: syntax error before `;'
> /usr/X11R6/include/X11/Xft/XftFreetype.h:41: syntax error before `;'
> /usr/X11R6/include/X11/Xft/XftFreetype.h:54: syntax error before `;'
> /usr/X11R6/include/X11/Xft/XftFreetype.h:71: syntax error before `,'
> gmake[1]: *** [.obj/debug-mt/qapplication_x11.o] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/src'
> gmake: *** [sub-src] Error 2
> *** Error code 2
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message

-- 
"Outside of a dog, a book is man's best friend. Inside of a dog, it's too 
dark to read."
 - Groucho Marx

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204230404.g3N44gc13712>