GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Install error external packages "apr 13" and Kubuntu 14.04
Re: Install error external packages "apr 13" and Kubuntu 14.04 [message #16396 is a reply to message #16380] Tue, 22 April 2014 11:19 Go to previous messageGo to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Hello all,

last night I had an idea how to work around the problem I encountered with the compilation of the external packages apr13 with Kubuntu 14.04 and this morning I tried it. The workaround seems to have worked.
In case anybody else would like to upgrade to *buntu 14.04 here is what you can do in order to compile the external packages apr13:

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


Now root should be able to find the freetype.h header.

The rest of the compilation worked without any problems.

I believe that alternatively, one could also change the scripts
apr13/tools/rootconfig.sh
and
apr13/tools/root/rootconfig.sh
(I'm not sure which one is being used, both scripts are identical, so I would just change both)

and add
--enable-builtin-freetype

to the lines
   ./configure $arch  --enable-soversion   $XROOTD  $ROOFIT \
                    --enable-minuit2  --enable-gdml --enable-xml \
		    --enable-builtin-ftgl  --enable-builtin-glew \
		    --with-pythia6-libdir=$pythia6_libdir \
		    --with-pythia8-libdir=$pythia8_libdir \
		    --with-pythia8-incdir=$pythia8_incdir \
		    --enable-mysql --enable-pgsql\
                    --disable-globus \
                    --disable-reflex \
                    --disable-cintex \
 		    --with-monalisa-libdir=$monalisa_dir/lib \
		    --with-monalisa-incdir=$monalisa_dir/include \
                    --with-gsl-incdir=$gsl_dir/include \
                    --with-gsl-libdir=$gsl_dir/lib \
                    --with-f77=$FC  $prefix_string \
                    $etc_string $debugstring 


However, I would recommend the first workaround. I did not try the second option.

Kind regards,
Martin

[Updated on: Tue, 22 April 2014 11:20]

Report message to a moderator

 
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: Mon Oct 18 17:20:46 CEST 2021

Total time taken to generate the page: 0.02362 seconds