[Rd] Install Error on SGI Irix 6.5 (PR#637)
Peter Dalgaard BSA
17 Aug 2000 11:39:03 +0200
> gcc -I. -I../../../src/include -I../../../src/include
> -I../../../src/include/R_ext -I/usr/local/include -DHAVE_CONFIG_H
> -fPIC -g -O2 -c rbitmap.c -o rbitmap.o
> results in the following errors:
> rbitmap.c: In function `R_SaveAsPng':
> rbitmap.c:168: `PNG_INTERLACE_NONE' undeclared (first use in this
> rbitmap.c:168: (Each undeclared identifier is reported only once
> rbitmap.c:168: for each function it appears in.)
> rbitmap.c:168: `PNG_COMPRESSION_TYPE_BASE' undeclared (first use in
> rbitmap.c:169: `PNG_FILTER_TYPE_BASE' undeclared (first use in this
> This file wasn't present in the R Versions before 1.1.0.
> There don't seem to be any errors in the config.log file.
> Does maybe anybodey know how to solve this problem?
A guess would be that your PNG library is old and that the PNG_
macros are not defined in png.h. But new enough that configure thinks
it is usable.
You might try turning off PNG support by commenting out
#define HAVE_PNG 1
in src/include/config.h after running configure. That would give you a
running R (hopefully) but obviously no support for .png bitmaps.
Otherwise maybe install a newer libpng &al.
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (email@example.com) FAX: (+45) 35327907
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: firstname.lastname@example.org