[Rd] Some compiling problems

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Apr 29 14:01:13 CEST 2008



jing hua zhao wrote:
> Dear R experts,
>  
> I had some difficulties to build R on Linux (cross-build) and Windows (via Rtools) and hope it is appropriate to post for help,
>  
> Our system has gcc 3.4.6 on RedHat Linux x86_64. With the help of Makefile-rcb by Yan and Rossini (setting BUILD=CROSS, R_EXE, F77 and FLIBS to g77 and g2c) I was able to build R 2.7.0 but most of the executables failed to initialise under Windows XP or Vista. After manually zip on Linux and unzip under Windows, all executables work. There appears to be problems with the compression? 
>  
> Earlier I kept Excel files in inst/doc but would corrupt in Windows packages from cross-build. Maybe it is a bad practice to have those anyway?
>  
> I was able to build R 2.5.1 myself under Windows and with R 2.7.0 this is much simpler and led to the point of success but is still stuck with 'make distribution' since bitmap directory does not have a proper Makefile as before. I do notice they are available from Cross-build or it is possible to build outside R framework via Cygwin.
>


R-2.5.1 is not R-2.7.0, hence re-read the manuals and update your 
compilers, bitmap requirements etc.

Uwe Ligges


> Many thanks for your help,
>  
>  
> Jing Hua
>  
>  
> _________________________________________________________________
> Bag extra points with the Walkers Brit Trip Game 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list