[PyKDE] How to install QScintilla 1.4

Phil Thompson phil at riverbankcomputing.co.uk
Sat Dec 25 00:59:17 GMT 2004


On Friday 24 December 2004 8:18 pm, Parzival Herzog wrote:
> On December 24, 2004 04:01, Phil Thompson wrote:
> > On Friday 24 December 2004 7:40 am, Parzival Herzog wrote:
> > > I am trying to install eric3.5.1, it complains:
> > >
> > > "Sorry, you must have QScintilla 1.4 or snapshot-20041001 or higher."
>
> <<snip>>
>
> > > So I download and try to build PyQt (3.13), and its configure.py also
> > > states
> > >
> > > "SIP 4.0.1 is being used.
> > > QScintilla 1.3 is being used."
> >
> > Your 1.4 installation doesn't seem to be overwriting your 1.3
> > installation. Where is 1.3 installed? Where have you installed 1.4? You
> > can explicitly tell PyQt's configure.py where QScintilla is installed -
> > use the -h flag to see.
>
> Its installed in my $QTDIR
> [parz at lobsang qt3]$ echo $QTDIR
> /usr/lib/qt3/
> [parz at lobsang parz]$ cd $QTDIR
> [parz at lobsang qt3]$ ls
> bin/  include/  mkspecs/      plugins/  templates/
> doc/  lib/      phrasebooks/  src/      translations
> [parz at lobsang qt3]$ ls -lr lib
> total 16172
> <<snip>>
> -rwxr-xr-x    1 root     root      1224564 Dec 24 01:19
> libqscintilla.so.5.0.0*
> lrwxrwxrwx    1 root     root           22 Dec 24 01:19
> libqscintilla.so.5.0 ->              libqscintilla.so.5.0.0*
> lrwxrwxrwx    1 root     root           22 Dec 24 01:19 libqscintilla.so.5
> -> libqscintilla.so.5.0.0*
> -rwxr-xr-x    1 root     root      1205039 Dec 24 00:21
> libqscintilla.so.4.0.0*
> lrwxrwxrwx    1 root     root           22 Dec 24 00:21
> libqscintilla.so.4.0 ->              libqscintilla.so.4.0.0*
> lrwxrwxrwx    1 root     root           22 Dec 24 00:21 libqscintilla.so.4
> -> libqscintilla.so.4.0.0*
> lrwxrwxrwx    1 root     root           22 Dec 24 01:19 libqscintilla.so ->
> libqscintilla.so.5.0.0*
> <<snip>>
> [parz at lobsang qt3]$
>
> The last line shows the link libqscintilla.so pointing to
> libqscintilla.so.5.0.0, which definitely is the result of the
> qscintilla-1.61-gpl-1.4 build, with libqscintilla.so.4.0.0 being the
> previous (1.60-gpl-1.3) installation.
>
> I'm sorry, I'm a linux boob, I'm not a C/C++ programmer: I have no idea if
> another QScintilla library is hiding elsewhere in the system, masking this
> installation, I'm sort of wishing for a "which libqscintilla.so" command.
> Since its a python script that is finding this lib, would it be some
> extension module installed with Python?

configure.py is reading qextscintillaglobal.h to get the QScintilla version 
number. Your library setup looks Ok.

Phil




More information about the PyQt mailing list