GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Install error external packages "apr 13" and Kubuntu 14.04
Install error external packages "apr 13" and Kubuntu 14.04 [message #16380] Sun, 20 April 2014 18:41 Go to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Hello,

I have just tried to compile the external packages "apr 13" on a fresh install of Kubuntu 14.04 64 bit. apr 13 is the recommended version for the PandaRoot trunk.

It seems that there is a problem with the compilation of root. I actually found my problem described here:
https://sft.its.cern.ch/jira/browse/ROOT-5817

Quote:

Olivier Couet added a comment - 10/Dec/13 11:13 AM

We do support locally installed freetype (to use the ROOT freetype one has to do the configure with the option --enable-buildin-freetype). Now the version of freetype in ROOT is 2.3.12 the new one is 2.5.1. I managed to reproduce the problem replacing 2.3.12 by 2.5.1 in the local version. It seems that the problem comes for the fact that 2.5.1 puts its include file a level higher than 2.3.12. I guess we have to support both.


However, I don't know how to fix the problem myself.

Here is my error output:
Quote:

Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_glew, builtin_pcre, builtin_lzma, explicitlink, gdml, genvector, mathmore, memstat, minuit2, monalisa, opengl, pythia6, pythia8, roofit, shadowpw, shared, soversion, tmva, x11, xft.

To build ROOT type:

make
make install

bin/rmkdepend -R -fcore/base/src/TROOT.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -D__cplusplus -- /home/fairroot/apr13/tools/root/core/base/src/TROOT.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -o core/base/src/TROOT.o -c /home/fairroot/apr13/tools/root/core/base/src/TROOT.cxx
*** Building libAfterImage ...
make[1]: Entering directory `/home/fairroot/apr13/tools/root/graf2d/asimage/src/libAfterImage'
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c asfont.c -o asfont.o
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c transform.c -o transform.o
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c ungif.c -o ungif.o
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c xcf.c -o xcf.o
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c ximage.c -o ximage.o
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c xpm.c -o xpm.o
asfont.c:67:33: fatal error: freetype/freetype.h: No such file or directory
# include <freetype/freetype.h>
^
compilation terminated.

...

Lots of output in between...

...

,ake[1]: Leaving directory `/home/fairroot/apr13/tools/root/graf2d/asimage/src/libAfterImage'
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2
make: *** Waiting for unfinished jobs....
*** Building libAfterImage ...
make[1]: Entering directory `/home/fairroot/apr13/tools/root/graf2d/asimage/src/libAfterImage'
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c asfont.c -o asfont.o
asfont.c:67:33: fatal error: freetype/freetype.h: No such file or directory
# include <freetype/freetype.h>
^
compilation terminated.
make[1]: *** [asfont.o] Error 1
make[1]: Leaving directory `/home/fairroot/apr13/tools/root/graf2d/asimage/src/libAfterImage'
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2
**** Checking libraries in /home/fairroot/apr13build/lib ****
*** ERROR: root could not be created.
*** End installation of external packages with Errors***


Thank you for your help!
Martin

 
Read Message
Read Message
Read Message
Previous Topic: external packages dec13 - mac os x maverick
Next Topic: Problem with externals jul14 on OS 10.8
Goto Forum:
  


Current Time: Fri Mar 29 01:33:57 CET 2024

Total time taken to generate the page: 0.01173 seconds