2012年11月8日 星期四

Installing eric5 IDE on Ubuntu 10.04



Note it is very important to install everything in the right order. From the Eric5 installation Readme you have install in this order:
  1. Install Python 3.1.0
  2. Build + install SIP
  3. Build + install PyQt 4.7.0 or better
  4. Build + install QScintilla 2.4.0 or better
  5. Build + install QScintilla 2.4.0 or better Python bindings.
  6. Eric5
Step-1: Install Python 3.1 and lib

apt-get install 
libqt4-dev python-qt4 python-qt4-dev pyqt4-dev-tools qt4-dev-tools python3-all 

Step-2: SIP installation
      a. python2.6 configure.py
      b. make
      c. make install

Step-3PyQt installation
      a. python2.6 configure.py
      b. make
      c. make install

Step-4QScintilla installation
      a. Edit qscintilla.pro => find DEFINES = QSCINTILLA_MAKE_DLL QT SCI_LEXER       
                                   =>QT3_SUPPORT  (add)      when you find message "ListBoxQt.cpp:250: error: 'class QPixmap' has no member named  
          'convertFromImage' "
      b. cd Qt4Qt5
      c. qmake qscintilla.pro
      d. make
      e. make install

Step-5 QScintilla Python installation

      a. cd python
      b. python configure.py  
      c. make
      d. make install

Step-6: Eric IDE installation
      a. python3.1 install.py
      b. make
      c. make install










 Ubuntu has a mechanism, that is, the installed network card (NIC) will be renamed to another name when the system is booted. Although there...