Project

General

Profile

Troubleshooting your otsdaq Installation

This section will be a running record of common problems users have encountered during installation, and how to address those problems:

  • What if I am not using Scientific Linux 6 or 7?
    -> otsdaq has been developed and tested on SL6 and SL7.
    Virtual Machines are the recommended route for non Scientific Linux users. The otsdaq team provides a virtual machine with otsdaq already installed at http://otsdaq.fnal.gov

(SL6 iso: https://www.scientificlinux.org/downloads/, Virtual Box: https://www.virtualbox.org/)

  • Errors from mrbsetenv: C Make Error at /PATH/TO/PRODUCTS: ARTDAQ_DATABASE has not been setup
    CMake Error at /home/mu2edcs/otsdcs/products/cetbuildtools/v5_04_01/Modules/FindUpsPackage.cmake:116 (message):
      ARTDAQ_DATABASE has not been setup
    Call Stack (most recent call first):
      otsdaq/CMakeLists.txt:55 (find_ups_product)
    

    -> Download artdaq_database-1.02.00-slf6-x86_64-e10-s35-prof.tar.bz2
     cd $PRODUCTS
     wget http://scisoft.fnal.gov/scisoft/packages/artdaq_database******prof.tar.bz2
     tar xf artdaq_database******prof.tar.bz2
    

    Look at otsdaq/ups/product_deps and otsdaq/CMakeLists.txt
  • If lsb_release is missing:
    yum install redhat-lsb-core.x86_64
    
  • If uuid.h is missing:
    -> start a new terminal (may need root privileges):
    yum list | grep uuid   
    yum install uuid**  # choose the uuid with devel in the name
    
  • If sha.h is missing:
    -> start a new terminal (may need root privileges):
    yum list | grep openssl   
    yum install openssl**  # choose the openssl with devel in the name
    
  • Can't stash "Tell us who you are"
    -> Run
    git config --global user.email "you@example.com" 
    git config --global user.name "Your Name" 
    
  • Compiling error:
    [ 12%] Generating ROOT Cling dictionary files in otsdaq-core/MonicelliInterface
    /home/mu2edcs/otsdcs/products/root/v6_06_04a/Linux64bit+2.6-2.12-e10-prof/bin/rootcling: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/mu2edcs/otsdcs/products/root/v6_06_04a/Linux64bit+2.6-2.12-e10-prof/bin/rootcling)
    /home/mu2edcs/otsdcs/products/root/v6_06_04a/Linux64bit+2.6-2.12-e10-prof/bin/rootcling: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /home/mu2edcs/otsdcs/products/root/v6_06_04a/Linux64bit+2.6-2.12-e10-prof/bin/rootcling)
    /home/mu2edcs/otsdcs/products/root/v6_06_04a/Linux64bit+2.6-2.12-e10-prof/bin/rootcling: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/mu2edcs/otsdcs/products/root/v6_06_04a/Linux64bit+2.6-2.12-e10-prof/bin/rootcling)
    

    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:PATH/TO/GCC/lib64
    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/mu2edcs/otsdcs/products/gcc/v4_9_3a/Linux64bit+2.6-2.12/lib64