[Rd] Installing R from source ? (PR#655)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
08 Sep 2000 12:22:44 +0200


jniesch@gwdg.de writes:

> Full_Name: Jens Nieschulze
> Version: R-1.1.1
> OS: sparc sun solaris 2.7
> Submission from: (NULL) (134.76.192.150)
> 
> 
> I tried to install R today and got the following at the first try
> 
> rbitmap.c:239: parse error before `jmp_buf'
> rbitmap.c:239: warning: no semicolon at end of struct or union
> rbitmap.c: In function `my_error_exit':
> rbitmap.c:257: dereferencing pointer to incomplete type
> rbitmap.c: In function `R_SaveAsJpeg':
> rbitmap.c:279: storage size of `jerr' isn't known
> 
> after changing the source code (replacing the ';' with a ',' and adding some
> ','
> of rbitmap.c in lines 239 and 240 it installed correctly.
> 
> cheers
> 	J.N.

This would seem to happen if "struct jpeg_error_mgr" in l.238 is not
defined by jpeglib.h. I strongly doubt that fiddling with the code in
rbitmap.c is going to make it actually work (as opposed to compile and
install), so a cleaner approach would be to remove the

#define HAVE_JPEG 1

in src/include/config.h. Or update your jpeg library of course.

-- 
   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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._