GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Installing external packages failed (recipe for target 'lib/libCling.so.6.16.00' failed)
icon5.gif  Installing external packages failed [message #24893] Wed, 13 May 2020 11:58 Go to next message
therlen is currently offline  therlen
Messages: 3
Registered: May 2020
Location: Bochum
occasional visitor
From: *hsi06.unitymediagroup.de
Hello everyone,

I tried to install PandaRoot on a Ububuntu virtual Machine using the guide provided the Wiki.
Sadly I keep getting the same error while installing the external packages (Fairroot 19p1):


Quote:
[ 75%] Linking CXX shared library ../../lib/libRIO.so
[ 75%] Built target RIO
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
core/metacling/src/CMakeFiles/Cling.dir/build.make:200: recipe for target 'lib/libCling.so.6.16.00' failed
make[2]: *** [lib/libCling.so.6.16.00] Error 1
make[2]: *** Deleting file 'lib/libCling.so.6.16.00'
CMakeFiles/Makefile2:17671: recipe for target 'core/metacling/src/CMakeFiles/Cling.dir/all' failed
make[1]: *** [core/metacling/src/CMakeFiles/Cling.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
**** Checking libraries in /home/elwood/fairrot/build/lib ****
*** ERROR: root could not be created.
create a symbolic linking for Vc library ....
scripts/install_root6.sh: line 69: cd: /home/elwood/fairrot/build/lib/root: No such file or directory
ln: failed to create symbolic link './libVc.a': File exists
---link created ---
*** End installation of external packages with Errors***


I was wondering if anyone has seen this before and knows the cause or a fix.

Best Regards

Thorsten
Re: Installing external packages failed [message #24896 is a reply to message #24893] Wed, 13 May 2020 12:04 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *unity-media.net
Hi Thorsten,

unfortunatly the real error message is not in your post. Since you use several parallel processes to compile ROOT the real error is somewhere in the output above the art you have posted. Could you please check and post the relevant part or upload a file with the complete output.

Ciao

Florian
Re: Installing external packages failed [message #24961 is a reply to message #24893] Wed, 27 May 2020 09:35 Go to previous messageGo to next message
therlen is currently offline  therlen
Messages: 3
Registered: May 2020
Location: Bochum
occasional visitor
From: *hsi06.unitymediagroup.de
Hello,

thanks for the reply, I found out than my virtual machine ran out of disk space while installing Embarassed. I set up a new one and went through all steps of the installation now.

Sadly the config.sh in pandaroot build seems not help root to "know" panda related functions/words

and testing the installation fails (

EG:

home/pandauser/pandaroot/source/macro/run/sim_complete.C:29:3: error: unknown type name 'PndMasterRunSim'
PndMasterRunSim *fRun = new PndMasterRunSim();

I will continue to troubleshoot


Thorsten
Re: Installing external packages failed [message #24963 is a reply to message #24961] Thu, 28 May 2020 11:50 Go to previous message
therlen is currently offline  therlen
Messages: 3
Registered: May 2020
Location: Bochum
occasional visitor
From: *hsi06.unitymediagroup.de
Hello, me again

I tried to re-install pandaroot:

export FAIRROOTPATH=/home/pandauser/FairRoot-v18.2/install (yes 'pandauser' is my local username on the VM)
echo $SIMPATH
/home/pandauser/fairsoft_jun19/build/


mkdir pandaroot
cd pandaroot
git clone https://git.panda.gsi.de/PandaRootGroup/PandaRoot.git ./source
cd ~/pandaroot/source
git checkout -b oct19 oct19
mkdir ../build
cd ../build
cmake ../source (there is no other cmake @home/pandauser/fairsoft_jun19/build/bin)

Quote:



-- NOT Found FAIRBASE

-- Setting FairRoot environment...
-- FairRoot ... - found /home/pandauser/FairRoot-v18.2/install
-- FairRoot Library directory : /home/pandauser/FairRoot-v18.2/install/lib
-- FairRoot Include path... : /home/pandauser/FairRoot-v18.2/install/include
-- FairRoot Cmake Modules : /home/pandauser/FairRoot-v18.2/install/share/fairbase/cmake
CMAKE_Fortran_COMPILER full path: /usr/bin/gfortran
Fortran compiler: gfortran
Set BuildType DEBUG
-- fairsoft-config found
--- Found a Linux system
--- Found GNU compiler collection
-- FindGSL: gsl-config not found.
-- Looking for Boost ...
SYSTEM_DIR1: /home/pandauser/fairsoft_jun19/build/include/root6;/home/pandauser/fairs oft_jun19/build/include
ROOT_FOUND_VERSION = 61600
-- C++11 support found.
-- Checking for FairMultiLinkedData::PrintLinkInfo() function
-- FairMultiLinkedData has Print()
-- ROOT-Vc would be too new, compile the external legacy version.
Cleared directory 'external/vc'
Submodule 'external/vc' (https://github.com/VcDevel/Vc.git) unregistered for path 'external/vc'
Submodule 'external/vc' (https://github.com/VcDevel/Vc.git) registered for path 'external/vc'
Submodule path 'external/vc': checked out 'fbdcee6276a4864c1abd0c0cca3625c519c6a6d3'
Using PHOTOS.
-- starting genfit PANDAROOT
-- genfit for panda
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- <MVA_INFO> Building MVA with multiClass.
Found TEve, so the eventdisplay will be compiled.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pandauser/pandaroot/build





make

I get a lot of errors like :

-> /usr/lib/gcc/x86_64-linux-gnu/9/include/smmintrin.h:449:39: error: selector must be an integer constant in the range 0..3
449 | return __builtin_ia32_vec_ext_v4si ((__v4si)__X, __N);

Seems to be my gcc..

Investigating !



Previous Topic: Bremsstrahlung-Corrections
Next Topic: Probems when installing PandaRoot
Goto Forum:
  


Current Time: Tue Apr 16 22:57:32 CEST 2024

Total time taken to generate the page: 0.00857 seconds