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

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Mon 29 Aug 2005 - 20:59:24 GMT

rbug05@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@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue Aug 30 07:12:21 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:19 GMT