[PyKDE] eric3 and x86_64

Hans-Peter Jansen hpj at urpla.net
Mon Jun 28 10:06:01 BST 2004


On Sunday 27 June 2004 23:17, Rick L Vinyard Jr wrote:
>
> Actually, I haven't filed a bug report yet. After getting further
> segfaults in eric, I don't think I've identified the real problem,
> and switching to qt from qt-mt wasn't a real solution (but it did
> get the main eric interface running... unusable, but running).
>
> Once again, I'm not sure where to proceed from here, but I'll try
> the following:
> 	(1) Back out sip ebuild changes and rebuild with qt-mt
> 	(2) Rebuild PyQt
> 	(3) Try Phil's ed.py again

I found something interesting in the SuSE qscintilla.spec.

They're using this patch:

--- qt/qscintilla.pro
+++ qt/qscintilla.pro   2003/01/30 23:13:06:06
@@ -25,7 +25,7 @@
  
 TEMPLATE = lib
 TARGET = qscintilla
-DESTDIR = $(QTDIR)/lib
+DESTDIR = $(QTDIR_LIB)
 CONFIG += qt warn_off release dll thread
 INCLUDEPATH = . ../include ../src
 DEFINES = QEXTSCINTILLA_MAKE_DLL QT SCI_LEXER

and build with this sequence:

rm -rf $RPM_BUILD_ROOT
export QTDIR=/usr/lib/qt3/
export QTDIR_LIB=$RPM_BUILD_ROOT/$QTDIR/%_lib
export PATH=$QTDIR/bin/:$PATH
cd qt
qmake -o Makefile qscintilla.pro
make

%_lib expands to lib64 on such systems, thus the final on disk layout
should look like:

/usr/lib/qt3/lib64/libqscintilla.so -> libqscintilla.so.4.0.0
/usr/lib/qt3/lib64/libqscintilla.so.4 -> libqscintilla.so.4.0.0
/usr/lib/qt3/lib64/libqscintilla.so.4.0 -> libqscintilla.so.4.0.0
/usr/lib/qt3/lib64/libqscintilla.so.4.0.0

Note, that it is very easy to damage the build on x86_64 systems, since
they often provide some compatibility libs in corresponding lib dirs..

Pete




More information about the PyQt mailing list