Ticket #4286 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Get Mantid to build on Mac OS X 10.7 (Lion)

Reported by: Stuart Campbell Owned by: Stuart Campbell
Priority: major Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Reuter

Description

A ticket for general fixes in order to get Mantid building on Lion.

Change History

comment:1 Changed 9 years ago by Stuart Campbell

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Stuart Campbell

Added patch file for pyport.h. refs #4286

There is a problem with python that effects BSD based unix systems. This is a patch for pyport.h to get around the problem.

Changeset: 70d4ccb57da603cdc3d8153f5bfafddd0ea6df4b

comment:3 Changed 9 years ago by Stuart Campbell

Changed some unsigned to signed data types. refs #4286

In order to compile on Lion needed to change some size_t to various int types.

Changeset: 89045106cf69c9746d2b4586f97e17baab50e788

comment:4 Changed 9 years ago by Stuart Campbell

Silly change to make lion compilation happy. refs #4286

Silly little change to make the compiler not complain about a syntax error / signature mismatch.

Changeset: c7c08a0b12b2734f7142a98cf06db91629aa6dc1

comment:5 Changed 9 years ago by Stuart Campbell

Change ifdef to be APPLE refs #4286

Changed from an INTEL to a APPLE ifdef

Changeset: 10c670a034042bcc7a5a691ef445c8f51fb09b0f

comment:6 Changed 9 years ago by Stuart Campbell

Added check for gcc version and remote flag for old gcc. refs #4286

Now get the GCC version. Only add flag "-Wno-unused-result" for newer gcc versions.

Changeset: 677202d898ff487a2d00d44b20505c723ee2112a

comment:7 Changed 9 years ago by Stuart Campbell

Get around the lack of a dl module. refs #4286

Changeset: cceb0c5f4e1f48f6448dbb5c84910160873d1c56

comment:8 Changed 9 years ago by Stuart Campbell

compiler warnings/errors. refs #3868 & #4286

Changeset: a0640fc9d54be49e46c4e4f83fce429ca89b92ee

comment:9 Changed 9 years ago by Stuart Campbell

Get around the lack of a dl module. refs #4286

Changeset: cceb0c5f4e1f48f6448dbb5c84910160873d1c56

comment:10 Changed 9 years ago by Stuart Campbell

compiler warnings/errors. refs #3868 & #4286

Changeset: a0640fc9d54be49e46c4e4f83fce429ca89b92ee

comment:11 Changed 9 years ago by Stuart Campbell

Added env var for ParaView plugins. refs #4286

Changeset: b58a7c7158c9612e72bdb4c94b6fe10b18eea601

comment:12 Changed 9 years ago by Stuart Campbell

Added patch for qglobal.h to support lion. refs #4286

Changeset: d9d5afac5d2fe7318fa61db14357060688d4257f

comment:13 Changed 9 years ago by Stuart Campbell

Fix for picking up version number. refs #4286

I was a bit lazy on my regex for getting the version number. So on Mac it would pick up the trailing LLVM version for the gcc version. Now I am cutting the version string short so this doesn't happen….hopefully.

Changeset: 47aeb949d37a0d07f4061f497022c1ef8ec4fe57

comment:14 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:15 Changed 8 years ago by Stuart Campbell

  • Status changed from accepted to verify
  • Resolution set to fixed

It builds ok on Lion now, as long as you patch the /usr/include/python2.7/pyport.h file as outlined in the wiki.

comment:16 Changed 8 years ago by Michael Reuter

  • Status changed from verify to verifying
  • Tester set to Michael Reuter

comment:17 Changed 8 years ago by Michael Reuter

  • Status changed from verifying to closed

I have been happily developing and building on the Mac with Lion for at least two months now. Therefore, I think this works just fine.

comment:18 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5133

Note: See TracTickets for help on using tickets.