[Rd] Install Error on SGI Irix 6.5 (PR#637)
Thu, 17 Aug 2000 11:42:34 +0200 (MET DST)
> From: firstname.lastname@example.org
> Date: Thu, 17 Aug 2000 11:09:05 +0200 (MET DST)
> I'm using R since Version 0.99 on a SGI Indigo 2 with Irix 6.5. I could
> all Versions of R until 1.1.0.
> When I try to compile Version 1.1.0 or 1.1.1 I get an error in the directory
> /R-1.1.1/src/unix/X11. Trying to compile the file rbitmap.c in this directory
> with the gcc compiler command
> 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?
Update your libpng installation. Those should be defined in png.h.
They certainly are in the current 1.0.8 and back to 1.0.6 at least.
If you don't want to do that, you can undef HAVE_PNG in config.h
Brian D. Ripley, email@example.com
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
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