GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » make errors on the latest update
make errors on the latest update [message #13974] Tue, 18 September 2012 23:30 Go to next message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *physics.sunysb.edu
Hi All

I have two issues that i want to discuss here.

1) I just updated fairroot to version 17104 and tried to build it and it failed with the following errors.

raghav:build raghav$ make
--- Found a Mac OS X System 10.7
--- Found GNU compiler collection
--- Build Type: RelWithDebInfo
--- Compiler Flags: -m64
-- Looking for Root...
-- Looking for Root... - Found /Users/raghav/fairsoft/tools/root/bin/root
-- Looking for Root... - version 5.32/00
-- Looking for Pluto...
-- Looking for Pluto... - found /Users/raghav/fairsoft/generators/lib
-- Looking for Pythia6...
-- Looking for Pythia6... - found /Users/raghav/fairsoft/generators/lib
-- Looking for GEANT3...
-- Looking for GEANT3... - found /Users/raghav/fairsoft/transport/geant3/lib/libgeant321.so
-- Looking for GEANT4...
-- Looking for GEANT4... - found /Users/raghav/fairsoft/transport/geant4/lib
-- Looking for GEANT4 DATA files...
-- Looking for GEANT4VMC...
-- Looking for GEANT4VMC... - found /Users/raghav/fairsoft/transport/geant4_vmc/lib
-- Looking for VGM...
-- Looking for VGM... - found /Users/raghav/fairsoft/transport/vgm/lib
-- Looking for CLHEP...
-- Looking for CLHEP... - found /Users/raghav/fairsoft/cern/clhep/lib
-- Looking for Java...
-- Looking for Java... - found /usr/bin/java
-- Looking for Perl...
-- Looking for Perl... - found /usr/bin/perl
-- Looking for Rule Checker...
-- Looking for Rule Checker... - No Rules found
-- Looking for Rule Checker... - Not found
-- Looking for Boost ...
-- Boost version: 1.48.0
Build the unit tests.
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/raghav/fairroot/build
[ 0%] Generating G__FairToolsDict.cxx
[ 0%] Building CXX object fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o
In file included from /Users/raghav/fairroot/fairtools/FairLogger.cxx:8:
In file included from /Users/raghav/fairroot/fairtools/FairLogger.h:22:
In file included from /Users/raghav/fairsoft/tools/root/include/Rtypes.h:24:
/Users/raghav/fairsoft/tools/root/include/RConfig.h:377:13: fatal error: 'TargetConditionals.h' file not
found
# include <TargetConditionals.h>
^
1 error generated.
make[2]: *** [fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o] Error 1
make[1]: *** [fairtools/CMakeFiles/FairTools.dir/all] Error 2
make: *** [all] Error 2
raghav:build raghav$

I tried searching my computer for such a file TargetConditionals.h and i could not find it. I have never had this problem before.

This actually happened suddenly as it was working till noon today and i tried to create a new library for my fastjet analysis and even though i did not change anything, it stopped working (as in make did not go through completely) . So i thought that updating it would work. Therefore i went ahead and did an update on fairsoft as well and this is what i got

fairsoft svn update: 17104
raghav:fairsoft raghav$ cd build/
raghav:build raghav$ make
--- Found a Mac OS X System 10.7
--- Found GNU compiler collection
--- Build Type: RelWithDebInfo
--- Compiler Flags:
-- Looking for Root...
-- Looking for Root... - Found /Users/raghav/fairsoft/tools/root/bin/root
-- Looking for Root... - version 5.32/00
-- Looking for Pluto...
-- Looking for Pluto... - found /Users/raghav/fairsoft/generators/lib
-- Looking for Pythia6...
-- Looking for Pythia6... - found /Users/raghav/fairsoft/generators/lib
-- Looking for GEANT3...
-- Looking for GEANT3... - found /Users/raghav/fairsoft/transport/geant3/lib/libgeant321.so
-- Looking for GEANT4...
-- Looking for GEANT4... - found /Users/raghav/fairsoft/transport/geant4/lib
-- Looking for GEANT4VMC...
-- Looking for GEANT4VMC... - found /Users/raghav/fairsoft/transport/geant4_vmc/lib
-- Looking for VGM...
-- Looking for VGM... - found /Users/raghav/fairsoft/transport/vgm/lib
-- Looking for CLHEP...
-- Looking for CLHEP... - found /Users/raghav/fairsoft/cern/clhep/lib
-- Looking for Java...
-- Found Java: /usr/bin/java (found version "1.6.0.35")
-- Looking for Java... - found /usr/bin/java
-- Looking for Perl...
-- Looking for Perl... - found /usr/bin/perl
-- Looking for Rule Checker...
-- Looking for Rule Checker... - No Rules found
-- Looking for Rule Checker... - Not found
-- Looking for Oracle preprocessor...
CMAKE_SYSTEM_INCLUDE_PATH: /usr/include/w32api;/usr/X11R6/include;/usr/include/X11;/usr/pkg/include ;/opt/csw/include;/opt/include;/usr/openwin/include
CMAKE_INCLUDE_PATH:
IOMANIP: IOMANIP_INCLUDE_DIR-NOTFOUND
-- Looking for Oracle preprocessor ... - Not found
-- Please define ORACLE_HOME environment variable
-- if you have an Oracle installation
CMake Error at generators/CMakeLists.txt:53 (GENERATE_LIBRARY):
Unknown CMake command "GENERATE_LIBRARY".


-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1

2) I am also uploading the CMakeLists.txt file for my new library and i want to know if it is the correct format, because i only have header files which contain the classes and necessary methods and not .cxx files like all my other libraries have.

It is to do fastJet clustering algorithms. It is basically from the http://fastjet.fr/ and i am trying to implement it inside fairroot so that it will be easy for me to do analysis in one step.


Any help is hugely appreciated.
Thanks a lot.
Raghav
Re: make errors on the latest update [message #18375 is a reply to message #13974] Fri, 10 July 2015 21:10 Go to previous message
iodapro is currently offline  iodapro
Messages: 1
Registered: April 2015
Location: Ukraine
occasional visitor
From: 91.202.130*
Hi, everyone!
I've got some problems with installation CBMROOT. I dowloaded external packages of FairSoft(mar15) and installed FairRoot(https://github.com/FairRootGroup/FairRoot "Step by step installation").
So, in file ".bash.rc" are written the last 3 strings as you can see:
export SIMPATH=~/fair_install/FairSoftInst
export FAIRROOTPATH=~/fair_install/FairRootInst
source /home/borys/fair_install/FairRoot/build/config.sh
and FairRoot works fine.
But then I downloded release version(jun15) of CBMROOT from https://subversion.gsi.de/cbmsoft/cbmroot/release/JUN15/
using :
borys@borys-Aspire-V3-571G:~$ svn co https://subversion.gsi.de/cbmsoft/cbmroot/release/JUN15/ cbmroot
.......
A cbmroot/fles/spadic/message/wrap/cpp/demo/SConstruct
A cbmroot/fles/spadic/message/wrap/cpp/demo/demo.cpp
Checked out external at revision 763.

Checked out revision 8015.
borys@borys-Aspire-V3-571G:~$ cd cbmroot/
borys@borys-Aspire-V3-571G:~/cbmroot$ mkdir cbm_build
borys@borys-Aspire-V3-571G:~/cbmroot$ cd cbm_build/
borys@borys-Aspire-V3-571G:~/cbmroot/cbm_build$ cmake ..
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- NOT Found FAIRBASE
CMake Error at CMakeLists.txt:52 (include):
include could not find load file:

CheckCXX11Features


CMake Error at CMakeLists.txt:55 (include):
include could not find load file:

FairMacros


CMake Error at CMakeLists.txt:56 (include):
include could not find load file:

WriteConfigFile


CMake Error at CMakeLists.txt:58 (include):
include could not find load file:

CheckCompiler


CMake Error at CMakeLists.txt:62 (Check_Compiler):
Unknown CMake command "Check_Compiler".


-- Configuring incomplete, errors occurred!
See also "/home/borys/cbmroot/cbm_build/CMakeFiles/CMakeOutput.log".
I also tried to write in .bash.rc
export SIMPATH=/misc/cbmsoft/Lenny32/jun15
but problem didn't disappear.
What am I doing wrong?
Thanks for any help!
Smile
Previous Topic: Question about environmental varaibles[Solved]
Next Topic: Using zlib
Goto Forum:
  


Current Time: Mon Nov 04 12:09:45 CET 2024

Total time taken to generate the page: 0.00791 seconds