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 previous 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
 
Read Message
Read Message
Previous Topic: Question about environmental varaibles[Solved]
Next Topic: Using zlib
Goto Forum:
  


Current Time: Wed Dec 04 21:57:06 CET 2024

Total time taken to generate the page: 0.00689 seconds