[Rivet] Can't succeed build Rivet-1.7.0 on intel Mac lion 10.7.3

童 纯立 piggy1983 at gmail.com
Thu Mar 22 11:35:50 GMT 2012


tty2099 at T-Workstation:Rivet-1.8.0$ make -j5
Making all in src
Making all in Core
  CXX    libRivetCore_la-Event.lo
  CXX    libRivetCore_la-Jet.lo
  CXX    libRivetCore_la-Particle.lo
  CXX    libRivetCore_la-ParticleName.lo
  CXX    libRivetCore_la-ProjectionApplier.lo
  CXX    libRivetCore_la-Projection.lo
  CXX    libRivetCore_la-Analysis.lo
  CXX    libRivetCore_la-AnalysisLoader.lo
  CXX    libRivetCore_la-AnalysisInfo.lo
  CXX    libRivetCore_la-AnalysisHandler.lo
  CXX    libRivetCore_la-Run.lo
  CXX    libRivetCore_la-ProjectionHandler.lo
  CXX    libRivetCore_la-HistoHandler.lo
  CXXLD  libRivetCore.la
Making all in Projections
  CXX    Beam.lo
  CXX    BeamThrust.lo
  CXX    ChargedLeptons.lo
  CXX    CentralEtHCM.lo
  CXX    ChargedFinalState.lo
  CXX    ClusteredPhotons.lo
  CXX    DISFinalState.lo
  CXX    DISKinematics.lo
  CXX    DISLepton.lo
  CXX    FastJets.lo
  CXX    FinalState.lo
  CXX    FoxWolframMoments.lo
  CXX    FParameter.lo
  CXX    HadronicFinalState.lo
  CXX    NonHadronicFinalState.lo
  CXX    Hemispheres.lo
  CXX    IdentifiedFinalState.lo
  CXX    InitialQuarks.lo
  CXX    InvMassFinalState.lo
  CXX    JetAlg.lo
  CXX    JetShape.lo
  CXX    LeadingParticlesFinalState.lo
  CXX    LeptonClusters.lo
  CXX    MergedFinalState.lo
  CXX    MissingMomentum.lo
  CXX    Multiplicity.lo
  CXX    NeutralFinalState.lo
  CXX    ParisiTensor.lo
  CXX    PVertex.lo
  CXX    Sphericity.lo
  CXX    Spherocity.lo
  CXX    SVertex.lo
  CXX    Thrust.lo
  CXX    TotalVisibleMomentum.lo
  CXX    TriggerCDFRun0Run1.lo
  CXX    TriggerCDFRun2.lo
  CXX    TriggerUA5.lo
  CXX    UnstableFinalState.lo
  CXX    VetoedFinalState.lo
  CXX    VisibleFinalState.lo
  CXX    WFinder.lo
  CXX    ZFinder.lo
  CXXLD  libRivetProjections.la
Making all in Tools
Making all in yaml-cpp
  CXX    aliascontent.lo
  CXX    emitterstate.lo
  CXX    map.lo
  CXX    parser.lo
  CXX    scanscalar.lo
  CXX    sequence.lo
  CXX    stream.lo
  CXX    parserstate.lo
  CXX    scalar.lo
  CXX    emitterutils.lo
  CXX    iterator.lo
  CXX    node.lo
  CXX    scantag.lo
  CXX    conversion.lo
  CXX    null.lo
  CXX    regex.lo
  CXX    scanner.lo
  CXX    simplekey.lo
  CXX    tag.lo
  CXX    emitter.lo
  CXX    exp.lo
  CXX    ostream.lo
  CXX    scantoken.lo
  CXXLD  libyaml-cpp.la
warning: no debug symbols in executable (-arch x86_64)
  CXX    libRivetTools_la-RivetPaths.lo
  CXX    libRivetTools_la-RivetAIDA.lo
  CXX    libRivetTools_la-Logging.lo
  CC     libRivetTools_la-binreloc.lo
  CXX    libRivetTools_la-Utils.lo
  CXX    libRivetTools_la-ParticleIdUtils.lo
  CXX    libRivetTools_la-tinyxml.lo
  CXX    libRivetTools_la-tinyxmlerror.lo
  CXX    libRivetTools_la-tinyxmlparser.lo
  CXX    libRivetTools_la-BinnedHistogram.lo
  CXX    libRivetTools_la-mt2_bisect.lo
  CXX    libRivetTools_la-RivetMT2.lo
  CXXLD  libRivetTools.la
Making all in Analyses
  CXX    ALICE_2010_S8625980.lo
  CXX    ALICE_2011_S8909580.lo
  CXX    ALICE_2011_S8945144.lo
  CXX    ALICE_2010_S8706239.lo
  CXX    ALICE_2010_S8624100.lo
  CXX    ATLAS_2010_S8591806.lo
  CXX    ATLAS_2010_S8817804.lo
  CXX    ATLAS_2010_S8894728.lo
  CXX    ATLAS_2010_S8918562.lo
  CXX    ATLAS_2010_S8914702.lo
  CXX    ATLAS_2010_S8919674.lo
  CXX    ATLAS_2011_S8924791.lo
  CXX    ATLAS_2011_S8971293.lo
  CXX    ATLAS_2011_S8994773.lo
  CXX    ATLAS_2011_S8983313.lo
  CXX    ATLAS_2011_S9002537.lo
  CXX    ATLAS_2011_S9120807.lo
  CXX    ATLAS_2011_S9126244.lo
  CXX    ATLAS_2011_S9128077.lo
  CXX    ATLAS_2011_S9131140.lo
  CXX    ATLAS_2011_S9212183.lo
  CXX    ATLAS_2011_I919017.lo
  CXX    ATLAS_2011_I925932.lo
  CXX    ATLAS_2011_I926145.lo
  CXX    ATLAS_2011_I944826.lo
  CXX    ATLAS_2012_I1084540.lo
  CXX    CMS_2010_S8547297.lo
  CXX    CMS_2010_S8656010.lo
  CXX    CMS_2011_S8884919.lo
  CXX    CMS_2011_S8941262.lo
  CXX    CMS_2011_S8950903.lo
  CXX    CMS_2011_S8957746.lo
  CXX    CMS_2011_S8968497.lo
  CXX    CMS_2011_S8973270.lo
  CXX    CMS_2011_S8978280.lo
  CXX    CMS_2011_S9086218.lo
  CXX    CMS_2011_S9088458.lo
  CXX    CMS_2011_S9120041.lo
  CXX    CMS_2011_S9215166.lo
  CXX    CMS_QCD_10_024.lo
  CXXLD  RivetLHCbAnalyses.la
  CXX    CDF_1988_S1865951.lo
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
warning: no debug symbols in executable (-arch x86_64)
  CXX    CDF_1990_S2089246.lo
  CXX    CDF_1994_S2952106.lo
  CXX    CDF_1996_S3418421.lo
  CXX    CDF_1998_S3618439.lo
  CXX    CDF_2000_S4155203.lo
  CXX    CDF_2000_S4266730.lo
  CXX    CDF_2001_S4517016.lo
  CXX    CDF_2001_S4563131.lo
  CXX    CDF_2001_S4751469.lo
  CXX    CDF_2002_S4796047.lo
  CXX    CDF_2004_S5839831.lo
  CXX    CDF_2005_S6080774.lo
  CXX    CDF_2005_S6217184.lo
  CXX    CDF_2006_S6450792.lo
  CXX    CDF_2006_S6653332.lo
  CXX    CDF_2007_S7057202.lo
  CXX    CDF_2008_S7540469.lo
  CXX    CDF_2008_S7828950.lo
  CXX    CDF_2008_S8093652.lo
  CXX    CDF_2008_S8095620.lo
  CXX    CDF_2009_S8233977.lo
  CXX    CDF_2009_S8383952.lo
  CXX    CDF_2009_S8436959.lo
  CXX    CDF_2010_S8591881_DY.lo
  CXX    CDF_2010_S8591881_QCD.lo
  CXX    CDF_2009_NOTE_9936.lo
  CXX    CDF_2008_LEADINGJETS.lo
  CXX    CDF_2008_NOTE_9351.lo
  CXX    D0_2000_S4480767.lo
  CXX    D0_2001_S4674421.lo
  CXX    D0_2004_S5992206.lo
  CXX    D0_2006_S6438750.lo
  CXX    D0_2007_S7075677.lo
  CXX    D0_2008_S6879055.lo
  CXX    D0_2008_S7554427.lo
  CXX    D0_2008_S7662670.lo
  CXX    D0_2008_S7719523.lo
  CXX    D0_2008_S7837160.lo
  CXX    D0_2008_S7863608.lo
  CXX    D0_2009_S8202443.lo
  CXX    D0_2009_S8320160.lo
  CXX    D0_2009_S8349509.lo
  CXX    D0_2010_S8566488.lo
  CXX    D0_2010_S8570965.lo
  CXX    D0_2010_S8671338.lo
  CXX    D0_2010_S8821313.lo
  CXX    H1_1994_S2919893.lo
  CXX    H1_2000_S4129130.lo
  CXX    JADE_1998_S3612880.lo
  CXX    TASSO_1990_S2148048.lo
  CXX    ALEPH_1991_S2435284.lo
  CXX    ALEPH_1996_S3486095.lo
  CXX    ALEPH_1996_S3196992.lo
  CXX    ALEPH_1999_S4193598.lo
  CXX    ALEPH_2004_S5765862.lo
  CXX    DELPHI_1995_S3137023.lo
  CXX    DELPHI_1996_S3430090.lo
  CXX    OPAL_1998_S3780481.lo
  CXX    OPAL_2001_S4553896.lo
  CXX    OPAL_2004_S6132243.lo
  CXX    DELPHI_2002_069_CONF_603.lo
  CXX    STAR_2006_S6500200.lo
  CXX    STAR_2006_S6860818.lo
  CXX    STAR_2006_S6870392.lo
  CXX    STAR_2009_UE_HELEN.lo
  CXX    UA1_1990_S2044935.lo
  CXX    UA5_1982_S875503.lo
  CXX    UA5_1986_S1583476.lo
  CXX    UA5_1987_S1640666.lo
  CXX    UA5_1988_S1867512.lo
  CXX    UA5_1989_S1926373.lo
  CXX    PDG_HADRON_MULTIPLICITIES.lo
  CXX    PDG_HADRON_MULTIPLICITIES_RATIOS.lo
  CXX    JADE_OPAL_2000_S4300807.lo
  CXX    BELLE_2006_S6265367.lo
  CXX    EXAMPLE.lo
  CXX    MC_DIPHOTON.lo
  CXX    MC_GENERIC.lo
  CXX    MC_HJETS.lo
  CXX    MC_IDENTIFIED.lo
  CXX    MC_JETS.lo
  CXX    MC_LEADJETUE.lo
  CXX    MC_PDFS.lo
  CXX    MC_PHOTONJETS.lo
  CXX    MC_SUSY.lo
  CXX    MC_TTBAR.lo
  CXX    MC_VH2BB.lo
  CXX    MC_WJETS.lo
  CXX    MC_WPOL.lo
  CXX    MC_WWJETS.lo
  CXX    MC_XS.lo
  CXX    MC_ZJETS.lo
  CXX    MC_ZZJETS.lo
  CXX    MC_JetAnalysis.lo
  CXXLD  RivetALICEAnalyses.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
warning: no debug symbols in executable (-arch x86_64)
  CXXLD  RivetATLASAnalyses.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
warning: no debug symbols in executable (-arch x86_64)
  CXXLD  RivetCMSAnalyses.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
warning: no debug symbols in executable (-arch x86_64)
  CXXLD  RivetCDFAnalyses.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
  CXXLD  RivetD0Analyses.la
warning: no debug symbols in executable (-arch x86_64)
  CXXLD  RivetHERAAnalyses.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
  CXXLD  RivetPetraAnalyses.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
warning: no debug symbols in executable (-arch x86_64)
  CXXLD  RivetLEPAnalyses.la
warning: no debug symbols in executable (-arch x86_64)
  CXXLD  RivetRHICAnalyses.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
warning: no debug symbols in executable (-arch x86_64)
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
  CXXLD  RivetSPSAnalyses.la
warning: no debug symbols in executable (-arch x86_64)
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
  CXXLD  RivetMiscAnalyses.la
warning: no debug symbols in executable (-arch x86_64)
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
warning: no debug symbols in executable (-arch x86_64)
  CXXLD  RivetMCAnalyses.la
warning: no debug symbols in executable (-arch x86_64)
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
warning: no debug symbols in executable (-arch x86_64)
  CXXLD  libRivetAnalysisTools.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
Making all in .
  CCLD   libRivet.la
libtool: link: warning: library `/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la' was moved.
Making all in pyext
Making all in rivet
/usr/local/bin/swig -c++ -python -I../../include -o rivetwrap_wrap.cc rivetwrap.i
/usr/local/bin/swig -c++ -python -I../../include -o rivetwrap_wrap.cc rivetwrap.i
Making all in .
/Library/Frameworks/Python.framework/Versions/2.7/bin/python setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-2.7
copying lighthisto.py -> build/lib.macosx-10.6-intel-2.7
copying spiresbib.py -> build/lib.macosx-10.6-intel-2.7
creating build/lib.macosx-10.6-intel-2.7/rivet
copying rivet/__init__.py -> build/lib.macosx-10.6-intel-2.7/rivet
copying rivet/rivetwrap.py -> build/lib.macosx-10.6-intel-2.7/rivet
running build_ext
building '_rivetwrap' extension
creating build/temp.macosx-10.6-intel-2.7
creating build/temp.macosx-10.6-intel-2.7/rivet
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -DSWIG_TYPE_TABLE=hepmccompat -I/Users/tty2099/Workspace/TEST/Rivet-1.8.0/include -I/Users/tty2099/Workspace/TEST/Rivet-1.8.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/Cellar/gsl/1.15/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./rivet/rivetwrap_wrap.cc -o build/temp.macosx-10.6-intel-2.7/./rivet/rivetwrap_wrap.o -O2
c++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7/./rivet/rivetwrap_wrap.o -L/Users/tty2099/Workspace/TEST/Rivet-1.8.0/src/.libs -L/usr/local/lib -L/usr/local/lib -lHepMC -lRivet -o build/lib.macosx-10.6-intel-2.7/rivet/_rivetwrap.so
ld: warning: ignoring file /usr/local/lib/libHepMC.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /Users/tty2099/Workspace/TEST/Rivet-1.8.0/src/.libs/libRivet.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Making all in data
Making all in refdata
make[2]: Nothing to be done for `all'.
Making all in anainfo
make[2]: Nothing to be done for `all'.
Making all in plotinfo
make[2]: Nothing to be done for `all'.
Making all in texmf
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in include
Making all in Rivet
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in bin
  CXX    rivet_nopy-rivet-nopy.o
  CXXLD  rivet-nopy
Making all in doc
LD_LIBRARY_PATH=../src/.libs:../src/Tools/yaml-cpp/.libs:/usr/local/lib:/usr/local/lib::/usr/local/lib \
DYLD_LIBRARY_PATH=../src/.libs:../src/Tools/yaml-cpp/.libs:/usr/local/lib:/usr/local/lib::/usr/local/lib \
RIVET_INFO_PATH=../data/anainfo \
PYTHONPATH=../pyext: \
/Library/Frameworks/Python.framework/Versions/2.7/bin/python mk-analysis-html analyses.html
LD_LIBRARY_PATH=../src/.libs:/usr/local/lib:/usr/local/lib: \
DYLD_LIBRARY_PATH=../src/.libs:/usr/local/lib:/usr/local/lib: \
RIVET_INFO_PATH=../data/anainfo \
/Library/Frameworks/Python.framework/Versions/2.7/bin/python mk-analysis-latex
LD_LIBRARY_PATH=../src/.libs:/usr/local/lib:/usr/local/lib: \
DYLD_LIBRARY_PATH=../src/.libs:/usr/local/lib:/usr/local/lib: \
RIVET_INFO_PATH=../data/anainfo \
/Library/Frameworks/Python.framework/Versions/2.7/bin/python mk-analysis-latex
Traceback (most recent call last):
  File "mk-analysis-latex", line 43, in <module>
    import rivet
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/__init__.py", line 16, in <module>
    from rivetwrap import *
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/rivetwrap.py", line 26, in <module>
    _rivetwrap = swig_import_helper()
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/rivetwrap.py", line 22, in swig_import_helper
    _mod = imp.load_module('_rivetwrap', fp, pathname, description)
ImportError: dlopen(/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/_rivetwrap.so, 10): Library not loaded: /usr/local/lib/libyaml-cpp.0.dylib
  Referenced from: /Users/tty2099/Workspace/TEST/Rivet-1.8.0/src/.libs/libRivet.11.dylib
  Reason: image not found
Traceback (most recent call last):
  File "mk-analysis-latex", line 43, in <module>
    import rivet
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/__init__.py", line 16, in <module>
    from rivetwrap import *
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/rivetwrap.py", line 26, in <module>
    _rivetwrap = swig_import_helper()
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/rivetwrap.py", line 22, in swig_import_helper
    _mod = imp.load_module('_rivetwrap', fp, pathname, description)
ImportError: dlopen(/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/_rivetwrap.so, 10): Library not loaded: /usr/local/lib/libyaml-cpp.0.dylib
  Referenced from: /Users/tty2099/Workspace/TEST/Rivet-1.8.0/src/.libs/libRivet.11.dylib
  Reason: image not found
make[1]: *** [analyses.bib] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [analyses.tex] Error 1
Traceback (most recent call last):
  File "mk-analysis-html", line 43, in <module>
    import rivet
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/__init__.py", line 16, in <module>
    from rivetwrap import *
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/rivetwrap.py", line 26, in <module>
    _rivetwrap = swig_import_helper()
  File "/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/rivetwrap.py", line 22, in swig_import_helper
    _mod = imp.load_module('_rivetwrap', fp, pathname, description)
ImportError: dlopen(/Users/tty2099/Workspace/TEST/Rivet-1.8.0/pyext/build/lib.macosx-10.6-intel-2.7/rivet/_rivetwrap.so, 10): Symbol not found: __gfortran_st_write
  Referenced from: /usr/local/lib/libfastjetplugins.0.dylib
  Expected in: flat namespace
 in /usr/local/lib/libfastjetplugins.0.dylib
make[1]: *** [analyses.html] Error 1
make: *** [all-recursive] Error 1


在 Mar 22, 2012,7:15 PM, Hendrik Hoeth 写道:

> Thus spake Andy Buckley (andy.buckley at ed.ac.uk):
> 
>> I'm afraid that I can't work out from this what could be wrong...
> 
> Looks like yaml. I think it's fixed in r973 of our yaml-cpp, date
> 2012-02-03. So Rivet 1.8.0 should work.
> 
> -- 
> Man is the best computer we can put aboard a spacecraft, and
> the only one that can be mass produced with unskilled labor.
>                                        -- Wernher von Braun



More information about the Rivet mailing list