Fork me on GitHub

Opened 11 years ago

Closed 11 years ago

#243 closed Bug (fixed)

Make error on Mac OS x 10.9

Reported by: teddy Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

OS: Mac OS 10.9
arch: macos64
platform: macos
cc: clang
c++: clang++
f77: gfortran
ld: clang

Error:
">> Compiling external/fastjet/plugins/D0RunIICone/D0RunIIConePlugin.cc
In file included from external/fastjet/plugins/D0RunIICone/D0RunIIConePlugin.cc:30:
In file included from external/fastjet/ClusterSequence.hh:34:
/opt/local/libexec/llvm-3.4/bin/../lib/c++/v1/map:457:17: error: no matching

function for call to object of type 'const
fastjet::d0::ProtoJet_ET_seedET_order<fastjet::d0::HepEntity>'

{return static_cast<const _Compare&>(*this)(x.cc.first, y....



Attachments (1)

compilation.log (93.4 KB ) - added by Benjamin Fuks 11 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Pavel Demin, 11 years ago

A similar problem was reported in #237.

Fastjet before 3.0.6 had compilation issues under Mac OS 10.9.

Here is a preliminary version that includes fastjet 3.0.6:

http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.0.12.pre1.tar.gz

Could you, please check if this version works better?

comment:2 by Benjamin Fuks, 11 years ago

Hello Pavel,

I can reproduce the error (just updated my system to mac os 10.9). v3.0.12 fixes the problem above. But there are still other issues, at the time of the linking. I will attach my compilation log file so that you could have a look.

Best,

Benjamin

by Benjamin Fuks, 11 years ago

Attachment: compilation.log added

comment:3 by Pavel Demin, 11 years ago

Hi Benjamin,

Thanks for the log file.

A similar problem (Undefined symbols for architecture x86_64) was mentioned on the ROOT forum:

http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=17190&start=75

The solution was to point all the environment variables to the correct ROOT installation directory.

Could you, please check the following?

  • your ROOT installation was built for your current OS
  • correct ROOT installation is used when you build Delphes
  • following commands show the same correct location of your ROOT installation
       root-config --libs
       which root-config
       which root
    
  • the following command returns correct architecture (most probably macosx64)
       root-config --arch
    

Later in the same ROOT forum thread, it was also suggested to run xcode-select --install after re-installing xcode.

Cheers,

Pavel

comment:4 by Benjamin Fuks, 11 years ago

Hi Pavel,

Thanks this helps. Everything is now working perfectly.

Cheers,

Benj

comment:5 by Pavel Demin, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.