Rivet is hosted by Hepforge, IPPP Durham

Mac OS X installation issues


  • Note that DYLD_LIBRARY_PATH is used instead of LD_LIBRARY_PATH on Mac OS X!
  • Make sure your Mac OS X is completely up to date. Using OS X 10.9 Mavericks is highly recommended.
  • Avoid mixing tools such as compilers and the Python installation between system installations and versions from Fink, MacPorts, etc. You can either run a pure-system setup, in which case place /sw or /opt at the end of your path variables; or run pure MacPorts/HomeBrew/etc. and exclude the system packages. The pure-system way is probably easier. Mixing and matching is hard, and it's easy to end up inconsistent.
  • When building with Mavericks system tools, there is an inconsistency between the Apple builds of the clang compilers and Python. You need to work around this by setting C compiler flags before building:
    export CFLAGS=-Qunused-arguments
    export CPPFLAGS=-Qunused-arguments

  • Also, you may want to explicitly force use of the clang compilers, although the OS X system "gcc" is itself just a copy of clang these days:
    export CC=clang 
    export CXX=clang++
Last modified 3 years ago Last modified on Jun 10, 2014, 10:30:56 PM

Attachments (1)

Download all attachments as: .zip