Home | News | Documentation | Download

libAfterImage installing problem; freetype


#1

Dear ROOT-team,

I try to install the HEAD version from svn on my ubuntu (Karmic) laptop. I try with

./configure
make

… but I get this error message (I took out the interesting part of it):

==> lib/libMemStat.so done
*** Building libAfterImage ...
make[1]: Betrete Verzeichnis '/home/peter/code/root/graf2d/asimage/src/libAfterImage'
gcc -m32 -O3 -DNO_DEBUG_OUTPUT -fPIC -Wall  -mmmx --param inline-unit-growth=10000 --param large-function-growth=10000  -I../../../../graf2d/freetype/src/freetype-2.3.5/include    -c asfont.c -o asfont.o
In file included from asfont.c:63:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
asfont.c:64:12: error: #include expects "FILENAME" or <FILENAME>
(...)
make[1]: *** [asfont.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/peter/code/root/graf2d/asimage/src/libAfterImage'
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Fehler 2
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx

I looked with locate where the missing ftheader.h file can be found:

/usr/include/freetype2/freetype/config/ftheader.h

Have you seen this error before? What’s your recommendation of how to proceed?

cheers,
Peter


#2

In fact disabling asimage (./configure --disable-asimage) helps for installing, but then I’m left without the ability to draw plots

cheers,
Peter


#3

Hi,

I could solve the issue by adding the following link in my directory structure:

sudo ln -s /usr/include/freetype2/freetype /usr/include/freetype

cheers,
Peter