[Rd] Installing R from source ? (PR#655)
Fri, 8 Sep 2000 13:14:41 +0200 (MET DST)
> From: firstname.lastname@example.org
> Date: Fri, 8 Sep 2000 11:40:01 +0200 (MET DST)
> To: email@example.com
> Subject: [Rd] Installing R from source ? (PR#655)
> CC: Rfirstname.lastname@example.org
> X-Loop: Remail@example.com
> Full_Name: Jens Nieschulze
> Version: R-1.1.1
> OS: sparc sun solaris 2.7
> Submission from: (NULL) (22.214.171.124)
> 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
at line 234 of rbitmap.c. The png stuff includes setjmp.h.
Brian D. Ripley, firstname.lastname@example.org
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: email@example.com