severity 320900 important
thanks

On Mon, Aug 01, 2005 at 01:57:44PM -0700, Matt Kraai wrote:
> Package: kmatplot
> Version: 0.4-7
> Severity: serious
> Tags: patch

> kmatplot fails to build because it cannot find libXinerama:

> > /bin/sh ../../libtool --mode=link --tag=CXX g++  -O0 -g -Wall -O2 
> > -fno-exceptions -fno-check-new   -o demo2d  -L/usr/X11R6/lib  demo2d.o 
> > ../widgets/libplot.a -lqt-mt -lpng -lz -lm -ljpeg -lXext -lX11 -lresolv 
> > -lSM -lICE -lXmu  -lGL -lGLU -lX11 -lresolv 
> > mkdir .libs
> > g++ -O0 -g -Wall -O2 -fno-exceptions -fno-check-new -o demo2d demo2d.o  
> > -L/usr/X11R6/lib ../widgets/libplot.a /usr/lib/libqt-mt.so -lfontconfig 
> > -laudio -lXt /usr/lib/libXrender.so -lXrandr /usr/lib/libXcursor.so 
> > -lXinerama /usr/lib/libXft.so /usr/lib/libfreetype.so -lfontconfig -lX11 
> > -ldl -lpthread -lpng -lz -lm /usr/lib/libjpeg.so -lXext -lX11 -lresolv -lSM 
> > -lICE -lXmu -lGL -lGLU -lX11 -lresolv
> > /usr/bin/ld: cannot find -lXinerama
> > collect2: ld returned 1 exit status

> The attached patch adds libxinerama-dev to the build-dependencies,
> which fixes this problem.

But it does so incorrectly.  Nothing in kmatplot uses libXinerama directly,
so kmatplot shouldn't build-depend on a library that's being pulled in via
libqt3-mt-dev.  The dependencies of libqt3-mt-dev need to be fixed up as a
result of the xorg transition; after that, kmatplot should build fine.

It would be advisable for kmatplot to update to the Debian libtool 1.5,
using the guidelines at
<http://people.debian.org/~keybuk/libtool-updating.html>, so that kmatplot
doesn't unnecessarily suffer from such build failures in the future; but the
transition from libtool 1.4 to libtool 1.5 may not be straightforward, and
this is not strictly required.

Thanks,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to