[Rd] make: Target `all' not remade because of errors. (PR#8585)
ripley@stats.ox.ac.uk
ripley at stats.ox.ac.uk
Thu Feb 9 20:40:29 CET 2006
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 directory
This 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
More information about the R-devel
mailing list