From ripley at stats.ox.ac.uk  Thu Apr 27 11:53:31 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 27 Apr 2006 10:53:31 +0100 (BST)
Subject: [Rd] Minor issue building 2.3.0 under Red Hat Linux 9
In-Reply-To: <4450420F.7060803@DecisionSynergy.com>
References: <4450420F.7060803@DecisionSynergy.com>
Message-ID: <Pine.LNX.4.64.0604271033420.24905@gannet.stats.ox.ac.uk>

On Thu, 27 Apr 2006, Dominick Samperi wrote:

> Building R 2.3.0 fails under Red Hat 9.0 because
> ssize_t is not defined in src/modules/internet/sock.h.
> Inserting #include <sys/types.h> at the top of this
> file fixes the problem.

That's interesting: POSIX says it must be defined in unistd.h, and that is 
included before sock.h in all the C files AFAICS (and this is why all the 
Unix-alike platforms tested before release do compile that module).

It's a bug in RH9 (there seems to be no 9.0), and that is maintained by 
Fedora Legacy -- do they have an update?

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Minor issue building 2.3.0 under Red Hat Linux 9
Prof Brian Ripley