Monday, June 4, 2007

Eric IDE on Unfriendly System

At morning I've read on linux.org.ru of new version of Eric IDE. After looking at screenshots I was very interested in this IDE.

So I decided to install it on my work PC.
Unfortunately it's running Windows XP, and I can't change it. And those OS doesn't have normal package manager.

To install Eric I needed Qt, Python, PyQt, QScintilla.

I had opensource Qt (installed with MinGW) and Active Python installed on my PC.
So I downloaded PyQt, QScintilla and Eric.
I installed binary package of PyQt and started to build QScintilla with MinGW. The build was successful, but python bindings didn't installed because of some error with SIP. So I tried to build SIP separately. It wasn't build because of some unknown linking errors with Python libraries.
I searched trough the internet, but was unable to find solution.
So I decided to reinstall everything.

First of all, I downloaded Python from python.org and installed it (it was what really helped).
Then I reinstalled Qt.
Then I downloaded source package of PyQt, unpacked it and run

python configure.py

make

make install

The build completed with no errors.
Next I downloaded QScintilla source and unpacked it. Then I went to Qt4 subdirectory, and run

qmake qscintilla.pro

make

make install

After that I went to Python subfolder of QScintilla source, and ran

python configure.py

make

make install

When the build was completed I had all needed to run Eric4.
(Also SIP is included into PyQt, so one don't need to build it separately).
Then I unpacked Eric and run
python install.py
eric4.bat

It started after all!

Eric is really great, but I've met the problem on second run - it haven't started because of some error in debugger configuration. So I had to turn remote debugging and passive debugging on through eric-configure.bat. After it the IDE started normally.

No comments:

Post a Comment