[R] install bug with specific JPEG library by exporting CPPFLAGS variable

Brian D Ripley ripley at stats.ox.ac.uk
Wed Dec 8 14:23:05 CET 2004


On Wed, 8 Dec 2004, Brian D Ripley wrote:

> On 8 Dec 2004, Yves Magliulo wrote:
>
> > Hi there,
> > I think I have found a small problem in the
> > "/my/path/R-2.0.1/src/modules/X11/MakeFile" generation.
> > During the configure step, I have specified a specific JPEG library by
> > exporting CPPFLAGS variable.
>
> That only specifies a set of headers, not the library.
> It is up to you to ensure that the library paths you need are also
> specified, e.g. in LIBS.

It's best to set these in LDFLAGS: see config.site and the documentation
in R-admin.html.

> To be definite, this is not a bug/problem in R.

especially as how to do it is documented in the appropriate manual.

[...]

-- 
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




More information about the R-help mailing list