469,575 Members | 1,377 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

eric3, pyqt, qscintilla - guru needed.

reh
Have installed on Redhat 9.0 in the following order;

Qscintilla
sip
PyQt

When I install eric3 (python install.py), I get this error;
Sorry, please install QScintilla and/or reinstall
PyQt with QScintilla support.

It seems the errors occurs in the install.py file at:
from qtext import QextScintilla

From qtext.py, I have typed in at the python prompt;
import libsip # ok here
from qt import QWidet # ok here
from qt import QObject # ok here
from qt import QPrinter # ok here
import libqtextc # error here Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: libqscintilla.so.2: cannot open shared object file: No such
file or directory


Been through all readme files, tried just about everything.
Anyone have an idea what's wrong.

--
robert
redhat 9.0

Jul 18 '05 #1
4 2547
reh
reh wrote:
Have installed on Redhat 9.0 in the following order;

Qscintilla
sip
PyQt

When I install eric3 (python install.py), I get this error;
Sorry, please install QScintilla and/or reinstall
PyQt with QScintilla support.

It seems the errors occurs in the install.py file at:
from qtext import QextScintilla

From qtext.py, I have typed in at the python prompt;
>>> import libsip # ok here
>>> from qt import QWidet # ok here
>>> from qt import QObject # ok here
>>> from qt import QPrinter # ok here
>>> import libqtextc # error here Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: libqscintilla.so.2: cannot open shared object file: No such
file or directory >>>


Been through all readme files, tried just about everything.
Anyone have an idea what's wrong.

Forgot to say that the libqscintilla.so.2 is in;
/usr/lib/qt-3.1/lib
and the same path is in my /etc/ld.so.conf
--
robert
redhat 9.0

Jul 18 '05 #2
It sounds like qscintilla was either not detected during the compile process
of PyQt or the library is not available. My guess would be that the .so
files did not get copied into the correct place. Check $QTDIR/lib for
libqscintilla.so.2. If it's not there, go back into the directory in which
you unpacked qscintilla and copy all the .so files into $QTDIR/lib.

If $QTDIR isn't set, look for the lib directory in the folllowing places:
/usr/lib/qt/lib
/usr/local/lib/qt/lib
/usr/qt/lib

Also, make sure that the qt versions match up when you are looking. If in
doubt, check all qt/lib directories you find.
Finally, if all that looks good, start the PyQt compile process again and
make sure it detects and enables qscintilla support.

Greg Fortune
Fortune Solutions

reh wrote:
Have installed on Redhat 9.0 in the following order;

Qscintilla
sip
PyQt

When I install eric3 (python install.py), I get this error;
Sorry, please install QScintilla and/or reinstall
PyQt with QScintilla support.

It seems the errors occurs in the install.py file at:
from qtext import QextScintilla

From qtext.py, I have typed in at the python prompt;
>>> import libsip # ok here
>>> from qt import QWidet # ok here
>>> from qt import QObject # ok here
>>> from qt import QPrinter # ok here
>>> import libqtextc # error here Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: libqscintilla.so.2: cannot open shared object file: No such
file or directory >>>


Been through all readme files, tried just about everything.
Anyone have an idea what's wrong.


Jul 18 '05 #3
reh wrote:
reh wrote:
Have installed on Redhat 9.0 in the following order;

Qscintilla
sip
PyQt

When I install eric3 (python install.py), I get this error;
Sorry, please install QScintilla and/or reinstall
PyQt with QScintilla support.

It seems the errors occurs in the install.py file at:
from qtext import QextScintilla

From qtext.py, I have typed in at the python prompt;
>>> import libsip # ok here
>>> from qt import QWidet # ok here
>>> from qt import QObject # ok here
>>> from qt import QPrinter # ok here
>>> import libqtextc # error here

Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: libqscintilla.so.2: cannot open shared object file: No
such
file or directory
>>>


Been through all readme files, tried just about everything.
Anyone have an idea what's wrong.

Forgot to say that the libqscintilla.so.2 is in;
/usr/lib/qt-3.1/lib
and the same path is in my /etc/ld.so.conf


Did you do a "ldconfig" after the installation of qscintilla?

Detlev
--
Detlev Offenbach
de****@die-offenbachs.de
Jul 18 '05 #4
reh
Detlev Offenbach wrote:
reh wrote:
reh wrote:
Have installed on Redhat 9.0 in the following order;

Qscintilla
sip
PyQt

When I install eric3 (python install.py), I get this error;
Sorry, please install QScintilla and/or reinstall
PyQt with QScintilla support.

It seems the errors occurs in the install.py file at:
from qtext import QextScintilla

From qtext.py, I have typed in at the python prompt;
>>> import libsip # ok here
>>> from qt import QWidet # ok here
>>> from qt import QObject # ok here
>>> from qt import QPrinter # ok here
>>> import libqtextc # error here
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: libqscintilla.so.2: cannot open shared object file: No
such
file or directory
>>>

Been through all readme files, tried just about everything.
Anyone have an idea what's wrong.

Forgot to say that the libqscintilla.so.2 is in;
/usr/lib/qt-3.1/lib
and the same path is in my /etc/ld.so.conf


Did you do a "ldconfig" after the installation of qscintilla?

Detlev


That did it. Thanks!!!

On first observation eric looks really nice, well done.

Can't wait to dig in.

thanks;
--
robert
redhat 9.0

Jul 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Geoffrey Clements | last post: by
reply views Thread by Surya Kiran | last post: by
35 posts views Thread by Vamsi Mudrageda | last post: by
4 posts views Thread by Reiner Block | last post: by
22 posts views Thread by dataangel | last post: by
9 posts views Thread by Bats | last post: by
1 post views Thread by Kevin Walzer | last post: by
17 posts views Thread by eholbroo | last post: by
7 posts views Thread by Franz Steinhäusler | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.