[Top][All Lists]

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

Re: OSX 10.3.9 make check failed

From: Noah Misch
Subject: Re: OSX 10.3.9 make check failed
Date: Sat, 1 Apr 2006 06:00:45 -0800
User-agent: Mutt/1.5.6i

[Quoting generously on account of the age of this thread.]

On Mon, Jun 27, 2005 at 03:29:22PM +0200, Stepan Kasal wrote:
> Dear sir,
> On Fri, Jun 24, 2005 at 02:10:56PM -0700, jnt7 wrote:
> > I tried installing the latyest autoconf on OSX 10.3.9 but fiualed during 
> > the 
> > "make check". Any help you can provide will be very helpful.
> > 
> > Please find attached the log file.
> the log file shows that the problem is caused by the call
> AC_CHECK_HEADERS([sys/socket.h])
> which is called from AC_FUNC_SELECT_ARGTYPES.
> The error message from configure is:
> configure: WARNING: sys/socket.h: accepted by the compiler, rejected by the 
> preprocessor!
> configure: WARNING: sys/socket.h: proceeding with the compiler's result
> The problem is that if you run /usr/bin/cpp on the following one line file:
> #include <socket.h>
> you get an error message.
> The other test runs gcc on a bigger file, which first includes the standard
> headers (see _AC_INCLUDES_DEFAULT_REQUIREMENTS in lib/autoconf/headers.m4).
> This is not a real problem, because the preprocessor test will be eventually
> removed, while the compiler one will remain.
> The question is how to explain to Autotest that this warning is expected
> and should be ignored.  I don't know how to code this, I hope someone else
> will step in.

Looking at the log, it appears that the user had CPP=/usr/bin/cpp in his
environment.  Autoconf normally chooses `$CC -E' on this platform, and $CC -E
parses sys/socket.h successfully.  We can probably leave things as they are.

reply via email to

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