[R] Problem compiling R-1.1.0

Prof Brian D Ripley ripley at stats.ox.ac.uk
Mon Jun 19 11:51:59 CEST 2000


On Mon, 19 Jun 2000, F.Tusell wrote:

> 
> I just downloaded R-1.1.0.tgz and attempted installation as usual with
> 
>         ./configure
>         ./make
> 
> Everything run fine until I hit the following error:
> 
> gcc -I. -I../../../src/include -I../../../src/include -I../../../src/include/R_ext -I/usr/X11R6/include -I/usr/local/include -DHAVE_CONFIG_H -mieee-fp -D__NO_MATH_INLINES -fPIC  -g -O2 -c rbitmap.c -o rbitmap.o
> 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
> make[5]: *** [rbitmap.o] Error 1
> make[5]: Leaving directory `/home/etptupaf/R-1.1.0/src/unix/X11'
> make[4]: *** [R] Error 2
> make[4]: Leaving directory `/home/etptupaf/R-1.1.0/src/unix/X11'
> make[3]: *** [DLLs] Error 1
> make[3]: Leaving directory `/home/etptupaf/R-1.1.0/src/unix'
> make[2]: *** [R] Error 2
> make[2]: Leaving directory `/home/etptupaf/R-1.1.0/src/main'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/home/etptupaf/R-1.1.0/src'
> make: *** [R] Error 1
> 
> 
> If that matters, I am running Linux Debian 2.2 (kernel 2.2.13) in a
> Pentium machine with 64Mb. cc -v reports:
> 
>    Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
>    gcc version 2.95.2 20000313 (Debian GNU/Linux)
> 
> I have always been able to compile without a hitch since version 0.90
> at least. Please advice me if the problem is with the sources or with 
> my setup.

Your setup, I think. jpeg_error_mgr is defined in jpeglib.h, which
rbitmap.c includes.  You can either undef HAVE_JPEG in src/include/config.h
or track down the problem with jpeglib.h, which might be a (very) old
version.

-- 
Brian D. Ripley,                  ripley at 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-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list