Comments (10)
Hi,
the tool cmake is a prerequisite for FairSoft. It will check the system. Depending on this check it will warn you about missing packages and also adjust some needed variables, so it is not recommended to remove this line.
On your Mac you obviously have cmake available.
Ciao
Florian
from fairsoft.
Hi.
Yes. It's prerequisite and in case of the system not having cmake, as far as I know, fairsoft installation script automatically install cmake.
But on SL6.1, it just stopped after found out that the system doesn't have cmake.
Maybe it happens only on our system.
Thank you
Genie
from fairsoft.
Hi,
this is not true any longer. Before we did the introspection of the system using some bash scripts but with the new version of FairSoft we do this with cmake, so it is needed for this step of system introspection.
You are right that cmake was installed if it s not present on the system, so if you uncomment the line you will still install cmake, but definitely to late. The complete installation obviously works but as I said I wouldn't recommend this, because I am not sure how you set the needed environment variables if you switch of the system check. It may work but it is possible that you have later on subtle problems.
Ciao
Florian
from fairsoft.
Thank you.
I just tried to install the newer version.
Since we're still under development, we could be working on dec13p1.
As you said, the error occurred in ROOT installation which was ok with dec13p1.
I leave the installation log here for your information.
The build process for the external packages for the FairRoot Project was started at 290714_145444
*** Compiling the external packages with the GCC compiler
*** Building the libraries with best optimization
The following parameters are set.
System : 64bit
C++ compiler : g++
C compiler : gcc
Fortran compiler :
CXXFLAGS : -O3
CFLAGS : -O3
FFLAGS : -O3
Compiler : gcc
Debug : no
Optimization : yes
Platform : linux
Architecture : linuxx8664gcc
G4System : Linux-g++
g4_data_files :
g4_get_data :
Number of parallel
processes for build : 24
Installation Directory: /home/spirit/Common/fairsoft.july14
Found cmake version older than 2.8.6 PATH
This version is to old
install cmake as external package
*** Compiling CMake ................
*** Unpacking cmake-2.8.12.2.tar.gz ..............
*** CMake compiled successfully ***
*** Unpacking gtest-1.7.0.zip ..............
*** Compiling gtest ................
*** gtest compiled successfully ***
*** Unpacking gsl-1.16.tar.gz ..............
*** Compiling gsl ................
*** gsl compiled successfully ***
*** Unpacking boost_1_54_0.tar.bz2 ..............
*** Compiling Boost ................
patching file boost/cstdint.hpp
*** Boost compiled successfully ***
*** Unpacking pythia6.tar.gz ..............
*** Compiling Pythia6 ................
*** Pythia6 compiled successfully ***
*** Unpacking HepMC-2.06.09.tar.gz ..............
*** Compiling hepmc ................
*** hepmc compiled successfully ***
*** Unpacking pythia8183.tgz ..............
*** Compiling pythia8 ................
patching file include/Pythia8/Basics.h
patching file src/Basics.cc
*** pythia8 compiled successfully ***
*** Unpacking xerces-c-3.1.1.tar.gz ..............
*** Compiling XercesC ................
*** XercesC compiled successfully ***
*** Unpacking geant4.10.00.p01.tar.gz ..............
*** Compiling Geant4-lib ................
patching file source/processes/electromagnetic/dna/molecules/management/include/G4MolecularConfiguration.hh
*** Compiling Geant4-build ................
*** geant4 compiled successfully ***
*** Compiling root ................
Copied rootconfig.sh ......................
Configure Root ..........................................
patching file config/Makefile.linuxx8664gcc
Hunk #2 succeeded at 48 (offset 5 lines).
*** ERROR: root could not be created.
*** End installation of external packages with Errors***
Genie
FYI,
- Installation is just fine with SL 6.3
- OSX 10.9.4
- Configuration was fine, but making failed at the same point as SL6.1
- I experienced before with newer version of ROOT when configured with ./configure.sh not CMake. When configured CMake, it just worked fine.
from fairsoft.
Hi,
is your problem meanwhile solved?
Ciao
Florian
from fairsoft.
Thanks for reminding me.
I checked it again today with jul14p3, but it's not solved yet.
It gives the same error.
I printed out ret_val
in line 382 of scripts/check_system.sh
, it was 127
.
I used SL 6.1 64bit version with gcc 4.4.5
Thank you,
Genie
from fairsoft.
Hi,
this is not an error. CMake is now a prerequisit. You need to have it installed before you run the configure.sh script. I will try to add a test for CMake before we use it. In case it is not found we will print an error message.
Ciao
Florian
from fairsoft.
Hi,
Okay, then. It explains everything.
I thought that CMake is automatically installed with FairSoft package because it has the installation script in script folder.
Thank you for your explanation.
Genie=
from fairsoft.
Hi.
this was through for older versions of FairSoft, when we did the checks with handmade shell scripts. Now we use Cmake for system introspection, so we need it. Since the issue is solved I close the ticket.
Ciao
Florian
from fairsoft.
Hi,
with 106b764 the code is changed in such a way that a error message is printed if CMake isn't found on the system.
Ciao
Florian
from fairsoft.
Related Issues (20)
- Boost libraries do not contain the RPATH information HOT 2
- FairSoft apr22 or nov22 lxplus8 HOT 8
- ZeroMQ is built without Draft API HOT 5
- cvmfs: please put build on cvmfs HOT 3
- MacOS: Compilation failure after upgrading to 13.3.1 HOT 7
- Use conan or vcpkg as the package manager? HOT 2
- MacOS 13.5.1: cmake --build error HOT 2
- Update `geant3` to `v4-2` HOT 1
- Check and decide if `onnxruntime` needs an update
- Root 6.30/02 does not build on macOS 12 with AppleClang 14 HOT 3
- Test C++20 compilation
- Error when building Geant3: cannot find -lROOT::EGPythia6 HOT 3
- problem with compiling FairSoft at oct17p4 branch on Ubuntu 22.04 HOT 2
- FairSoft jan24 on Debian10 HOT 15
- Fairsoft compilation on ubuntu 22.04 HOT 11
- Errors with Vc 1.4.4 in FairSoft jan24 HOT 16
- Fix `R[UN]PATH` info in all libraries HOT 1
- Installation with AlmaLinux9 HOT 2
- MACOS VENTURA 13.4 Problem with "root-build-RelWithDebInfo.cmake" HOT 7
- Issues with installing FairSoft on Ubuntu 20.04.6 LTS HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fairsoft.