Difference between revisions of "Eric4"

From RedwoodCenter
Jump to navigationJump to search
 
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Eric 4 ==
+
== Qt 4 ==
  
=== Qt 4 ===
+
<!-- get qt4-mac sources here: ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-src-4.3.1.tar.gz and compile/install:
 
 
get qt4-mac here: ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-src-4.3.1.tar.gz
 
  
 
   tar xvzf qt-mac-opensource-src-4.3.1.tar.gz
 
   tar xvzf qt-mac-opensource-src-4.3.1.tar.gz
 
   cd qt-mac-opensource-src-4.3.1
 
   cd qt-mac-opensource-src-4.3.1
   ./configure -prefix /usr/local/qt-4.3.1 -universal -no-sql-mysql -no-qdbus
+
   ./configure -prefix /usr/local/qt-4.3.1 -universal
 
   make
 
   make
 +
  sudo make install
 +
-->
 +
get the qt4-mac binary here ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-4.3.1.dmg and install by double-clicking.
 +
<!--
 +
if you want to create universal binaries by default, edit the file
 +
 +
  /usr/local/Qt4.3/mkspecs/common/mac-g++.conf
 +
 +
and add the following line:
 +
 +
  # on mac intel
 +
  QMAKE_CFLAGS_X86        += -arch ppc
 +
 +
  # on mac ppc
 +
  QMAKE_CFLAGS_PPC        += -arch i386
 +
-->
  
=== QScintilla 2 ===
+
== QScintilla 2 ==
  
 
get QScintilla 2 here: http://www.riverbankcomputing.com/Downloads/QScintilla2/QScintilla-1.73-gpl-2.1.tar.gz  
 
get QScintilla 2 here: http://www.riverbankcomputing.com/Downloads/QScintilla2/QScintilla-1.73-gpl-2.1.tar.gz  
Line 16: Line 30:
 
   tar xvzf QScintilla-1.73-gpl-2.1.tar.gz
 
   tar xvzf QScintilla-1.73-gpl-2.1.tar.gz
 
   cd QScintilla-1.73-gpl-2.1/Qt4
 
   cd QScintilla-1.73-gpl-2.1/Qt4
   /usr/local/qt-4.3.1/bin/qmake qscintilla.pro
+
   qmake -spec macx-g++ qscintilla.pro
   sudo make
+
 
 +
now you have a Makefile, but you have to replace the following line
 +
 
 +
  LFLAGS        = -headerpad_max_install_names ... libqscintilla2.3.dylib
 +
 
 +
by
 +
 
 +
  LFLAGS        = -headerpad_max_install_names ... /Library/Frameworks/libqscintilla2.3.dylib
 +
 
 +
also, in the line beginning with
 +
 
 +
  install_header: first FORCE ...
 +
 
 +
you have to replace the three occurrences of /usr/include by /usr/cpp_include
 +
 
 +
now you can build/install:
 +
 
 +
   make
 
   sudo make install
 
   sudo make install
  
don't delete the source directory yet. you will need it to install th python bindings for QScintilla (see below).
+
== sip ==
  
=== sip ===
+
get sip here: http://www.riverbankcomputing.com/Downloads/sip4/sip-4.7.1.tar.gz
  
get sip here: http://www.riverbankcomputing.com/Downloads/sip4/sip-4.7.tar.gz
+
   tar xvzf sip-4.7.1.tar.gz
 
+
   cd sip-4.7.1
   tar xvzf sip-4.7.tar.gz
 
   cd sip-4.7
 
 
   python configure.py -n
 
   python configure.py -n
 
   make
 
   make
 
   sudo make install
 
   sudo make install
  
=== PyQt 4 ===
+
== PyQt 4 ==
  
get PyQt 4 here: http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/PyQt-mac-gpl-4.3.tar.gz
+
get PyQt 4 here: http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/PyQt-mac-gpl-4.3.1.tar.gz
  
   tar xvzf PyQt-mac-gpl-4.3.tar.gz
+
   tar xvzf PyQt-mac-gpl-4.3.1.tar.gz
   cd PyQt-mac-gpl-4.3.tar.gz
+
   cd PyQt-mac-gpl-4.3.1.tar.gz
  setenv QTDIR /usr/local/qt-4.3.1
+
   python configure.py -a
   python configure.py -a -q /usr/local/qt-4.3.1/bin/qmake
 
 
   make
 
   make
 
   sudo make install
 
   sudo make install
  
=== QScintilla 2 python bindings ===
+
== QScintilla 2 python bindings ==
  
 
you hav to cd into the Python subdirectory of the QScintilla 2 source directory (see above):
 
you hav to cd into the Python subdirectory of the QScintilla 2 source directory (see above):
Line 51: Line 79:
 
now you can build the python bindings:
 
now you can build the python bindings:
  
    
+
   python configure.py -n /usr/cpp_include
 +
  make
 +
  sudo make install
 +
 
 +
== Eric 4 ==
  
=== Eric 4 ===
+
get eric 4 here: http://dl.sourceforge.net/sourceforge/eric-ide/eric4-4.0.2.tar.gz
  
get eric 4 here: http://downloads.sourceforge.net/eric-ide/eric4-4.0.1.tar.gz
 
  
   tar xvzf eric4-4.0.1.tar.gz
+
   tar xvzf eric4-4.0.2.tar.gz
   cd eric4-4.0.1
+
   cd eric4-4.0.2
 
   sudo su
 
   sudo su
 
   export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Qt-mac-free-3.3.8/lib
 
   export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Qt-mac-free-3.3.8/lib

Latest revision as of 21:58, 30 September 2007

Qt 4

get the qt4-mac binary here ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-4.3.1.dmg and install by double-clicking.

QScintilla 2

get QScintilla 2 here: http://www.riverbankcomputing.com/Downloads/QScintilla2/QScintilla-1.73-gpl-2.1.tar.gz

 tar xvzf QScintilla-1.73-gpl-2.1.tar.gz
 cd QScintilla-1.73-gpl-2.1/Qt4
 qmake -spec macx-g++ qscintilla.pro

now you have a Makefile, but you have to replace the following line

 LFLAGS        = -headerpad_max_install_names ... libqscintilla2.3.dylib

by

 LFLAGS        = -headerpad_max_install_names ... /Library/Frameworks/libqscintilla2.3.dylib
 

also, in the line beginning with

 install_header: first FORCE ...

you have to replace the three occurrences of /usr/include by /usr/cpp_include

now you can build/install:

 make
 sudo make install

sip

get sip here: http://www.riverbankcomputing.com/Downloads/sip4/sip-4.7.1.tar.gz

 tar xvzf sip-4.7.1.tar.gz
 cd sip-4.7.1
 python configure.py -n
 make
 sudo make install

PyQt 4

get PyQt 4 here: http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/PyQt-mac-gpl-4.3.1.tar.gz

 tar xvzf PyQt-mac-gpl-4.3.1.tar.gz
 cd PyQt-mac-gpl-4.3.1.tar.gz
 python configure.py -a
 make
 sudo make install

QScintilla 2 python bindings

you hav to cd into the Python subdirectory of the QScintilla 2 source directory (see above):

 cd QScintilla-1.73-gpl-2.1/Python

now you can build the python bindings:

 python configure.py -n /usr/cpp_include
 make
 sudo make install

Eric 4

get eric 4 here: http://dl.sourceforge.net/sourceforge/eric-ide/eric4-4.0.2.tar.gz


 tar xvzf eric4-4.0.2.tar.gz
 cd eric4-4.0.2
 sudo su
 export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Qt-mac-free-3.3.8/lib
 python install.py

start eric:

 eric4