cadet@odd.bio.sunysb.edu
2006-Feb-09 17:39 UTC
[Rd] make: Target `all' not remade because of errors. (PR#8585)
Full_Name: Je Cade Version: R-2.2.1 OS: RedHat 9 Submission from: (NULL) (129.49.108.173) I followed the instructions. tar -xvf, configure, then make. I get these error messages at the end of make and with make check. ==================================================================================================================================In file included from rbitmap.c:45: /usr/include/png.h:318:18: zlib.h: No such file or directory In file included from /usr/include/png.h:321, from rbitmap.c:45: /usr/include/pngconf.h:1091: error: parse error before '*' token /usr/include/pngconf.h:1092: error: parse error before '*' token /usr/include/pngconf.h:1093: error: parse error before '*' token In file included from rbitmap.c:45: /usr/include/png.h:1034: error: parse error before "z_stream" /usr/include/png.h:1262: error: parse error before '}' token /usr/include/png.h:1821: error: parse error before "png_zalloc" /usr/include/png.h:1821: error: parse error before "png_ptr" /usr/include/png.h:1825: error: parse error before "png_ptr" rbitmap.c: In function `my_png_error': rbitmap.c:72: error: dereferencing pointer to incomplete type rbitmap.c: In function `R_SaveAsPng': rbitmap.c:121: error: dereferencing pointer to incomplete type make[4]: *** [rbitmap.lo] Error 1 make[4]: Target `R_X11.so' not remade because of errors. make[4]: Leaving directory `/users/cadet/R-2.2.1/src/modules/X11' make[3]: *** [R] Error 2 make[3]: Leaving directory `/users/cadet/R-2.2.1/src/modules/X11' make[2]: *** [R] Error 1 make[2]: Leaving directory `/users/cadet/R-2.2.1/src/modules' make[1]: *** [R] Error 1 make[1]: Leaving directory `/users/cadet/R-2.2.1/src' make: *** [R] Error 1 make: Target `all' not remade because of errors. giant {122} make check make[1]: Entering directory `/users/cadet/R-2.2.1/tests' make[2]: Entering directory `/users/cadet/R-2.2.1/tests' make[3]: Entering directory `/users/cadet/R-2.2.1/tests/Examples' make[4]: Entering directory `/users/cadet/R-2.2.1/tests/Examples' make[4]: `Makedeps' is up to date. make[4]: Leaving directory `/users/cadet/R-2.2.1/tests/Examples' make[4]: Entering directory `/users/cadet/R-2.2.1/tests/Examples' make[4]: *** No rule to make target `../../src/library/base/all.R', needed by `base-Ex.Rout'. Stop. make[4]: Leaving directory `/users/cadet/R-2.2.1/tests/Examples' make[3]: *** [test-Examples-Base] Error 2 make[3]: Leaving directory `/users/cadet/R-2.2.1/tests/Examples' make[2]: *** [test-Examples] Error 2 make[2]: Leaving directory `/users/cadet/R-2.2.1/tests' make[1]: *** [test-all-basics] Error 1 make[1]: Leaving directory `/users/cadet/R-2.2.1/tests' make: *** [check] Error 2
ripley@stats.ox.ac.uk
2006-Feb-09 19:40 UTC
[Rd] make: Target `all' not remade because of errors. (PR#8585)
Why did you think this was an error in R? This is an error from a *system* header file about a missing *system* header file. It look like on your system libpng-devel has been installed without its dependency zlib-devel. In all the years this has been in R we have never encountered such a system, and RPM management is supposed to prevent it happening (see below). You can work around this by altering src/include/config.h to not define HAVE_PNG. Please seek help elsewhere about fixing your OS (which is no longer supported by RedHat, of course). On an FC3 box gannet% rpm -q --whatprovides /usr/include/png.h libpng-devel-1.2.8-1.fc3 gannet% rpm -q --whatprovides /usr/include/zlib.h zlib-devel-1.2.1.2-3.fc3 gannet% rpm -q -R libpng-devel-1.2.8-1.fc3 /bin/sh libpng = 2:1.2.8 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 zlib-devel ^^^^^^^^^^ On Thu, 9 Feb 2006, cadet at odd.bio.sunysb.edu wrote:> Full_Name: Je Cade > Version: R-2.2.1 > OS: RedHat 9 > Submission from: (NULL) (129.49.108.173) > > > > I followed the instructions. tar -xvf, configure, then make. > I get these error messages at the end of make and with make check. > =================================================================> =================================================================> In file included from rbitmap.c:45: > /usr/include/png.h:318:18: zlib.h: No such file or directoryThis is the problem.> In file included from /usr/include/png.h:321, > from rbitmap.c:45: > /usr/include/pngconf.h:1091: error: parse error before '*' token > /usr/include/pngconf.h:1092: error: parse error before '*' token > /usr/include/pngconf.h:1093: error: parse error before '*' token > In file included from rbitmap.c:45: > /usr/include/png.h:1034: error: parse error before "z_stream" > /usr/include/png.h:1262: error: parse error before '}' token > /usr/include/png.h:1821: error: parse error before "png_zalloc" > /usr/include/png.h:1821: error: parse error before "png_ptr" > /usr/include/png.h:1825: error: parse error before "png_ptr" > rbitmap.c: In function `my_png_error': > rbitmap.c:72: error: dereferencing pointer to incomplete type > rbitmap.c: In function `R_SaveAsPng': > rbitmap.c:121: error: dereferencing pointer to incomplete type > make[4]: *** [rbitmap.lo] Error 1 > make[4]: Target `R_X11.so' not remade because of errors.[...] -- 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