Building eric4 under OSX 10.4
Python
- Download the latest python build for OSX (python-2.4 or later)
- Do your normal open/verify of the .dmg file
- Double-click the MacPython.mpkg and click, click, click, etc…
- 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
$ 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
- Download latest GPL source tarball
- Extract the tarball
- 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
- Download latest GPL source tarball
- Extract the tarball
- 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
- Download latest GPL source tarball
- Extract the tarball
- 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
- Go back to QScintilla/Python
- 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
- Download latest GPL source tarball
- Extract the tarball
- Install Eric
$ cd eric4-4.0.1
$ python ./install.py