From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 20:53:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4477016A4CE for ; Sun, 21 Nov 2004 20:53:56 +0000 (GMT) Received: from nagual.st (cc20684-a.assen1.dr.home.nl [217.122.132.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FAEC43D54 for ; Sun, 21 Nov 2004 20:53:55 +0000 (GMT) (envelope-from dick@nagual.st) Received: from pooh.nagual.st (pooh.nagual.st [::ffff:192.168.11.22]) by nagual.st with esmtp; Sun, 21 Nov 2004 21:53:53 +0100 Date: Sun, 21 Nov 2004 21:53:37 +0100 From: dick hoogendijk To: freebsd-questions@freebsd.org Message-Id: <20041121215337.06f6f562.dick@nagual.st> Organization: nagual SiTe X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: freetype 2 error question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 20:53:56 -0000 I get a lot of the following errors. They all are related to Xft. I.e. "portupgrade -rR XFree86-4-clients" stops with the following errors: #ifndef FT_FREETYPE_H #error "`ft2build.h' hasn't been included yet!" #error "Please always use macros to include FreeType header files." #error "Example:" #error " #include " #error " #include FT_FREETYPE_H" #endif -(Compiling fvwm results in the same way)- After some googling I learn this error is quite common. I want your opinion on some changes I made in /usr/X11R6/include/X11/Xft/Xft.h The original file states: #include #include #include #include After I changed some lines, XFree86-4-clients compiled well. The errors disappeared. But I wonder if my changes were right. What I did was: #include #include #include FT_FREETYPE_H #include #include As you can see, I left out the line "#include " completely, but now I wonder if I should have left it in the header file, following my changes.. I.e.: #include #include #include FT_FREETYPE_H #include <------ leave it here ???? #include #include Please give me some advise.. -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody) + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja