Dear experts
I build o2 on Scientific linux 7 according to instructions
But it doesn’t work.
What did I miss?
Regards, Dmitry.
[fitdaq@j91 alice]$ uname -a
Linux j91.localdomain 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 10:10:26 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux
[fitdaq@j91 alice]$ alienv enter O2/latest-dev-o2
WARNING: not updating modulefiles
grpc(12):ERROR:105: Unable to locate a modulefile for 'grpc/-'
Ppconsul(12):ERROR:105: Unable to locate a modulefile for 'Ppconsul/-'
Ppconsul(12):ERROR:105: Unable to locate a modulefile for 'Ppconsul/-'
Currently Loaded Modulefiles:
- BASE/1.0 14) pythia/v8230-1
- GCC-Toolchain/v6.2.0-alice1-1 15) ZeroMQ/v4.1.5-1
- GSL/v1.16-1 16) nanomsg/v1.0.0+git_c52f1bedca-1
- ROOT/v6-10-08-1 17) DDS/1.7-1
- GEANT3/v2-5-1 18) FairRoot/alice-dev-20171027-1
- GEANT4/v10.3.3-1 19) Vc/1.3.2-1
- vgm/v4-4-1 20) HepMC3/3.0.0-1
- GEANT4_VMC/v3-5-1 21) O2HLTCATracking/hlt_o2_ca_tracking-v1.3-1
- protobuf/v3.0.2-1 22) Common-O2/v1.2.0-1
- pythia6/428-alice1-1 23) Configuration/v1.2.1-1
- boost/v1.64.0-alice1-1 24) Monitoring/v1.3.0-1
- yaml-cpp/v0.5.2-1 25) O2/latest-dev-o2
- lhapdf/v6.1.6-1
Use alienv list to list loaded modules. Use exit to exit this environment.
[O2/latest-dev-o2] ~/alice $> o2sim -h
o2sim: error while loading shared libraries: libCore.so.6.12: cannot open shared object file: No such file or directory
[fitdaq@j91 alice]$ aliDoctor O2 --defaults o2
WARNING: Package Vc cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf “#include <Vc/version.h>\n#if Vc_VERSION_CHECK(1,3,2) > Vc_VERSION_NUMBER\n#error Incorrect Vc version\n#endif” | c++ -xc++ - -c -M 2>&1
WARNING:
WARNING: with the following output:
WARNING:
WARNING: Vc: :1:24: fatal error: Vc/version.h: No such file or directory
WARNING: Vc: compilation terminated.
WARNING: Vc:
WARNING:
WARNING: Package ZeroMQ cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf “#include <zmq.h>\n#if(ZMQ_VERSION < 40103)\n#error “zmq version >= 4.1.3 needed”\n#endif\n int main(){}” | gcc -I$(brew --prefix zeromq)/include $([[ -d $(brew --prefix zeromq) ]] || echo “-l:libzmq.a”) -xc++ - -o /dev/null 2>&1
WARNING:
WARNING: with the following output:
WARNING:
WARNING: ZeroMQ: :1:17: fatal error: zmq.h: No such file or directory
WARNING: ZeroMQ: compilation terminated.
WARNING: ZeroMQ:
WARNING:
WARNING: Package nanomsg cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf “#include “nanomsg/nn.h”\nint main(){}” | cc -I$(brew --prefix nanomsg)/include -Wno-deprecated-declarations -xc - -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: nanomsg: :1:24: fatal error: nanomsg/nn.h: No such file or directory
WARNING: nanomsg: compilation terminated.
WARNING: nanomsg:
WARNING:
WARNING: Package boost cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf “#include “boost/version.hpp”\n# if (BOOST_VERSION < 106600 || BOOST_VERSION > 106699)\n#error “Cannot use system’s boost: boost 1.66 required.”\n#endif\nint main(){}” | gcc -I$(brew --prefix boost)/include -xc++ - -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: boost: :1:29: fatal error: boost/version.hpp: No such file or directory
WARNING: boost: compilation terminated.
WARNING: boost:
WARNING:
WARNING: Package protobuf cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf “#include “google/protobuf/stubs/common.h”\n#if (GOOGLE_PROTOBUF_VERSION < 3000000)\n#error “At least protobuf 3.0.0 is required.”\n#endif\nint main(){}” | c++ -I$(brew --prefix protobuf)/include -Wno-deprecated-declarations -xc++ - -o /dev/null && protoc -h &> /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: protobuf: :1:42: fatal error: google/protobuf/stubs/common.h: No such file or directory
WARNING: protobuf: compilation terminated.
WARNING: protobuf:
WARNING:
WARNING: Package GCC-Toolchain cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; set -e
WARNING: which gfortran || { echo “gfortran missing”; exit 1; }
WARNING: which cc && test -f $(dirname $(which cc))/c++ && printf “#define GCCVER ((GNUC << 16)+(GNUC_MINOR << 8)+(GNUC_PATCHLEVEL))\n#if (GCCVER < 0x060200)\n#error “System’s GCC cannot be used: we need at least GCC 6.X. We are going to compile our own version.”\n#endif\n” | cc -xc++ - -c -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: GCC-Toolchain: /usr/bin/gfortran
WARNING: GCC-Toolchain: /usr/bin/cc
WARNING: GCC-Toolchain: :3:2: error: #error "System’s GCC cannot be used: we need at least GCC 6.X. We are going to compile our own version."
WARNING: GCC-Toolchain:
WARNING:
WARNING: Package CMake cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; which cmake && case cmake --version | sed -e 's/.* //' | cut -d. -f1,2,3 | head -n1
in [0-2]|3.[0-9].|3.10.*) exit 1 ;; esac
WARNING:
WARNING: with the following output:
WARNING:
WARNING: CMake: which: no cmake in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/fitdaq/.local/bin:/home/fitdaq/bin)
WARNING: CMake:
WARNING:
SUCCESS: Required package curl will be picked up from the system.
WARNING: Package GSL cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf “#include “gsl/gsl_version.h”\n#define GSL_V GSL_MAJOR_VERSION * 100 + GSL_MINOR_VERSION\n# if (GSL_V < 116)\n#error “Cannot use system’s gsl. Notice we only support versions from 1.16 (included)”\n#endif\nint main(){}” | gcc -I$(brew --prefix gsl)/include -xc++ - -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: GSL: :1:29: fatal error: gsl/gsl_version.h: No such file or directory
WARNING: GSL: compilation terminated.
WARNING: GSL:
WARNING:
SUCCESS: Required package opengl will be picked up from the system.
SUCCESS: Required package Xdevel will be picked up from the system.
SUCCESS: Package FreeType will be picked up from the system.
SUCCESS: Package Python-modules will be picked up from the system.
SUCCESS: Package libpng will be picked up from the system.
SUCCESS: Package lzma will be picked up from the system.
SUCCESS: Package autotools will be picked up from the system.
SUCCESS: Required package bz2 will be picked up from the system.
SUCCESS: Required package yacc-like will be picked up from the system.
WARNING: Package yaml-cpp cannot be picked up from the system and will be built by aliBuild.
WARNING: This is due to the fact the following script fails:
WARNING:
WARNING: brew() { true; }; printf “#include “yaml-cpp/yaml.h”\n” | gcc -Ibrew --prefix yaml-cpp
/include -Ibrew --prefix boost
/include -xc++ - -c -o /dev/null
WARNING:
WARNING: with the following output:
WARNING:
WARNING: yaml-cpp: :1:27: fatal error: yaml-cpp/yaml.h: No such file or directory
WARNING: yaml-cpp: compilation terminated.
WARNING: yaml-cpp:
WARNING:
==> The following packages will be picked up from the system:
- Python-modules
- libpng
- FreeType
- lzma
- autotools
If this is not you want, you have to uninstall / unload them.
==> The following packages will be build by aliBuild because they couldn’t be picked up from the system:
- Vc
- CMake
- protobuf
- GCC-Toolchain
- yaml-cpp
- nanomsg
- ZeroMQ
- boost
- GSL
This is not a real issue, but it might take longer the first time you invoke aliBuild.
Look at the error messages above to get hints on what packages you need to install separately.
[fitdaq@j91 alice]$
[fitdaq@j91 alice]$ alienv q
WARNING: not updating modulefiles
VO_ALICE@ApMon-CPP::latest
VO_ALICE@ApMon-CPP::latest-o2-daq
VO_ALICE@ApMon-CPP::v2.2.8-alice1-1
VO_ALICE@BASE::1.0
VO_ALICE@boost::latest
VO_ALICE@boost::latest-dev-o2
VO_ALICE@boost::latest-o2-daq
VO_ALICE@boost::v1.64.0-alice1-1
VO_ALICE@CMake::latest
VO_ALICE@CMake::latest-dev-o2
VO_ALICE@CMake::latest-o2-daq
VO_ALICE@CMake::v3.9.4-1
VO_ALICE@Common-O2::latest
VO_ALICE@Common-O2::latest-dev-o2
VO_ALICE@Common-O2::latest-o2-daq
VO_ALICE@Common-O2::v1.2.0-1
VO_ALICE@Configuration::latest
VO_ALICE@Configuration::latest-dev-o2
VO_ALICE@Configuration::latest-o2-daq
VO_ALICE@Configuration::v1.2.1-1
VO_ALICE@Configuration::v1.2.1-2
VO_ALICE@DataSampling::latest
VO_ALICE@DataSampling::latest-o2-daq
VO_ALICE@DataSampling::v0.1.0-1
VO_ALICE@DDS::1.7-1
VO_ALICE@DDS::latest
VO_ALICE@DDS::latest-dev-o2
VO_ALICE@DDS::latest-o2-daq
VO_ALICE@dim::latest
VO_ALICE@dim::latest-o2-daq
VO_ALICE@dim::v20r20-1
VO_ALICE@FairRoot::alice-dev-20171027-1
VO_ALICE@FairRoot::alice-dev-20171027-2
VO_ALICE@FairRoot::latest
VO_ALICE@FairRoot::latest-dev-o2
VO_ALICE@FairRoot::latest-o2-daq
VO_ALICE@flpproto::latest
VO_ALICE@flpproto::latest-o2-daq
VO_ALICE@flpproto::v0.7.0-1
VO_ALICE@GCC-Toolchain::latest
VO_ALICE@GCC-Toolchain::latest-dev-o2
VO_ALICE@GCC-Toolchain::latest-o2-daq
VO_ALICE@GCC-Toolchain::v6.2.0-alice1-1
VO_ALICE@GEANT3::latest
VO_ALICE@GEANT3::latest-dev-o2
VO_ALICE@GEANT3::v2-5-1
VO_ALICE@GEANT4::latest
VO_ALICE@GEANT4::latest-dev-o2
VO_ALICE@GEANT4::v10.3.3-1
VO_ALICE@GEANT4_VMC::latest
VO_ALICE@GEANT4_VMC::latest-dev-o2
VO_ALICE@GEANT4_VMC::v3-5-1
VO_ALICE@generators::latest
VO_ALICE@generators::latest-dev-o2
VO_ALICE@generators::v1.0-1
VO_ALICE@grpc::latest
VO_ALICE@grpc::latest-o2-daq
VO_ALICE@grpc::v1.2.5-1
VO_ALICE@GSL::latest
VO_ALICE@GSL::latest-dev-o2
VO_ALICE@GSL::latest-o2-daq
VO_ALICE@GSL::v1.16-1
VO_ALICE@HepMC3::3.0.0-1
VO_ALICE@HepMC3::latest
VO_ALICE@HepMC3::latest-dev-o2
VO_ALICE@HepMC3::latest-o2-daq
VO_ALICE@hijing::latest
VO_ALICE@hijing::latest-dev-o2
VO_ALICE@hijing::v1.36-1
VO_ALICE@InfoLogger::latest
VO_ALICE@InfoLogger::latest-o2-daq
VO_ALICE@InfoLogger::v1.0.2-1
VO_ALICE@lhapdf::latest
VO_ALICE@lhapdf::latest-dev-o2
VO_ALICE@lhapdf::v6.1.6-1
VO_ALICE@Monitoring::latest
VO_ALICE@Monitoring::latest-dev-o2
VO_ALICE@Monitoring::latest-o2-daq
VO_ALICE@Monitoring::v1.3.0-1
VO_ALICE@Monitoring::v1.3.0-2
VO_ALICE@nanomsg::latest
VO_ALICE@nanomsg::latest-dev-o2
VO_ALICE@nanomsg::v1.0.0+git_c52f1bedca-1
VO_ALICE@O2::0_O2_DAQ-1
VO_ALICE@O2::dev-1
VO_ALICE@O2::latest
VO_ALICE@O2::latest-dev-o2
VO_ALICE@O2::latest-o2-daq
VO_ALICE@O2HLTCATracking::hlt_o2_ca_tracking-v1.3-1
VO_ALICE@O2HLTCATracking::latest
VO_ALICE@O2HLTCATracking::latest-dev-o2
VO_ALICE@O2HLTCATracking::latest-o2-daq
VO_ALICE@PDA::12.0.0-1
VO_ALICE@PDA::latest
VO_ALICE@PDA::latest-o2-daq
VO_ALICE@Ppconsul::0.0.1-1
VO_ALICE@Ppconsul::latest
VO_ALICE@Ppconsul::latest-o2-daq
VO_ALICE@protobuf::latest
VO_ALICE@protobuf::latest-dev-o2
VO_ALICE@protobuf::latest-o2-daq
VO_ALICE@protobuf::v3.0.2-1
VO_ALICE@pythia::latest
VO_ALICE@pythia::latest-dev-o2
VO_ALICE@pythia::v8230-1
VO_ALICE@pythia6::428-alice1-1
VO_ALICE@pythia6::latest
VO_ALICE@pythia6::latest-dev-o2
VO_ALICE@QualityControl::latest
VO_ALICE@QualityControl::latest-o2-daq
VO_ALICE@QualityControl::v0.2.0-1
VO_ALICE@RapidJSON::1.1.0-1
VO_ALICE@RapidJSON::latest
VO_ALICE@RapidJSON::latest-dev-o2
VO_ALICE@RapidJSON::latest-o2-daq
VO_ALICE@Readout::latest
VO_ALICE@Readout::latest-o2-daq
VO_ALICE@Readout::v0.1.0-1
VO_ALICE@ReadoutCard::latest
VO_ALICE@ReadoutCard::latest-o2-daq
VO_ALICE@ReadoutCard::v0.8.1-1
VO_ALICE@ROOT::latest
VO_ALICE@ROOT::latest-dev-o2
VO_ALICE@ROOT::latest-o2-daq
VO_ALICE@ROOT::v6-10-08-1
VO_ALICE@simulation::latest
VO_ALICE@simulation::latest-dev-o2
VO_ALICE@simulation::v1.0-1
VO_ALICE@Vc::1.3.2-1
VO_ALICE@Vc::latest
VO_ALICE@Vc::latest-dev-o2
VO_ALICE@Vc::latest-o2-daq
VO_ALICE@vgm::latest
VO_ALICE@vgm::latest-dev-o2
VO_ALICE@vgm::v4-4-1
VO_ALICE@yaml-cpp::latest
VO_ALICE@yaml-cpp::latest-dev-o2
VO_ALICE@yaml-cpp::v0.5.2-1
VO_ALICE@ZeroMQ::latest
VO_ALICE@ZeroMQ::latest-dev-o2
VO_ALICE@ZeroMQ::latest-o2-daq
VO_ALICE@ZeroMQ::v4.1.5-1
[fitdaq@j91 alice]$