|
|
|
|
|
|
|
|
|
Re: cmake error in pandaroot installation [message #7518 is a reply to message #7396] |
Tue, 11 November 2008 10:07 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) ![Go to next message Go to next message](/theme/gsi/images/down.png) |
Sverre Dørheim
Messages: 23 Registered: October 2008 Location: Munich
|
occasional visitor |
From: *natpool.mwn.de
|
|
I also get part of the error message. The part that it doesnt find the Rule Checker. I tried the fix posted by you and it had no effect. I have the external packages installed(july08 version). CMake is installed from the package system of ubuntu.
Panda-version is the trunk-version downloaded with subversion.
Note: I have in spite of the error also tried to compile pandaroot, which results in compile errors. I will post them after the cmake output.
Here comes the cmake output:
sverre@sverre-laptop:~/pandaroot/buildPanda$ cmake ../trunk
--- Found a Linux ssytem
--- Found GNU compiler collection
--- Build Type: Debug
--- Compiler Flags: -g
-- Looking for Root...
-- Looking for Root... - found /home/sverre/fairsoft/tools/root/bin/root
-- Looking for Root... - version 5.20/00
-- Looking for Pluto...
-- Looking for Pluto... - found /home/sverre/fairsoft/generators/lib
-- Looking for Pythia6...
-- Looking for Pythia6... - found /home/sverre/fairsoft/generators/lib
-- Looking for GEANT3...
-- Looking for GEANT3... - found /home/sverre/fairsoft/transport/geant3/lib/tgt_linuxx8664gcc/libgeant321 .so
-- Looking for GEANT4...
-- Looking for GEANT4... - found /home/sverre/fairsoft/transport/geant4/lib/Linux-g++
-- Looking for GEANT4VMC...
-- Looking for GEANT4VMC... - found /home/sverre/fairsoft/transport/geant4_vmc/lib/tgt_linuxx8664gcc
-- Looking for VGM...
-- Looking for VGM... - found /home/sverre/fairsoft/transport/vgm/lib
-- Looking for CLHEP...
-- Looking for CLHEP... - found /home/sverre/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...
HIER
-- Looking for Rule Checker... - Not found
running /bin/chmod u+x /home/sverre/pandaroot/buildPanda/macro/run/run_sim.sh 2>&1
running /bin/chmod u+x /home/sverre/pandaroot/buildPanda/macro/run/run_sim1.sh 2>&1
-- Configuring done
CMake Warning (dev) at pgenerators/DpmEvtGen/CMakeLists.txt:44 (add_executable):
Policy CMP0003 should be set before this line. Add code such as
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "DpmEvtGen_exe" links to some libraries for which the linker
must search:
EG
and other libraries with known full path:
/home/sverre/pandaroot/buildPanda/lib/libDpmEvtGen.so.0.0.0
CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /home/sverre/pandaroot/buildPanda
Make output:
Before this, only some warnings
Linking CXX shared library ../lib/libRho.so
[ 96%] Built target Rho
[ 97%] Generating EventDisplayDict.cxx, EventDisplayDict.h
Error: cannot open file "TEveEventManager.h" /home/sverre/pandaroot/trunk/eventdisplay/FairEventManager.h:11:
Error: class,struct,union or type TEveEventManager not defined /home/sverre/pandaroot/trunk/eventdisplay/FairEventManager.h:17:
Error: Symbol TGListTreeItem is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairEventManager.h:52:
Error: Symbol fEvent is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairEventManager.h:52:
Error: cannot open file "TEveTrackPropagator.h" /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:20:
Error: Symbol TParticle is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:53:
Error: Symbol P is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:53:
Error: Symbol TEveTrackPropagator is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:59:
Error: Symbol fTrPr is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:59:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing /home/sverre/pandaroot/buildPanda/eventdisplay/EventDisplayDict.cxx /home/sverre/pandaroot/buildPanda/eventdisplay/EventDisplayDict.h !!!
Error: /home/sverre/fairsoft/tools/root/bin/rootcint: error loading headers...
make[2]: *** [eventdisplay/EventDisplayDict.cxx] Error 1
make[1]: *** [eventdisplay/CMakeFiles/EventDisplay.dir/all] Error 2
make: *** [all] Error 2
Thanks
Sverre
[Updated on: Tue, 11 November 2008 11:14] Report message to a moderator
|
|
|
|
|
|
Re: cmake error in pandaroot installation [message #7523 is a reply to message #7521] |
Tue, 11 November 2008 16:40 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) ![Go to next message Go to next message](/theme/gsi/images/down.png) |
Sverre Dørheim
Messages: 23 Registered: October 2008 Location: Munich
|
occasional visitor |
From: *natpool.mwn.de
|
|
I did this with a clean build directory. Ran cmake and make again. With the same errors.
Hope you have some more things I can try out.
summary of my current packages and changed things
cmake version 2.6-patch 2(updated from patch 2)
gcc version 4.3.2(the same)
pandaroot/trunk/pgenerators/DpmEvtGen/CMakeLists.txt:
cmake_policy(SET CMP0003 NEW) changed from old
The updating of cmake didnt make any difference.
Since its searching for TEveEventManager.h, a root-file. My it not finding it be caused by a faulty root installation during the installation of the external packages?
Thanks
Sverre
[Updated on: Fri, 14 November 2008 10:28] Report message to a moderator
|
|
|
|
|
|
|
|
Re: cmake error in pandaroot installation [message #7538 is a reply to message #7537] |
Fri, 14 November 2008 11:46 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) |
Mohammad Al-Turany
Messages: 518 Registered: April 2004 Location: GSI, Germany
|
first-grade participant |
From: *gsi.de
|
|
Hi,
The external packages installation call the root configuration with some setting, one of these is the flag to compile Eve, but if root find out that your system does not have GL or GLU libraries it will skip this! and configure without it!
so if you look in $ROOTSYS/config/Makfile.config in this file there should be something like:
BUILDGL := yes
OPENGLLIBDIR := -L/usr/X11R6/lib
OPENGLULIB := -lGLU
OPENGLLIB := - dylib_file /usr/X11R6/lib/libGL.dylib:/usr/X11R6/lib/libGL.dylib
OPENGLINCDIR := $(filter-out /usr/include, /usr/X11/include)
(in your case it look different so insted of dylib)
if in the first line no insted of yes or there is no paths to GL and GLU then you know that your GL installation is not ok or not seen by root!
regards
Mohammad
|
|
|