[GRASS-user] Configure failing to find freetype

Seth Price seth at pricepages.org
Thu Oct 1 20:22:04 EDT 2009


Hey all, I'm on a Mac and I'm trying to compile GRASS 7 so I can link to
its libraries. I have freetype installed, but GRASS isn't having any of
it. Appended is a sample.

Am I doing anything wrong? I know I can download the frameworks, but I was
hoping to get this all installed and working without a 3rd party compiling
it for me. Besides, it *should* work.

Is this a bug in GRASS 7?
Thanks,
Seth

seth:grass-7.0.svn_src_snapshot_2009_09_26 sprice$ ./configure
--with-freetype --with-freetype-includes=/usr/local/include
--with-opengl=aqua && make && sudo make install
checking host system type... i386-apple-darwin10.0.0
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for full floating-point support... yes
checking for pwd... /bin/pwd
checking for source directory...
/usr/local/grass/grass-7.0.svn_src_snapshot_2009_09_26
checking for build directory...
/usr/local/grass/grass-7.0.svn_src_snapshot_2009_09_26
checking for MacOSX App... no
checking for MacOSX architectures... no
checking for MacOSX SDK... no
checking how to build libraries... shared
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
[...]
checking for fftw_execute in -lfftw3... yes
checking whether to use BLAS... no
checking whether to use LAPACK... no
checking whether to use Cairo... yes
checking for location of cairo includes...
checking for cairo.h... yes
checking for location of cairo library...
checking for cairo linking flags...
checking for cairo_create... yes
checking for cairo_xlib_surface_create_with_xrender_format... yes
checking for cairo_xlib_surface_get_xrender_format... yes
checking whether to use FreeType... yes
checking for location of FreeType includes... /usr/local/include
checking for ft2build.h... no
configure: error: *** Unable to locate FreeType includes.
seth:grass-7.0.svn_src_snapshot_2009_09_26 sprice$ find /usr -name
ft2build.h/usr/local/freetype/freetype-2.3.9/devel/ft2build.h
/usr/local/freetype/freetype-2.3.9/include/ft2build.h
/usr/local/include/ft2build.h
/usr/X11/include/ft2build.h
seth:grass-7.0.svn_src_snapshot_2009_09_26 sprice$ freetype-config --prefix
/usr/local




More information about the grass-user mailing list