Building eric4 under OSX 10.4

Python

  1. Download the latest python build for OSX (python-2.4 or later)
  2. Do your normal open/verify of the .dmg file
  3. Double-click the MacPython.mpkg and click, click, click, etc…
  4. Make sure you adjust your PATH to include the location of the MacPython binary

$ which python
/Library/Frameworks/Python.framework/Versions/Current/bin/python

Qt

  1. Download latest GPL source tarball
  2. Extract the tarball
  3. Configure and compile (Details)

$ tar -xvzf qt-mac-opensource-src-4.3.1.tar.gz
$ cd qt-mac-opensource-src-4.3.1
$ ./configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk
$ make
$ sudo make install

Set some enviroment variables

export PATH=/Developer/qt/bin:$PATH
export QTDIR=/Developer/qt
export QMAKESPEC=macx-g++

SIP

  1. Download latest GPL source tarball
  2. Extract the tarball
  3. Configure SIP for static libraries and compile

$ tar -xvzf sip-4.7.tar.gz
$ cd sip-4.7
$ python ./configure.py -n
$ make
$ sudo make install

QScintilla and Qt

  1. Download latest GPL source tarball
  2. Extract the tarball
  3. Configure QScintilla/Qt and compile

$ tar -xvzf QScintilla-1.73-gpl-2.1.tar.gz
$ cd QScintilla-1.73-gpl-2.1/Qt4/
$ qmake qscintilla.pro
$ make
$ sudo make install

OR

$ tar -xvzf QScintilla-gpl-2-snapshot-20070812.tar.gz
$ cd QScintilla-gpl-2-snapshot-20070812/Qt4
$ qmake qscintilla.pro
$ make
$ sudo make install

PyQt

  1. Download latest GPL source tarball
  2. Extract the tarball
  3. Configure PyQt for static libraries and compile

$ tar -xvzf PyQt-mac-gpl-4.3.tar.gz
$ cd PyQt-mac-gpl-4.3
$ python ./configure.py
$ make
$ sudo make install

OR

$ tar -xvzf PyQt-mac-gpl-4.3-snapshot-20070813.tar.gz
$ cd PyQt-mac-gpl-4.3-snapshot-20070813
$ python ./configure.py
$ make
$ sudo make install

QScintilla and Python

  1. Go back to QScintilla/Python
  2. Configure QScintilla/Python for static libraries and compile

$ cd QScintilla-1.73-gpl-2.1/Python
$ python ./configure.py
$ make
$ sudo make install

OR

$ cd QScintilla-gpl-2-snapshot-20070812/Python
$ python ./configure.py
$ make
$ sudo make install

Eric

  1. Download latest GPL source tarball
  2. Extract the tarball
  3. Install Eric

$ cd eric4-4.0.1
$ python ./install.py

Leave a Reply

You must be logged in to post a comment.