GSI Helmholtzzentrum für Schwerionenforschung
fairroot jan12 cannot be built on my Ubuntu 12.04 64 bit [SOLVED]
Hello all, probably, I am doing something wrong, but on my Ubuntu 12.04 64 bit system I cannot build fairroot jan 12. I called ./configure.sh from the directory /home/fairroot/jan12 (created with svn co https://subversion.gsi.de/fairroot/fairsoft/release/jan12) and chose the following options: 1 - GCC 2 - Debug Info 1 - Don't Install 2 - Yes I then entered /home/fairroot/buildjan12 (I created this folder beforehand and have read+write permission for it) The error I get is: Is /home/fairroot/buildjan12 the correct path? 1) No 2) Yes 3) Quit 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 ... /usr/include Checking for libGL, or libMesaGL ... /usr/lib/x86_64-linux-gnu Checking for libGLU, or libMesaGLU ... /usr/lib/x86_64-linux-gnu OpenGL found on this system C++ compiler found in PATH *** Compiling the external packages with the GCC compiler *** Building the libraries with debug information The following parameters are set. System : 64bit C++ compiler : g++ C compiler : gcc Fortran compiler : gfortran CXXFLAGS : -g -O0 CFLAGS : -g -O0 Compiler : gcc Fortran compiler : gfortran Debug : yes Optimization : no Platform : linux Architecture : linuxx8664gcc G4System : Linux-g++ g4_data_files : no g4_get_data : no Number of parallel processes for build : 2 cmake not found in PATH install cmake as external package *** Package CMake is OK *** *** Package gtest is OK *** *** Package glpk is OK *** *** Package gsl is OK *** *** Package Boost is OK *** *** Package ApMon is OK *** *** Package ml-gsoapclient is OK *** *** Package Pythia6 is OK *** *** Package pythia8 is OK *** *** Package Clhep is OK *** *** Package Geant4-Source is OK *** *** Package Geant4-lib is OK *** *** Package root is OK *** *** Package pluto is OK *** *** Compiling Geant3 ................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile_old 2011-12-15 12:39:43.606586695 +0100 |+++ Makefile 2011-12-15 12:40:16.438643247 +0100 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored /home/fairroot/buildjan12/bin:/home/fairroot/buildjan12/bin:/home/fairroot/buildjan12/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: make: *** No targets specified and no makefile found. Stop. cp: cannot stat `/home/fairroot/jan12/transport/geant3/lib/tgt_linuxx8664gcc/libgeant321.so': No such file or directory cp: cannot stat `/home/fairroot/jan12/transport/geant3/TGeant3/*.h': No such file or directory **** Checking libraries in /home/fairroot/buildjan12/lib **** *** ERROR: Geant3 could not be created. *** End installation of external packages with Errors*** Note that there is no fairroot user on my system. I chose this path, however, because my home folder is on a separate hard drive and I want fairroot to save its files to the system disk. Choosing "No" when asked Quote: Would you like to install all binaries, libraries etc. to a dedicated directory. The default is up to now 'No' which means that all created files will be in the source directories. I run into the same problem. Any help would be much appreciated.
Re: fairroot jan12 cannot be built on my Ubuntu 12.04 64 bit
Hi, I think the problem is that geant3 was not downloaded by the svn checkout, can you please go to the /home/fairroot/jan12/transport/ and check that the geant3 directory exist? if not simply call svn update there. Quote: Note that there is no fairroot user on my system. I chose this path, however, because my home folder is on a separate hard drive and I want fairroot to save its files to the system disk. This does not effect anything here. regards, Mohammad
Thank you very much for your fast reply Mohammad. There was a Geant3 directory in transport, but svn update said it was not a working copy. I deleted the directory, ran svn update again and now everything works. Thank you!