[GRASSLIST:2742] Re: compiling grass and gd includes

cmbarton michael.barton at asu.edu
Wed Dec 5 19:16:28 EST 2001


Thanks for all the help you have  offered. I am still working on 
compiling grass and nearing the end of the compile script--finally. But 
I have run into a very perplexing problem. The configuration script 
looks for freetype2 (ft2build.h) and can't find it.

I have these libraries and this file. I put in the correct path to this 
file in my with-includes= and with-libs= flags. Then, I tried putting in 
a flag specifically for freetype (see below for both). It still can't 
find the file. I am beginning to suspect a problem with the configure 
script, but can't ferret it out.

Any thoughts on this?

Also, I have had to put in --without-blas and --without-lapack. What are 
these? I have had to put in --without-postgres because I have not been 
able to have a full version on my machine yet.

Another note: For anyone who is trying to compile this on a Mac OSX or 
darwin machine. I had to put a symlink in my lib directory to the GL 
libraries that come with this machine. They are deeply buried.

However, I have run into a
Michael Barton, Professor & Curator
Department of Anthropology
Arizona State University
Tempe, AZ  85287-2402

sudo ./configure --prefix=/sw/grass5 --with-includes="/sw/include 
/usr/include" --with-libs="/sw/lib /usr/lib" --with-gdal=/sw/lib 
--without-postgres --without-blas --without-lapack --without-motif 
--with-freetype-includes=/sw/include --with-freetype-libs=/sw/lib

More information about the grass-user mailing list