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. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> From: jniesch@gwdg.de > Date: Fri, 8 Sep 2000 11:40:01 +0200 (MET DST) > To: r-devel@stat.math.ethz.ch > Subject: [Rd] Installing R from source ? (PR#655) > CC: R-bugs@biostat.ku.dk > X-Loop: R-bugs@biostat.ku.dk > > 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.Ah, but it was correct before you altered its meaning. What the error message appears to say is that `jmp_buf' is not defined on your system. jmp_buf is defined on Solaris 2.7 in /usr/include/setjmp.h, which should be included. Do you have png installed? I've run this assuming not and got similar error messages. Solve them by adding #include <setjmp.h> at line 234 of rbitmap.c. The png stuff includes setjmp.h. -- Brian D. Ripley, ripley@stats.ox.ac.uk 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: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._