[R] R-2.2.1 doesn't compile under cygwin/Win2000
Uwe Ligges
ligges at statistik.uni-dortmund.de
Mon Jan 23 11:26:27 CET 2006
David Vonka wrote:
> Hello,
>
> I've just downloaded the R-2.2.1 source and I'm trying to
> compile it under cygwin (1.5.19-4). The configure script runs
> ok, but make generates the following error after a while:
>
> ----------------------------------------------------------------------------
> -----
> al/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -g -O2 -c zutil.c -o zutil.o
> rm -f libz.a
> ar cr libz.a adler32.o compress.o crc32.o deflate.o gzio.o infback.o
> inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o
> ranlib libz.a
> make[4]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/zlib'
> make[3]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/zlib'
> make[3]: Entering directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
> make[4]: Entering directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
> making xdr.d from xdr.c
> making xdr_float.d from xdr_float.c
> making xdr_mem.d from xdr_mem.c
> making xdr_stdio.d from xdr_stdio.c
> make[4]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
> make[4]: Entering directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
> gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/inclu
> de -DHAVE_CONFIG_H -D__NO_MATH_INLINES -g -O2 -c xdr.c -o xdr.o
> In file included from xdr.c:59:
> ./rpc/types.h:63: error: conflicting types for 'malloc'
> ./rpc/types.h:63: error: conflicting types for 'malloc'
> make[4]: *** [xdr.o] Error 1
> make[4]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
> make[3]: *** [R] Error 2
> make[3]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/home/Vonkad/R-2.2.1/src'
> make: *** [R] Error 1
> --------------------------------------------------------------------------
>
> What could be the cause ?
The cause is that you have not read the R Installation and
Administration manual. It tells you which tools are required to build R
under Windows. In particular, cygwin is unsupported.
For the user's convenience, a Windows binary version is also provided on
CRAN mirrors.
Uwe Ligges
> Regards and thanks,
> David Vonka
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list