GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » [FIXED] Installation of External packages on ubuntu 14.04 LTS version
[FIXED] Installation of External packages on ubuntu 14.04 LTS version [message #17011] Tue, 15 July 2014 06:42 Go to next message
Ajay Kumar is currently offline  Ajay Kumar
Messages: 102
Registered: December 2011
Location: indore
continuous participant

From: 14.139.35*
Dear All,

I have installed ubuntu 14.04 LTS(Latest ubuntu version) on my 64 bit machine. Now I went for PANDAROOT installation. As a first step, I have downloaded the external packages from the below svn link:-

svn co https://subversion.gsi.de/fairroot/fairsoft/release/apr13

When I am going to configure the external package by the cammand ./configure.sh. its shows missing package like as-

Please enter a choice from the above menu: 2
Checking for GNU Make:
dpkg-architecture found in PATH
Checking dpkg-architecture
patch found in PATH
wget found in PATH
Subversion client found in PATH
Checking for
libX11 ...
/usr/lib/x86_64-linux-gnu
Checking for
libXpm ...
/usr/lib/x86_64-linux-gnu
Checking for
libXmu ...
/usr/lib/x86_64-linux-gnu
Checking for
X11/Xlib.h ...
/usr/include
Checking for
X11/Xft/Xft.h ...
/usr/include
Checking for
X11/extensions/shape.h ...
/usr/include
Checking for
libXft ...
/usr/lib/x86_64-linux-gnu
Checking for
libXext ...
/usr/lib/x86_64-linux-gnu
Checking for
GL/gl.h ...
no
Checking for
libGL,
or
libMesaGL ...
no
Checking for
libGLU,
or
libMesaGLU ...
no
Missing packages .............OpenGL is not installed in this system

unfortunately, I could not find this package in my machine.

Is it the problem with new ubuntu release ?
How to install this missing packages ?

Thanking you.


AJAY KUMAR
Research scholar
Indian Institute of Technology Indore,Indore
Madhya Pradesh
India

[Updated on: Wed, 10 September 2014 12:46] by Moderator

Report message to a moderator

Re: Installation of External packages on ubuntu 14.04 LTS version [message #17012 is a reply to message #17011] Tue, 15 July 2014 07:33 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 93.48.228*
Take a look here:

http://fairroot.gsi.de/?q=node/63
Re: Installation of External packages on ubuntu 14.04 LTS version [message #17013 is a reply to message #17011] Tue, 15 July 2014 08:32 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *pools.arcor-ip.net
Hi,

it should be enough to execute the following command on your machine. This should install all dependencies.
"apt" is the package manager on debian based systems.

sudo apt-get install cmake cmake-data g++ gcc gfortran build-essential make patch sed \
libx11-dev libxft-dev libxext-dev libxpm-dev libxmu-dev libglu1-mesa-dev libgl1-mesa-dev \
curl bzip2 gzip unzip tar subversion git


Ciao

Florian
Re: Installation of External packages on ubuntu 14.04 LTS version [message #17014 is a reply to message #17013] Tue, 15 July 2014 10:08 Go to previous messageGo to next message
Ajay Kumar is currently offline  Ajay Kumar
Messages: 102
Registered: December 2011
Location: indore
continuous participant

From: 14.139.35*
Thanks Stefano and Florian.

Now its works but with root building problem. the error is looks as:-

*** Building libAfterImage ...
make[1]: Entering directory `/home/ajay/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/ajay/apr13/tools/root/graf2d/asimage/src/libAfterImage'
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2
**** Checking libraries in /home/ajay/fairsoft/lib ****
*** ERROR: root could not be created.
*** End installation of external packages with Errors***

Please suggest to resolve this problem.

Thanks


AJAY KUMAR
Research scholar
Indian Institute of Technology Indore,Indore
Madhya Pradesh
India
Re: Installation of External packages on ubuntu 14.04 LTS version [message #17015 is a reply to message #17014] Tue, 15 July 2014 11:01 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi,

this is a problem already known by the ROOT team and fixed in newer ROOT versions. You can find the complete information at http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=17419

To solve the problem please add the following statement

--enable-builtin-freetype

to the configure command in the file tools/rootconfig.sh in the source code of the external packages. After you did this rerun the configure command. With this change you will use the freetype library which comes with ROOT instead of the system one.

Ciao

Florian
Re: Installation of External packages on ubuntu 14.04 LTS version [message #17017 is a reply to message #17014] Tue, 15 July 2014 13:11 Go to previous messageGo to next message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
For issues with the external packages I would suggest to have a look at the FairRoot forum and to report the problems there if they are new. The exact problem you found was reported and solved some weeks ago already:

See here
https://forum.gsi.de/index.php?t=msg&th=4230&start=0&
and here
https://forum.gsi.de/index.php?t=msg&th=4253&start=0&

Kind regards,
Martin
Re: Installation of External packages on ubuntu 14.04 LTS version [message #17018 is a reply to message #17017] Tue, 15 July 2014 13:27 Go to previous message
Ajay Kumar is currently offline  Ajay Kumar
Messages: 102
Registered: December 2011
Location: indore
continuous participant

From: 14.139.35*

It works for me now.

Yes, we should have a look of fairroot forum related to external package issues. I have taken look only on PANDA forum thats why I could not see the discussion.

Thank you to all.


AJAY KUMAR
Research scholar
Indian Institute of Technology Indore,Indore
Madhya Pradesh
India
Previous Topic: Time based simulation
Next Topic: Pid by SideTof
Goto Forum:
  


Current Time: Fri Nov 22 09:02:56 CET 2024

Total time taken to generate the page: 0.00669 seconds