GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » problems with compiling pandaroot under mac
problems with compiling pandaroot under mac [message #11812] Thu, 19 May 2011 13:31 Go to next message
Malgorzata Gumberidze is currently offline  Malgorzata Gumberidze
Messages: 98
Registered: June 2005
continuous participant
From: 134.158.79*
hi

Today i wanted to install may11 external packages in my mac,
and this was working without any problem. and i took latest version
of the pandaroot (revision 11935) and try to compile it, and i got
problems as you can see below. And i have set correctly SIMPATH ...

my operating system is:

Mac OS X: version 10.6.6

do you have maybe some ideas what i could do not correct ?


Gosia-Gumberidzes-MacBook-Pro:buildPanda gosia$ cmake ../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag --
Checking whether C compiler supports OSX deployment target flag - yes --
Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag --
Checking whether CXX compiler supports OSX deployment target flag - yes --
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
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/local/bin/gfortran
-- Check for working Fortran compiler: /usr/local/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/bin/gfortran supports Fortran 90
-- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes
CMAKE_Fortran_COMPILER full path: /usr/local/bin/gfortran
Fortran compiler: gfortran
--- Found a Mac OS X System 10.6
--- Found GNU compiler collection
--- Build Type: Debug
--- Compiler Flags: -m64
-- Looking for Root...
-- Looking for Root... - found
/Users/gosia/work/PANDA/pandaroot/may11/tools/root/bin/root
-- Looking for Root... - version 5.29/02
-- Looking for Pluto...
-- Looking for Pluto... - found
/Users/gosia/work/PANDA/pandaroot/may11/generators/lib
-- Looking for Pythia6...
-- Looking for Pythia6... - found
/Users/gosia/work/PANDA/pandaroot/may11/generators/lib
-- Looking for GEANT3...
-- Looking for GEANT3... - found
/Users/gosia/work/PANDA/pandaroot/may11/transport/geant3/lib/libgeant321.dylib
-- Looking for GEANT4...
-- Looking for GEANT4... - found
/Users/gosia/work/PANDA/pandaroot/may11/transport/geant4/lib
-- Looking for GEANT4VMC...
-- Looking for GEANT4VMC... - found
/Users/gosia/work/PANDA/pandaroot/may11/transport/geant4_vmc/lib
-- Looking for VGM...
-- Looking for VGM... - found
/Users/gosia/work/PANDA/pandaroot/may11/transport/vgm/lib
-- Looking for CLHEP...
-- Looking for CLHEP... - found
/Users/gosia/work/PANDA/pandaroot/may11/cern/clhep/lib
-- Looking for CERNLIB...
-- Looking for Java...
-- Java version 1.6.0.22 configured successfully!
-- Found Java: /usr/bin/java
-- Looking for Java... - found /usr/bin/java
-- Looking for Perl...
-- Found Perl: /opt/local/bin/perl
-- Looking for Perl... - found /opt/local/bin/perl
-- Looking for Rule Checker...
-- Looking for Rule Checker... - Not found
-- Found Subversion: /usr/bin/svn
-- FairRoot Revision - 11935 Branch - trunk
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/mdt/QAmacro_mdt_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/mdt/QAmacro_mdt_2.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/emc/QAmacro_emc_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/emc/QAmacro_emc_2.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/emc/QAmacro_emc_3.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/emc/QAmacro_emc_4.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/lhetrack/run_sim_tpccombi_pgun.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/lhetrack/run_digi_tpccombi.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/lhetrack/run_reco_tpccombi.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/tpc/QAmacro_tpc_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/drc/QAmacro_drc_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/ftof/QAmacro_ftof_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/gem/QAmacro_gem_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/gem/QAmacro_gem_2.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/hyp/QAmacro_hyp_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/mvd/QAmacro_mvd_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/mvd/QAmacro_mvd_2.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/mvd/QAmacro_mvd_ana.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/rho/QAmacro_rho_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/stt/QAmacro_stt_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/stt/QAmacro_stt_4.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/fsim/QAmacro_fastsim_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/fsim/QAmacro_fastsim_2.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/evtgen/QAmacro_evtgen_1.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/evtgen/QAmacro_evtgen_2.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/evtgen/QAmacro_evtgen_3.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/qa/evtgen/QAmacro_evtgen_4.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/run/sim_complete_stt.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/run/digi_complete_stt.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/run/reco_complete_stt.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/run/sim_complete_tpc.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/run/digi_complete_tpc.sh
 2>&1
running /bin/chmod u+x
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda/macro/run/reco_complete_tpc.sh
 2>&1
Found TEve, so the eventdisplay will be compiled.
-- Looking for Root...
-- Looking for Root... - found
/Users/gosia/work/PANDA/pandaroot/may11/tools/root/bin/root
-- Looking for Root... - version 5.29/02
-- <MVA_INFO> Your ROOT version can handle TMVA multiClass.
-- Configuring done
-- Generating done
-- Build files have been written to:
/Users/gosia/work/PANDA/pandaroot/may11/trunk/buildPanda
Gosia-Gumberidzes-MacBook-Pro:buildPanda gosia$ make
[  0%] Generating FairToolsDict.cxx, FairToolsDict.h
Scanning dependencies of target FairTools
[  0%] Building CXX object
fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o
[  0%] Building CXX object
fairtools/CMakeFiles/FairTools.dir/FairToolsDict.cxx.o
Linking CXX shared library ../lib/libFairTools.so
ld: in /usr/lib/libncurses.5.dylib, missing required architecture x86_64
in file
collect2: ld returned 1 exit status
make[2]: *** [lib/libFairTools.0.0.0.so] Error 1
make[1]: *** [fairtools/CMakeFiles/FairTools.dir/all] Error 2
make: *** [all] Error 2


gosia
Re: problems with compiling pandaroot under mac [message #11814 is a reply to message #11812] Thu, 19 May 2011 13:54 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Gosia,

i had some time ago the same problem. Due to some unknown reason it looks like there is an old version of the ncurses library in /usr/lib which doesn't support 64bit systems. I renamed the file and created a symbolic link and everything works again.

Quote:

-rwxr-xr-x 1 root wheel 907744 11 Jun 2010 /usr/lib/libncurses.5.4.dylib
lrwxr-xr-x 1 root wheel 20 31 Jan 14:43 /usr/lib/libncurses.5.dylib -> libncurses.5.4.dylib
-rw-r--r-- 1 root wheel 617392 30 Jan 2006 /usr/lib/libncurses.5.dylib.orig
lrwxr-xr-x 1 root wheel 20 27 Okt 2009 /usr/lib/libncurses.dylib -> libncurses.5.4.dylib


I don't know why this problem pops up suddenly.

Ciao

Florian
Re: problems with compiling pandaroot under mac [message #11816 is a reply to message #11814] Thu, 19 May 2011 14:03 Go to previous messageGo to next message
Malgorzata Gumberidze is currently offline  Malgorzata Gumberidze
Messages: 98
Registered: June 2005
continuous participant
From: *in2p3.fr

thanks you very much Florian, now it is working
Re: problems with compiling pandaroot under mac [message #11819 is a reply to message #11812] Thu, 19 May 2011 14:23 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Great!

Had this issue with may11 here, too. Thanks for the hint.

Ralf
Previous Topic: fix in pndSttMvdTracking
Next Topic: May11 with ubuntu 11.04
Goto Forum:
  


Current Time: Thu Mar 28 09:49:49 CET 2024

Total time taken to generate the page: 0.00861 seconds