GDAL
November 17, 2014, 5:05pm
1
#2491: configure: error: *** Unable to locate FreeType includes.
-------------------------+--------------------------------------------------
Reporter: strk | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Configuration of grass-7.0.0beta3 sources fail with:
{{{
checking whether to use FreeType... yes
checking for location of FreeType includes...
checking for ft2build.h... no
configure: error: *** Unable to locate FreeType includes.
}}}
I have the file in /usr/include/freetype2/ft2build.h
Adding --with-freetype-includes=/usr/include/freetype2 switch fixes the
configuration, but I'm wondering if the detector could do a better job by
also looking in there, being the default install on ubuntu 14.04
NOTE: 7.0.0beta3 is missing a Version (would it be trunk?)
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2491> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
November 17, 2014, 6:00pm
2
#2491: configure: error: *** Unable to locate FreeType includes.
-------------------------+--------------------------------------------------
Reporter: strk | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by glynn):
As a matter of policy, configure doesn't add directories to the header or
library search paths automatically. It only adds directories which are
either specified by the user or obtained from pkg-config or package-
specific config scripts (e.g. gdal-config).
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2491#comment:1> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
November 17, 2014, 6:09pm
3
#2491: configure: error: *** Unable to locate FreeType includes.
-------------------------+--------------------------------------------------
Reporter: strk | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by strk):
$ freetype-config --cflags
-I/usr/include/freetype2
Is that acceptable by policy then ?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2491#comment:2> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
November 17, 2014, 6:10pm
4
#2491: configure: error: *** Unable to locate FreeType includes.
-------------------------+--------------------------------------------------
Reporter: strk | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by strk):
That is (with proper trac syntax):
{{{
[strk@cdb:~] freetype-config --cflags
-I/usr/include/freetype2
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2491#comment:3> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
November 17, 2014, 9:15pm
5
#2491: configure: error: *** Unable to locate FreeType includes.
-------------------------+--------------------------------------------------
Reporter: strk | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by neteler):
Replying to [ticket:2491 strk]:
> Adding --with-freetype-includes=/usr/include/freetype2 switch fixes the
configuration
FWIW, the same is needed on Fedora 20.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2491#comment:4> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
November 18, 2014, 10:04pm
6
#2491: configure: error: *** Unable to locate FreeType includes.
-------------------------+--------------------------------------------------
Reporter: strk | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by glynn):
Replying to [comment:2 strk]:
> $ freetype-config --cflags
> -I/usr/include/freetype2
>
> Is that acceptable by policy then ?
Yes. But the configure script doesn't currently use freetype-config.
Before making that change, we should decide whether to use freetype-config
or pkg-config.
Also, we don't currently have a macro for *-config scripts; each package
which uses them has the same boilerplate.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2491#comment:5> ;
GRASS GIS <http://grass.osgeo.org >