bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

present but cannot be compiled (Was: Bug in Xvlib.h stuff)


From: Akim Demaille
Subject: present but cannot be compiled (Was: Bug in Xvlib.h stuff)
Date: Thu, 18 Dec 2003 09:52:45 +0100
User-agent: Mutt/1.5.4i

Thanks for the bug report!

Contrary to the message reported by ./configure, this is not a bug in
Autoconf, but the result of an incompatible change in Autoconf that is
likely to require the package's configure.ac to be updated.  Please,
first make sure you are trying the most recent version of that
package, then, if you are, send all this message (including your
output attached) to the bug list (or the authors) of the package you
were trying to configure.

Autoconf 2.59 is released now: the package should be upgraded to use
it.
       ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.59.tar.gz


I've appended two relevant parts of the Autoconf documentation: 1. the
documentation of AC_CHECK_HEADER(S), and 2. how configure.ac should be
upgraded.

If you have some knowledge in C compilation, then there is something
more you can do to help: find out what are the prerequisite headers on
your system.

For instance, if the error message is:

       sys/socket.h: present but cannot be compiled
       sys/socket.h: check for missing prerequisite headers?
       sys/socket.h: proceeding with the preprocessor's result

then try to compile the program sample.c:

       #include <sys/socket.h>

with `cc -c sample.c'.  It will fail.  Then try to understand what
other headers are needed.  For instance, on Darwin, one needs:

       #include <stdio.h>
       #include <stdlib.h>
       #include <sys/socket.h>

to get a successful compilation.  Then, send this additional
information to the package maintainers, together with a description of
your machine.

Thanks!

PS/ Please, do not answer to this message, unless you can provide
additional information.

Attachment: present-doc.txt
Description: Text document

Attachment: mail
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]