From a075864c29528ea0c9e0ec68508a444798564394 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 19 Aug 2006 16:23:17 +0000 Subject: * README: Describe potential "pre-C99 build failure", and work-around. --- README | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README') diff --git a/README b/README index 196cc7114..89c53fa6f 100644 --- a/README +++ b/README @@ -60,6 +60,22 @@ the ls `time-1' test to fail. I believe that is due to a bug in the way Sun implemented link(2) and chmod(2). +*********************** +pre-C99 build failure +----------------------- + +There is a new, implicit build requirement: +To build the coreutils from source, you should have a C99-conforming +compiler, due to the use of declarations after non-declaration statements +in several files in src/. There is code in configure to find and, if +possible, enable an appropriate compiler. However, if configure doesn't +find a C99 compiler, it continues nonetheless, and your build will fail. +If that happens, simply apply the included patch using the following +command, and then run make again: + + cd src && patch < c99-to-c89.diff + + *********************** HPUX 11.x build failure ----------------------- -- cgit v1.2.3-54-g00ecf