This one time, at band camp, Alexis Sukrieh said: > * Steve Langasek ([EMAIL PROTECTED]) disait : > > > I'm a bit confused, because even if I add "libx11-6" in my > > > build-dependencies (which provides libX11.so.6) I still get the error. > > > > Er, you need the package that provides *libX11.so*, not libX11.so.6. You > > should be build-depending on libx11-dev, not on libx11-6: you should *never* > > need to build-depend on runtime lib packages. > > My package *did* build-depend on libx11-dev, and I got the FTBS even > with that build-dependcy. > > As I was puzzled, I tried to add libx11-6 in my build dependcy, in order > to try. But whatever I did, I get a FTBS in my pbuilder...
This patch fixes it here: Section: x11 Priority: optional Maintainer: Alexis Sukrieh <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.0.0), libjpeg62-dev, libexpat1-dev, libpng12-dev, dpatch, libxv-dev +Build-Depends: debhelper (>= 4.0.0), libjpeg62-dev, libexpat1-dev, libpng12-dev, dpatch, libxv-dev, libx11-dev, libxext-dev, x-dev, libxt-dev Standards-Version: 3.6.1 Package: electricsheep The addition of libx11-dev, libxext-dev and x-dev are because the package #includes headers from those packages. I only did a simplistic grep test, so it may be over generous in my dependency (for instance, if a chunk of source is not actually built or used, my test would miss that completely). The addition of libxt-dev is for the configure test for X (it looks for X11/Intrinsic.h from the libxt-dev package) and then fills in the autoconf macro X_LIBS=' -L/usr/X11R6/lib'. Without this bit, linking fails. With it, it succeeds. The fact that /usr/X11R6/lib is in /etc/ld.so.conf and the linker still doesn't look there is a bit mystifying (as I thought that's, er, exactly what that file is for) but that's a seperate problem. Take care, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature