From David.Kreil at boku.ac.at  Sat Jan 13 18:52:57 2018
From: David.Kreil at boku.ac.at (Dr. D. P. Kreil (Boku))
Date: Sat, 13 Jan 2018 18:52:57 +0100
Subject: [Rd] configure: PATH not honoured when locating kpsewhich
Message-ID: <CA+JN6ZV_cr3tW7z=2sWJOXH6e+t9vwrH-p3d2LjPGxcLvJ0vNQ@mail.gmail.com>

Dear R-Developers,

I have just noticed that R configure picks up an older system kpsewhich
(and consequently fails) despite the correct kpsewhich being in the PATH as
it should. So "which kpsewhich" gives the correct one. I could work around
this by setting KPSEWHICH=`which kpsewhich` on the configure command line.
Is there any reason the PATH is not being honoured? In many situations
users have no control over system installed packages (not being root) so I
would have thought that R configure should honour the build environment,
esp PATH.

With best regards,
David


observed behaviour (current R-3.4.3 release)

$ ./configure
...
leads to inconsolata.sty etc not being found because they're not in the
system TeX installation. According to the configure output, the
location /usr/bin/kpsewhich is being used.


$ ./configure KPSEWHICH=`which kpsewhich`
...
completes successfully.


expected behaviour:

$ ./configure
...
completes successfully.

	[[alternative HTML version deleted]]



[Rd] configure: PATH not honoured when locating kpsewhich
Dr. D. P. Kreil (Boku