Giter Site home page Giter Site logo

Comments (10)

fuhlig1 avatar fuhlig1 commented on August 15, 2024

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.

geniejhang avatar geniejhang commented on August 15, 2024

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.

fuhlig1 avatar fuhlig1 commented on August 15, 2024

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.

geniejhang avatar geniejhang commented on August 15, 2024

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.

fuhlig1 avatar fuhlig1 commented on August 15, 2024

Hi,

is your problem meanwhile solved?

Ciao

Florian

from fairsoft.

geniejhang avatar geniejhang commented on August 15, 2024

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.

fuhlig1 avatar fuhlig1 commented on August 15, 2024

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.

geniejhang avatar geniejhang commented on August 15, 2024

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.

fuhlig1 avatar fuhlig1 commented on August 15, 2024

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.

fuhlig1 avatar fuhlig1 commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.