User Tools

Site Tools


compile_macos

Compilig with MacOS

This is actually in testing

  • Install Python 2.7.6
  • Install QT 5.2.1
  • Install Command line tools for Xcode
  • Open Terminal, shange to directory of your choice e.g. your home directory /Users/<username>
  • Set QTDIR environment variable
    vi ~/.bashrc
    export QTDIR=/users/<username>/Qt5.2.1/5.2.1/clang_64/
    source ~/.bash_profile
  • Set Xcode path: sudo xcode-select -switch /
  • Make working directory
    mkdir wpdev
    cd wpdev
  • Get current Sourcecode:
    svn checkout svn://...
  • Configure
    cd trunk/server/build
    ./configure.py

First Blocker: configure2.py calls qmake:

  • /usr/bin/xcrun -find xcrun does not terminate
  • First Test for Resolution: Install complete Xcode 5.1

Second BLocker:

  • Linking error: clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python'
  • Perhaps this is a conflict between different Python versions?

To be continued…

compile_macos.txt · Last modified: 2016/12/20 15:44 by thooge