Hi:   I don't know if it is a bug or what?
        I followed instructions.  
Jean

R version: R-2.2.1
OS:   Linux RedHat 9




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



--

______________________________________________
R-help@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

Reply via email to