Download freetype-2.4.10.tar.gz from http://sourceforge.net/projects/freetype/file/freetype2/2.4.10
./configure –prefix=/opt/freetype/2.4.10 –exec-prefix=/opt/freetype/2.4.10 –oldincludedir=/opt/freetype/2.4.10/include
make -j4
make install
module file /etc/modulefiles/freetype/2.4.10
#%Module1.0############################################
##
## Discretizer AB modulefile
##
##
proc ModulesHelp { } {
puts stderr ”\tAdd environment.”
}
## Create a whatis file.
module-whatis ”Add program links, aliases and paths”
prepend-path PATH /opt/freetype/2.4.10/bin
setenv FREETYPE_ROOT_DIR /opt/freetype/2.4.10
prepend-path LD_LIBRARY_PATH /opt/freetype/2.4.10/lib