Package: python-qt4
Version: 4.0.1-2
Severity: important

python-qt4 fails to detect that it can build the QtAssistant module
during the configure.py fase.

The problem is that the compilation of the detection program doesn't
link with -lQtCore -lQtNet which causes it to fail.

This can be seen by adding the -w parameter to the configure.py
commandline.

g++ -DQT_NO_DEBUG -I. -I/usr/mkspecs/linux-g++ -I/usr/include/qt4
-I/usr/include/qt4/QtAssistant -I/usr/X11R6/include -pipe -O2 -w
-D_REENTRANT cfgtest_QtAssistant.cpp -o cfgtest_QtAssistant -L/usr/lib
-L/usr/X11R6/lib -lQtAssistantClient -lXext -lX11 -lm -lpthread

With the 2 extra -l options it compiles fine:

g++ -DQT_NO_DEBUG -I. -I/usr/mkspecs/linux-g++ -I/usr/include/qt4
-I/usr/include/qt4/QtAssistant -I/usr/X11R6/include -pipe -O2 -w
-D_REENTRANT cfgtest_QtAssistant.cpp -o cfgtest_QtAssistant -L/usr/lib
-L/usr/X11R6/lib -lQtAssistantClient -lXext -lX11 -lm -lpthread -lQtCore
 -lQtNet

It is not clear to me how to adapt the build that it does this right.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python-qt4 depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-13  GCC support library
ii  libqt4-core                  4.1.4-1.1   Qt 4 core non-GUI functionality ru
ii  libqt4-gui                   4.1.4-1.1   Qt 4 core GUI functionality runtim
ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library v3
ii  python                       2.4.3-11    An interactive high-level object-o
ii  python-central               0.5.5       register and build utility for Pyt
ii  python-elementtree           1.2.6-9     Light-weight toolkit for XML proce
ii  python-sip4                  4.4.5-2     Python/C++ bindings generator runt

python-qt4 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to