From p.dalgaard@biostat.ku.dk  Thu Aug 17 10:39:03 2000
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 17 Aug 2000 11:39:03 +0200
Subject: [Rd] Install Error on SGI Irix 6.5 (PR#637)
In-Reply-To: dick@b6ori1.bauv.unibw-muenchen.de's message of "Thu, 17 Aug 2000 11:09:05 +0200 (MET DST)"
References: <200008170909.LAA22320@pubhealth.ku.dk>
Message-ID: <x2hf8ki5vs.fsf@blueberry.kubism.ku.dk>

dick@b6ori1.bauv.unibw-muenchen.de writes:

> 	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
> 	function)
> 	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
> this
> 	function)
> 	rbitmap.c:169: `PNG_FILTER_TYPE_BASE' undeclared (first use in this
> 	function)
> 
> 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
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Install Error on SGI Irix 6.5 (PR#637)
Peter Dalgaard BSA