Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 03:38:04 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-ports@freebsd.org
Cc:        Jonathan Chen <jonc@chen.org.nz>
Subject:   Re: qt33 port failing to build
Message-ID:  <200403200338.04280.kstewart@owt.com>
In-Reply-To: <20040320101927.GA61221@grimoire.chen.org.nz>
References:  <20040320101927.GA61221@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 20 March 2004 02:19 am, Jonathan Chen wrote:
> Hi,
>
> Is anyone else getting the following error on x11-toolkits/qt33?
>
>     [..]
>     c++ -c -pipe -fno-exceptions -Wall -W -O -pipe -D_THREAD_SAFE
> -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS
> -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64
> -DQT_USE_XFT2_HEADER -DQT_NAS_SUPPORT -DQT_BUILTIN_GIF_READER=1
> -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE
> -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
> -I/usr/local/share/qt/mkspecs/freebsd-g++ -I.
> -I/usr/local/include/freetype2 -I3rdparty/opentype
> -I/usr/local/include -I../include -I/usr/X11R6/include
> -I/usr/X11R6/include -I.moc/release-shared-mt/ -o
> .obj/release-shared-mt/qtaddons_x11.o kernel/qtaddons_x11.cpp In file
> included from /usr/X11R6/include/X11/Xft/Xft2.h:35, from
> kernel/qt_x11_p.h:150,
>                      from kernel/qtaddons_x11.cpp:25:
>     /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" *** Error code 1
>
>     Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.1/src.
>     *** Error code 1
>
>     Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.1.
>     *** Error code 1
>
>     Stop in /usr/ports/x11-toolkits/qt33.
>
> I've got freetype2-2.1.7_2 installed.

Have you upgraded Xft to libXft. I would suspect your problem is with 
Xft. You need to have libXft-2.1.5_1 installed.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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