Skip to content

problem with constructing bitmap

2 messages · Erin Hodgess, Brian Ripley

#
Dear R People:

I'm building R-2.12.1 from scratch on a Windows XP machine.

The "make all recommended" worked fine, but when I did the make in the
bitmap directory, I got the following error:

C:\R\R-2.12.1\src\gnuwin32\bitmap>make
make
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
make[2]: scripts/makefile.mingw: No such file or directory
make[2]: *** No rule to make target `scripts/makefile.mingw'.  Stop.
make[1]: *** [buildpng] Error 2
make: *** [all] Error 2

Does this look familiar to anyone, please?

Thanks in advance for any help.

Sincerely,
Erin
#
I suspect you have libpng 1.5.0 (assuming you installed libpng at 
all).  So

1) That version has a CERT advisory, and should not be used.  1.5.1 is 
due tomorrow.

2) R 2.12.1 cannot work with future versions of external software.
libpng 1.4.5 does work, but not 1.5.x.

(And BTW, questions about buldiing R from sources are more likely to 
be noticed on R-devel.)
On Wed, 19 Jan 2011, Erin Hodgess wrote: