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"
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.
------------------- 1.1.0/configure .ac 1.1.0/configure .ac
--- imlib2-
+++ imlib2-
@@ -115,7 +115,7 @@
[Define this if we can use the "b" mode for fopen safely.])
fi
-AC_PATH_X X([X11] ,[X11/Xlib. h],[XrmInitiali ze()])
+AC_PATH_
-------------------
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"