[GRASSLIST:9088] Re: missing Freetype includes - can't build cvs 15.11.2005, 23:15

David Finlayson david.p.finlayson at gmail.com
Tue Nov 15 18:13:50 EST 2005


Freetype stumped me on Ubuntu as well...I didn't pursue it yet. So I
would be glad to hear your tweak to get it compiled.  The other thing
I am interested in is the debian directory. What do you do to build
the debs? Is there any advantage to the debs over sudo ./make install?

david



On 11/15/05, Maciek Sieczka <werchowyna at epf.pl> wrote:
> Hi,
>
> The Freetype includes not being found at configure.
>
>
> I receive an error about missing ft2build.h:
>
> maciek at sorbus:~/src/straight/grass6$ ./configure --with-cxx \
> --without-odbc \
> --enable-largefile \
> --with-sqlite \
> --with-tcltk-includes=/usr/include/tcl8.3/ /usr/include/tk8.3/ \
> --with-postgres-includes=/usr/include/postgresql/ \
> --with-freetype \
> --with-freetype-includes=/usr/include/freetype2/freetype/config/
>
> <snip>
> checking whether to use FreeType... yes
> checking for location of FreeType
> includes... /usr/include/freetype2/freetype/config/
> checking for ft2build.h... no
> configure: error: *** Unable to locate FreeType includes.
>
>
>
> However, it shows the really missing file is ftheader.h:
>
> maciek at sorbus:~/src/straight/grass6$ tail config.log
> configure:12038: checking whether to use FreeType
> configure:12057: checking for location of FreeType includes
> configure:12083: checking for ft2build.h
> configure:12091: gcc -E  -I/usr/include/freetype2/freetype/config/
> conftest.c >/dev/null 2>conftest.out
> In file included from configure:12087:
> /usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file
> or directory
> configure: failed program was:
> #line 12086 "configure"
> #include "confdefs.h"
> #include <ft2build.h>
>
>
>
> Which is a strange, because the ftheader.h _is_present_ in the directory
> that my --with-freetype-includes is pointing at:
>
> maciek at sorbus:~/src/straight/grass6$ ls
> usr/include/freetype2/freetype/config
> ftconfig.h  ftheader.h  ftmodule.h  ftoption.h  ftstdlib.h
>
>
> How to proceed?
>
> This my first attempt to install Grass 6.1 cvs on a freshly installed
> Ubuntu 5.04 (5.10 was to buggy for my laptop; or maybe the laptop was to
> buggy for Ubuntu?). I'm trying to break free from Mandriva :).
>
> Thanks,
> Maciek
>
>
> --------------------
> W polskim Internecie s± setki milionów stron. My przekazujemy Tobie tylko najlepsze z nich!
> http://katalog.epf.pl/
>
>


--
David Finlayson
Marine Geology & Geophysics
School of Oceanography
Box 357940
University of Washington
Seattle, WA  98195-7940
USA

Office: Marine Sciences Building, Room 112
Phone: (206) 616-9407
Web: http://students.washington.edu/dfinlays




More information about the grass-user mailing list