Comment 6 for bug 7317

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 7 Aug 2004 10:45:40 +0200
From: Andreas Metzler <email address hidden>
To: Kurt Roeckx <email address hidden>, <email address hidden>
Subject: Re: imlib2: FTBFS: Missing build dependency on libxt-dev.

On 2004-08-06 Kurt Roeckx <email address hidden> wrote:
> Package: imlib2
> Version: 1.1.0-12.2
> Severity: serious

> The package FTBFS with:
> checking for XOpenDisplay in -lX11... no
> configure: error: ERROR: libX11 not found.

> From the config.log:
> configure:20665: checking for X
> configure:20771: cc -E conftest.c
> conftest.c:26:27: X11/Intrinsic.h: No such file or directory

> X11/Intrinsic.h is provided by the libxt-dev package.

The better fix is to change the configure script to not use libXt to
check for existence of X but another X library that is used anyway,
e.g. libX11.

-------------------
--- imlib2-1.1.0/configure.ac
+++ imlib2-1.1.0/configure.ac
@@ -115,7 +115,7 @@
            [Define this if we can use the "b" mode for fopen safely.])
 fi

-AC_PATH_X
+AC_PATH_X([X11],[X11/Xlib.h],[XrmInitialize()])
-------------------
                 cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"