Dear R people, I am trying to install rimage using install.packages("rimage") but am receiving the following errors despite having FFTW installed. I would appreciate any help to get this fixed. checking fftw.h usability... no checking fftw.h presence... no checking for fftw.h... no configure: error: Sorry, can't find fftw header ERROR: configuration failed for package 'rimage' I am using FFTW version 3.1, fedora core 3 and R version 2.3.1 I noticed an old posting on the subject but the solution was to install FFTW which I already did but the error still persists. Thanks in advance John -- John Kornak, PhD Assistant Professor Departments of Radiology, and Epidemiology & Biostatistics University of California, San Francisco Box 0946 San Francisco, CA 94143 Tel: (415) 353-4740 fax: (415) 353-9423 Email: john.kornak at ucsf.edu
On Mon, 11 Sep 2006, John Kornak wrote:> Dear R people, > > I am trying to install rimage using install.packages("rimage") but am > receiving the following errors despite having FFTW installed. I would > appreciate any help to get this fixed. > > checking fftw.h usability... no > checking fftw.h presence... no > checking for fftw.h... no > configure: error: Sorry, can't find fftw header > ERROR: configuration failed for package 'rimage' > > I am using FFTW version 3.1, fedora core 3 and R version 2.3.1 > > I noticed an old posting on the subject but the solution was to install > FFTW which I already did but the error still persists.You need fftw2, not fftw3 (as the DESCRIPTION file says). That posting was spot on. -- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Thanks again to both Sarah Goslee and Professor Ripley. Installing the libjpeg-devel package was the key. John 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. > > Sarah > > 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. > >-- John Kornak,PhD Assistant Professor Departments of Radiology, and Epidemiology & Biostatistics University of California, San Francisco Box 0946 San Francisco, CA 94143 Tel: (415) 353-4740 fax: (415) 353-9423 Email: john.kornak at ucsf.edu
I know this issue has been discussed already but my compiling of rimage fails: ... checking for stdint.h... yes checking for unistd.h... yes checking fftw.h usability... yes checking fftw.h presence... yes checking for fftw.h... yes checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no configure: error: Sorry, can't find jpeglib header ERROR: configuration failed for package 'rimage' I have libjpeg (6b-16) installed through fink. The library files are in "/sw/lib" & the jpeglib.h header file is in "/sw/include" I have used sudo ln -s to make symbolic links to the library files and the header file in "/usr/local/lib" & "/usr/local/include" I also made a symbolic link in "/usr/include" What other headers are missing that are installed by the libjpeg- devel-6b-16 package? Is it jconfig.h and jmorecfg.h? Is this devel package only avail through rpm? Do I need to delete my current libjpeg installation before installing the devel version? Sorry, this is turning into more of a libjpeg question than an R question!! James Ackman, Ph.D. Institut de Neurobiologie de la Méditerranée INSERM U29 Parc Scientifique de Luminy, BP 13 13009 Marseille France [[alternative HTML version deleted]]