GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » libVc.a not found
libVc.a not found [message #20018] Mon, 05 December 2016 13:20 Go to next message
Jarok is currently offline  Jarok
Messages: 17
Registered: January 2016
Location: Santiago de Compostela
occasional visitor
From: *111.165.83.dynamic.reverse-mundo-r.com
Hello all.

I'm trying to install FairSoft with Root6. My system: Debian testing, amd64, gcc-6.2. During the installation I get this error:
[ 53%] Linking CXX shared library ../../lib/libTree.so
[ 53%] Built target Tree
Makefile:149: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
[  1%] Built target LLVMTableGen
[  3%] Built target LLVMSupport
[  3%] Built target clang-tblgen
[  3%] Built target ClangAttrPCHWrite
[  4%] Built target llvm-tblgen

and after some lines:
[ 44%] Built target Thread
[ 44%] Built target MultiProcObjs
[ 44%] Building CXX object math/mathcore/CMakeFiles/MathCore.dir/src/MixMaxEngine.cxx.o
In file included from /home/ike/Simulacion/codes/FairSoft/tools/root/math/mathcore/src/MixMaxEngine.cxx:19:0:
/home/ike/Simulacion/codes/FairSoft/tools/root/math/mathcore/src/mixmax.h:137:23: error: exponent has no digits
 #define INV_MERSBASE (0x1p-61)
                       ^
/home/ike/Simulacion/codes/FairSoft/tools/root/math/mathcore/src/mixmax.h:211:17: note: in expansion of macro 'INV_MERSBASE'
        return Z*INV_MERSBASE;
                 ^~~~~~~~~~~~
math/mathcore/CMakeFiles/MathCore.dir/build.make:865: fallo en las instrucciones para el objetivo 'math/mathcore/CMakeFiles/MathCore.dir/src/MixMaxEngine.cxx.o'
make[2]: *** [math/mathcore/CMakeFiles/MathCore.dir/src/MixMaxEngine.cxx.o] Error 1
CMakeFiles/Makefile2:12782: fallo en las instrucciones para el objetivo 'math/mathcore/CMakeFiles/MathCore.dir/all'
make[1]: *** [math/mathcore/CMakeFiles/MathCore.dir/all] Error 2
Makefile:149: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
**** Checking libraries in /home/ike/Simulacion/external/lib ****
*** ERROR: root could not be created.
 create a symbolic linking for  Vc library .... 
libVc.a not found in lib dirctory 
*** End installation of external packages with Errors***


In this forum I found someone with a similar problem in PandaRoot. They suggested not to use the master branch of the FairSoft; but I get always this error.
What could be the problem?

Thank you!!

Jose
Re: libVc.a not found [message #20021 is a reply to message #20018] Tue, 06 December 2016 09:33 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: 140.181.13*
Hi Jose,

this is probably a problem that the ROOT version used in FairSoft does not work with gcc6.

There is always a problem to use older ROOT version with the bleeding edge versions of gcc. If you must use gcc6 you should try the latest root version. To do so you have to change the ROOT version in the file scripts/package_versions.sh

export ROOTVERSION=v6-06-02


should be

export ROOTVERSION=v6-08-02


or

export ROOTVERSION=v6-06-08


Be aware that these versions have not been tested with FairRoot.

Ciao

Florian
Re: libVc.a not found [message #20030 is a reply to message #20021] Tue, 06 December 2016 09:41 Go to previous messageGo to next message
Jarok is currently offline  Jarok
Messages: 17
Registered: January 2016
Location: Santiago de Compostela
occasional visitor
From: *111.165.83.dynamic.reverse-mundo-r.com
Hi, Florian.

I first thought it was the compiler version...so I recompiled with gcc-4.9 and I got the same error. I'm going to try your comments and tell you later.

Thank you.

Jose
Re: libVc.a not found [message #20036 is a reply to message #20030] Tue, 06 December 2016 12:10 Go to previous message
Jarok is currently offline  Jarok
Messages: 17
Registered: January 2016
Location: Santiago de Compostela
occasional visitor
From: *111.165.83.dynamic.reverse-mundo-r.com
Hi again.

I compiled the FairSoft in a Debian 9 (testing) amd64, Kde desktop machine with gcc-6 and root version 6-08-02 and it works fine. The options I used:

compiler=gcc
debug=no
optimize=yes
geant4_download_install_data_automatic=yes
geant4_install_data_from_dir=no
build_root6=yes
build_python=yes
install_sim=yes


Thank you again!!

Jose
Previous Topic: Compilation error root in FairSoft dev
Next Topic: install_cmake.sh script does not recognize installed cmake correctly
Goto Forum:
  


Current Time: Thu Mar 28 23:56:29 CET 2024

Total time taken to generate the page: 0.00904 seconds