[Rd] test for readline installation fails if installation location non-standard (PR#8104)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Mon Aug 29 22:59:24 CEST 2005


rbug05 at kreil.org writes:

> Full_Name: D Kreil
> Version: 2.1.1
> OS: HP-UX B.11.23 U ia64 0029870451 unlimited-user license
> Submission from: (NULL) (62.178.15.60)
> 
> 
> When the dependency readline is installed in a non-standard location the
> installation procedure fails.
> If using a non-standard installation location like
> 
>   --prefix=/bi/common --exec-prefix=/bi/arch
> 
> the configure script default include and library paths should adapt accordingly.
> They don't (/usr/local defaults remain).
> 
> Workaround:
> 
>   CPPFLAGS=-I/bi/common/include LDFLAGS=-L/bi/arch/lib ./configure
> 
> This should not be necessary, I think.

This is inherited from GNU autotools and apparently they think it
should. It is most certainly not a bug.

Presumably, the rationale is that the install target is not
necessarily releated to your build tools and libraries. You could have
--prefix=. or --prefix=$HOME/tools or whatever. If so, there is some
danger of picking up a home-built and outdated version instead of the
system one.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-devel mailing list