[R] Installation difficulty with "rimage"
john.kornak at ucsf.edu
Tue Sep 12 16:58:24 CEST 2006
Thanks again to both Sarah Goslee and Professor Ripley.
Installing the libjpeg-devel package was the key.
Sarah Goslee wrote:
> Well, there are two possible problems.
> One, you don't have the file.
> Two, it isn't where it's supposed to be.
> Did you install it from the rpm?
> If so, did you install both libjpeg and libjpeg-devel
> The header files (*.h) are usually in the devel packages,
> and are needed if you want to compile R code against
> them (which you do).
> The easiest way to do it is to install both packages from
> the rpms, using yum or however you prefer to do it,
> rather than to install the library as source a package from
> the developers. It sounds like you did the latter?
> You may be able to convince rimage that everything is
> okay by putting a symbolic link from the actual header
> location to where it is supposed to be:
> ln -s /usr/local/bin/jpeg-6b/jpeglib.h /usr/include/jpeglib.h
> You will be best off, though (probably) by just installing
> the libjpeg-devel package.
> P.S. Prof. Ripley's answer is both correct and sufficient, of
> course, but possibly a bit terse - I thought you might appreciate
> a longer explanation.
Departments of Radiology, and Epidemiology & Biostatistics
University of California, San Francisco
San Francisco, CA 94143
Tel: (415) 353-4740
fax: (415) 353-9423
Email: john.kornak at ucsf.edu
More information about the R-help