Mon, May 3 2004
18:43:16
|
|
Request created by guest
|
|
Subject: Freetype includes not found
Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 5.3-cvs 20040502
Hi,
I just compiled 5.3-cvs from yesterday and I couldn't convince configure to find
the freetype includes. The include path was set
--with-freetype-includes=/usr/include/freetype2
The error message is
checking whether to use FreeType... yes
checking for location of FreeType includes... /usr/include/freetype2
checking for freetype/freetype.h... no
configure: error: *** Unable to locate FreeType includes.
Development files of freetype are installed and "/usr/include/freetype2/freetype/freetype.h"
exists.
My system is a debian/sid snapshot from february and freetype is 2.1.7-2.deb
p.s. shouldn't be in the bug report section "Type of report:" 5.3 as well?
Rainer |
|
Mon, May 3 2004
20:16:54
|
|
Mail sent by glynn.clements@virgin.net
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<16534.35858.529261.246447@cerise.nosuchdomain.co.uk>
|
Date |
Mon, 3 May 2004 19:14:42 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #2396] (grass) Freetype includes not found
|
In-Reply-To |
<20040503164316.7AA7313B49@lists.intevation.de>
|
References |
<20040503164316.7AA7313B49@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Request Tracker wrote:
> Subject: Freetype includes not found
>
> Platform: GNU/Linux/i386
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.3-cvs 20040502
> I just compiled 5.3-cvs from yesterday and I couldn't convince
> configure to find the freetype includes. The include path was set
>
> --with-freetype-includes=/usr/include/freetype2
>
> The error message is
>
> checking whether to use FreeType... yes
> checking for location of FreeType includes... /usr/include/freetype2
> checking for freetype/freetype.h... no
> configure: error: *** Unable to locate FreeType includes.
Check the config.log file for any relevant error messages.
If the error is the following:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't
been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros
to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
then you will need to use a different (older) version of FreeType, or
modify the FreeType headers yourself.
In their wisdom (or lack thereof), the FreeType developers have
decided to insist on the use a specific idiom for the use of FreeType
headers; one which doesn't work with autoconf's header checks.
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Tue, May 4 2004
05:23:36
|
|
Mail sent by hamish_nospam@yahoo.com
|
|
Return-Path |
<hamish_nospam@yahoo.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Tue, 4 May 2004 15:23:15 +1200
|
From |
Hamish <hamish_nospam@yahoo.com>
|
To |
Glynn Clements <glynn.clements@virgin.net>
|
Cc |
grass-bugs@intevation.de, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #2396] (grass) Freetype includes not found
|
Message-Id |
<20040504152315.23be4f78.hamish_nospam@yahoo.com>
|
In-Reply-To |
<16534.35858.529261.246447@cerise.nosuchdomain.co.uk>
|
References |
<20040503164316.7AA7313B49@lists.intevation.de> <16534.35858.529261.246447@cerise.nosuchdomain.co.uk>
|
X-Mailer |
Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-pc-linux-gnu)
|
X-Face |
M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=US-ASCII
|
Content-Transfer-Encoding |
7bit
|
X-scanner |
scanned by Inflex 1.0.12.7
|
X-Spam-Status |
No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
|
X-Spam-Level |
|
> > Subject: Freetype includes not found
> >
> > Platform: GNU/Linux/i386
> > grass obtained from: CVS
> > grass binary for platform: Compiled from Sources
> > GRASS Version: 5.3-cvs 20040502
>
> > I just compiled 5.3-cvs from yesterday and I couldn't convince
> > configure to find the freetype includes. The include path was set
> >
> > --with-freetype-includes=/usr/include/freetype2
> >
> > The error message is
> >
> > checking whether to use FreeType... yes
> > checking for location of FreeType includes... /usr/include/freetype2
> > checking for freetype/freetype.h... no
> > configure: error: *** Unable to locate FreeType includes.
>
> Check the config.log file for any relevant error messages.
>
> If the error is the following:
>
> /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
> hasn't been included
> yet!"/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please
> always use macros to include FreeType header
> files."/usr/include/freetype2/freetype/freetype.h:22:2: #error
> "Example:"/usr/include/freetype2/freetype/freetype.h:23:2: #error "
> #include <ft2build.h>"
> /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include
> FT_FREETYPE_H"
>
> then you will need to use a different (older) version of FreeType, or
> modify the FreeType headers yourself.
>
> In their wisdom (or lack thereof), the FreeType developers have
> decided to insist on the use a specific idiom for the use of FreeType
> headers; one which doesn't work with autoconf's header checks.
> >My system is a debian/sid snapshot from february and freetype is
> >2.1.7-2.deb
Yes, on Debian[testing/unstable] you need to either modify the
#include statements in src/display/d.text.freetype/main.c as outlined
in above error, and then run gmake53 & gmakelinks53 by hand in the
d.text.freetype source directory.
Then it works fine.
See the Debian "grass" source package diff (5.0.3) for a more correct
patch.
http://ftp.debian.org/debian/pool/main/g/grass/grass_5.0.3-3.diff.gz
As this is apparently the way of the future for freetype, perhaps
someone can think of a better solution within the build system/main.c
for the long term. We're probably not alone in hitting this...
Hamish
|
|
Tue, May 4 2004
22:48:29
|
|
Mail sent by rainer.trusch@students.uni-mainz.de
|
|
Return-Path |
<rainer.trusch@students.uni-mainz.de>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
To |
Glynn Clements <glynn.clements@virgin.net>
|
Cc |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #2396] (grass) Freetype includes not found
|
From |
Rainer Trusch <rainer.trusch@students.uni-mainz.de>
|
In-Reply-To |
<16534.35858.529261.246447@cerise.nosuchdomain.co.uk> (Glynn Clements's message of "Mon, 3 May 2004 19:14:42 +0100")
|
References |
<20040503164316.7AA7313B49@lists.intevation.de> <16534.35858.529261.246447@cerise.nosuchdomain.co.uk>
|
Date |
Tue, 04 May 2004 22:53:18 +0200
|
Message-ID |
<87brl3oqwx.fsf@rivendell.grasswurzel.nett>
|
User-Agent |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Reasonable Discussion, linux)
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Sender |
Rainer Trusch <rainer.trusch@students.uni-mainz.de>
|
X-Virus-Scanned |
by amavisd-new at uni-mainz.de
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Hi Glynn,
On 3 May 2004, Glynn Clements wrote:
>
> Request Tracker wrote:
>
>> Subject: Freetype includes not found
>>
>> Platform: GNU/Linux/i386
>> grass obtained from: CVS
>> grass binary for platform: Compiled from Sources
>> GRASS Version: 5.3-cvs 20040502
>
>> I just compiled 5.3-cvs from yesterday and I couldn't convince
>> configure to find the freetype includes. The include path was set
>>
>> --with-freetype-includes=/usr/include/freetype2
>>
>> The error message is
>>
>> checking whether to use FreeType... yes checking for location of
>> FreeType includes... /usr/include/freetype2 checking for
>> freetype/freetype.h... no configure: error: *** Unable to locate
>> FreeType includes.
>
> Check the config.log file for any relevant error messages.
>
> If the error is the following:
>
> /usr/include/freetype2/freetype/freetype.h:20:2: #error
> "`ft2build.h' hasn't been included yet!"
> /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please
> always use macros to include FreeType header files."
> /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include
> <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2:
> #error " #include FT_FREETYPE_H"
>
> then you will need to use a different (older) version of FreeType,
> or modify the FreeType headers yourself.
Thats it. It's not important for me at the moment, so I don't fiddle
about with older versions.
Cheers
Rainer
|
|
Sat, May 29 2004
11:48:35
|
|
Status changed to resolved by hbowman
|
|