extend configure error message to suggest package to install (epoll/xattr)

Mark Wielaard mark at klomp.org
Tue Sep 27 01:09:37 PDT 2011


Hi,

Currently configure tests for epoll and xattr support, but then gives a
very generic error message:

        configure: error: Could not find required system headers;
        install the appropriate files or use
        --disable-compile-against-syscalls if necessary.

This patch makes the error message a bit more verbose with hints to the
packages to install like with some of the other checks:

        configure: error: Could not find required system headers;
        install the appropriate files from glibc-headers, libc6-dev
        and/or libattr-devel, libattr1-dev or use
        --disable-compile-against-syscalls if necessary.

Patch OK for icedtea7?

2011-09-27  Mark Wielaard  <mark at klomp.org>

        * acinclude.m4: Add devel package suggestions for epoll/xattr 
        check failure.

Thanks,

Mark

P.S. I have also install libattr1-dev on the x86_64 buildslave so it
should start building again:
http://builder.classpath.org/icedtea/buildbot/builders/icedtea7-squeeze-x86_64-quick/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epoll-xattr.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110927/1d684475/epoll-xattr.patch 


More information about the distro-pkg-dev mailing list