[PyKDE] putting eric 3.6 on a knoppix (debian) cd (qscintilla compilation problem)

Detlev Offenbach detlev at die-offenbachs.de
Wed Jan 26 18:44:09 GMT 2005


Am Mittwoch, 26. Januar 2005 18:50 schrieb Torsten Marek:
> kim gerdes schrieb:
> | hi there,
> |
> | i tried to get a knoppix going with eric3 (to teach basic python
> | programming in a non equipped room)
> |
> | i manage to install an eric 3.5.0 with apt-get but i just can't compile
> | the latest versions (or use qscintilla) !
> |
> | here's what i tried (without really knowing what i'm doing  - i'm
> | learning to use debian at the same time...):
> |
> | 1.installing these deb packages:
> | 	lots of libqt3-xxx
> | 	Qt3 Designer (3.3.3)
> | 	libqscintilla4 (1.3-1)  in fact i don't know if this is right, because
> | there is no « qscintilla » package. libqscintilla4 = qscintilla ???
> |
> | 	the problem might be that this version (1.3) : it says on the eric3
> | webpage that i need QScintilla 1.0 or higher. in the install.py script
> | for eric3.6 however, it needs QScintilla 1.4 or higher. that might screw
> | up things...
> |
> | sip4 (4.1.1-1), python-sip4-qt3 (4.1.1-1) and  python-sip4-dev
> | python-qtext, python2.3-qtext (3.13-4)
> | strangely enough, i can't install the python-pyqt (2.5-4) package because
> | it needs a python < 2.2
> |
> | so when i try to install eric3 now, it tells me :
> | Sorry, you must have QScintilla 1.4 or snapshot-20041001 or higher.
> |
> | as i couldn't find a qscintilla >=1.4 debian package, i wanted to compile
> | myself:
> |
> | 2. compiling qscintilla directly (as in qscintilla's readme)
> |
> | (i tried the snapshot and 1.61 => same result:)
> |
> | qmake qscintilla.pro => no problem (no comment)
> | make ==> i get loads of errors, starting like this:
> |
> | g++ -c -pipe -D_REENTRANT -O2 -w -fPIC -DQEXTSCINTILLA_MAKE_DLL -DQT
> | -DSCI_LEXER -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED
> | -I/usr/local/qt/mkspecs/default -I. -I/usr/local/qt/include/QtGui
> | -I/usr/local/qt/include/QtCore -I/usr/local/qt/include -I. -I../include
> | -I../src -I. -o qextscintilla.o qextscintilla.cpp
> | In file included from qextscintilla.cpp:28:
> | qextscintilla.h:29:25: qguardedptr.h: No such file or directory
> | In file included from qextscintilla.h:32,
> |                  from qextscintilla.cpp:28:
> | qextscintillabase.h:2032: error: type specifier omitted for parameter
> | `WFlags'
> |
> | and in fact, there is no file qguardedptr.h here, there is one of this
> | name in /usr/include/qt3/ and another one in /usr/local/qt/include/Qt
> | these may be remainings from my different installation attempts :-(
> | maybe i have to move the qscintilla folder somewhere before making???
> |
> | 3.compiling qt
>
> Forget compiling the stuff, just get all the debs and take the 3.6 package
> from http://diotavelli.net/files/deb/binary
> It's half-official, i.e. it gets into main the minute I am DD (which can
> take several weeks to months).
> And there is no python-pyqt package you need to install, only python-qt3.
> As far as I remember, eric has some classes to provide backwards
> compatibility with old qscintilla versions, at least I am using eric 3.6 w/
> qscintilla 1.3. And I did not notice any problem yet.
> Detlef? Might there be a problem?

Not necessarily. There were some problems reported probably caused by 
mismatching versions of QScintilla and PyQt. Most of them (if not all) had 
newer QScintilla with an older (incompatible) version of PyQt. The other way 
around will probably work without problems.

> Ricardo, what about new qscintilla packages?
>
>
> greetings
>
> Torsten

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list