[R-SIG-Mac] help2man problem installing R-2.3.0 from source

Michael Toews mwtoews at sfu.ca
Tue May 16 18:27:12 CEST 2006

The problem is actually R's inability to print the version number  
normally .. for instance typing: './bin/R --version' produces the  
proper output, but './bin/R --version | cat' does not produce any  
output ('help2man' reads an empty strings, and throws an error).

The only solution for now is to download a pre-compiled version from  
CRAN, since it works perfectly (including 'R --version | cat').

However, I have tracked down the vulnerability to:
sys-std.c: In function 'pushReadline':
sys-std.c:497: warning: passing argument 2 of  
'rl_callback_handler_install' from incompatible pointer type
sys-std.c: In function 'popReadline':
sys-std.c:513: warning: passing argument 2 of  
'rl_callback_handler_install' from incompatible pointer type

The source file ./src/unix/sys-std.c refers to Apple's ReadLine on OS  
X 10.4-pre, and how it needs to be forced to flush the stdout to make  
it visible (this is exactly the problem described above from  
help2man). Simon fixed this almost a year ago (svn r33778), but it  
appears this problem has re-surfaced for some proportions of Macs.
I can provide a complete log from './configure', 'make' and 'sudo  
make install' to anyone interested in seeing.


On 2006-May-16, at 01:32 , Jean Thioulouse wrote:

> Hello,
> Sorry to bother you, but I have a problem installing R-2.3.0 from  
> source.
> 'configure' and 'make' produce no error, and the R executable seems  
> to run
> fine (particularly, R --version does work), but 'make install'  
> fails with
> the following error message :
> % sudo make install
> Password:
> make[1]: Nothing to be done for `install'.
> make[1]: Nothing to be done for `install'.
> installing doc ...
> help2man: can't get `--version' info from ../bin/R
> make[1]: *** [R.1] Error 22
> make: *** [install] Error 1
> R-2.2.1 compiles and installs without problem. Using MacOS 10.4.6 on a
> powerMac G5 with XCode 2.2.1.
> Thank you,
> Jean
> -- 
> Jean Thioulouse - Labo de Biometrie et Biologie Evolutive, UMR CNRS  
> 5558
> Universite Lyon 1, Batiment G. Mendel,  43 Boulevard du 11 Novembre  
> 1918
> 69622 Villeurbanne Cedex,  France.          Tel/Fax : (33) 4 72 43  
> 27 56
>                  http://pbil.univ-lyon1.fr/JTHome.html
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

More information about the R-SIG-Mac mailing list