[PyKDE] Unable to build PyKDE-3.7-4 on rh9/kde-3.1.3

Mateusz Korniak mateusz at ant.gliwice.pl
Mon Aug 18 17:22:01 BST 2003


On Monday 18 of August 2003 17:10, Rex Dieter wrote:
> I'm trying to build PyKDE_3.7-4 on a rh9 box with qt-3.1.2 and kde-3.1.3,
> and the
> python build.py
> step fails with the error:
> Can't determine if PyQt uses libqt-mt
> (...)
> Qt thread support is enabled.
> ldd: /usr/include/kde/site-packages/libqtcmodule.so: No such file or

I bet this path to libqtcmodule.so is wrong. ;)
Read setup.py --help
and specify path by one of switches:
KDEDIR=%{_prefix}
python build.py \
        -q %{_prefix} \
        -k %{_prefix} \
        -i %{_includedir}/qt \
        -l qt-mt \
        -d $RPM_BUILD_ROOT%{py_sitedir} \
        -t %{py_libdir} \
        -s %{py_sitedir} \

I bet -s or -t  does the trick. 

BTW there's typo in setup.py messages:
******************************************************************************
Error: Please set the name of the KDE include directory, either by using the 
-t
argument or setting the KDEDIR environment variable -- from line 548 in
build.py
******************************************************************************
should not be '-k' there ?

-- 
Mateusz Korniak




More information about the PyQt mailing list