[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#318682: libqt4-dev: missing dependency on libxinerama-dev



Package: libqt4-dev
Version: 4.0.0-1
Severity: important

I just attempted to walk through the tutorial in qt4-doc.

I copied their "Hello World" program and attempted to build it, and ran
into a missing Xinerama library:

$ vi test.cpp
$ qmake -project
$ qmake
$ make
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I. -I. -o test.o test.cpp
g++  -o qt test.o   -L/usr/lib -L/tmp/buildd/qt4-x11-4.0.0/lib -lQtGui_debug -L/usr/X11R6/lib -laudio -lXt -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXinerama -lfreetype -lXext -lX11 -lm -lQtCore_debug -lfontconfig -lz -ldl -lpthread
/usr/bin/ld: cannot find -lXinerama
collect2: ld returned 1 exit status
make: *** [qt] Error 1

Installing the libxinerama-dev package fixes the problem.

I think libqt4-dev (or something that it depends on) needs to depend on
libxinerama-dev.

-Ivan

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libqt4-dev depends on:
ii  libaudio-dev             1.7-2           The Network Audio System (NAS). (d
ii  libc6-dev                2.3.2.ds1-22    GNU C Library: Development Librari
ii  libfreetype6-dev         2.1.10-1        FreeType 2 font engine, developmen
ii  libjpeg62-dev            6b-10           Development files for the IJG JPEG
ii  libmng-dev               1.0.8-1         M-N-G library (Development headers
ii  libpng12-dev [libpng12-0 1.2.8rel-1      PNG library - development
ii  libqt4-core              4.0.0-1         Qt 4 core non-GUI functionality ru
ii  libxcursor-dev           1.1.3-1         X cursor management library (devel
ii  libxft-dev               2.1.7-1         FreeType-based font drawing librar
ii  libxrender-dev           1:0.9.0-2       X Rendering Extension client libra
ii  xlibmesa-gl-dev [libgl-d 6.8.2.dfsg.1-2  Mesa 3D graphics library developme
ii  xlibmesa-glu-dev [libglu 4.3.0.dfsg.1-14 Mesa OpenGL utility library develo
ii  xlibs-dev                6.8.2.dfsg.1-2  X Window System client library dev
ii  xlibs-pic                6.8.2.dfsg.1-2  X.Org static PIC libraries transit
ii  zlib1g-dev               1:1.2.2-9       compression library - development

Versions of packages libqt4-dev recommends:
ii  libqt4-gui                    4.0.0-1    Qt 4 core GUI functionality runtim
ii  qt4-dev-tools                 4.0.0-1    Qt 4 development tools

-- no debconf information



Reply to: