[R] Unable to make bitmapdll files on windows 7 64 bit machine

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 23 08:03:16 CEST 2010


On Thu, 22 Apr 2010, arnholtat at appstate.edu wrote:

> I am trying to build a windows 32 bit version of R 2.11.0 from source on a machine running
> windows 7 - 64 bit while running as the machine's administrator.
> I am able to run "make all recommended"...However, once I attempt to build the bitmap files I get the following:
>
> C:\Rsource\R-2.11.0\src\gnuwin32>make bitmapdll
> make -C bitmap
> make[1]: Entering directory `/cygdrive/c/Rsource/R-2.11.0/src/gnuwin32/bitmap'
> make CC='gcc -std=gnu99' AR='ar' \
>  CFLAGS="-O3 -I../../../extra/zlib -DPNG_NO_MMX_CODE" \
>  RANLIB=ranlib ZLIBLIB=../../../extra/zlib -C libpng \
>  -f scripts/makefile.mingw prefix=foo libpng.a
> gcc -std=gnu99 -c -O3 -I../../../extra/zlib -DPNG_NO_MMX_CODE -o png.o png.c
> Assembler messages:
> Fatal error: can't create png.o: Permission denied
> make[3]: *** [png.o] Error 1
> make[2]: *** [buildpng] Error 2
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/cygdrive/c/Rsource/R-2.11.0/src/gnuwin32/bitmap'
> make: *** [bitmapdll] Error 2
>
> Any suggestions/hints on what I am messing up are most appreciated.

The permissions on bitmap/libpng.

There have been reports of this when Rtools is used on Windows 7, so 
try fixing the permissions under bitmap manually or unpacking those 
components directly from the tarball sources.

Such questions are best asked on R-devel: see the posting guide.

>
> Thanks in advance.
>
> Alan-
>
> Alan T. Arnholt
> Professor and Assistant Chair
> Department of Mathematical Sciences
> Appalachian State University
> T:(828)262-2863
> F:(828)265-8617
> http://www1.appstate.edu/~arnholta/
>
>

-- 
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



More information about the R-help mailing list