Skip to content

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

2 messages · rbug05@kreil.org, Peter Dalgaard

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

Best regards,

D Kreil.
#
rbug05 at kreil.org writes:
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.