Skip to content

Problem compiling in extra/xdr

3 messages · Brian Ripley

#
On Mon, 18 Jul 2011, Allin Cottrell wrote:

            
What is 'current Fedora'?  glibc 2.14 postdates the current release, 
Fedora 15, which uses 2.13.   I do not know what Fedora 16 will use in 
several months ....

The main problem will be that the xdr included in R is only for 
platforms with 32-bit longs -- but that may be true for your i686 
Linux.  It needs _X86_ defined to compile for i686: I would have 
expected that to be true on your platform, but am testing a cleaned-up 
version.  If that works it will appear in R-patched within 24 hours.

  
    
1 day later
#
1) The current R-patched should compile src/extra/xdr on 32-bit Linux 
systems.

2) Longer-term or on a 64-bit platform the solution is to make use of 
libtirpc: you would need both this installed (common now) and its 
headers (unlikely).

Then if you arrange for /usr/include/tirpc to be in the C include path 
(not easy to do portably, but using C_INCLUDE_PATH will work on 
Linux), the tirpc versions should be found.
On Tue, 19 Jul 2011, Prof Brian Ripley wrote:

            

  
    
1 day later
#
On Wed, 20 Jul 2011, Prof Brian Ripley wrote:

            
For the record, a more portable way is described in the R-admin manual 
in 2.13.1 patched and R-devel.