From Kurt.Hornik@wu-wien.ac.at  Fri Jul 19 08:19:37 2002
From: Kurt.Hornik@wu-wien.ac.at (Kurt Hornik)
Date: Fri, 19 Jul 2002 09:19:37 +0200
Subject: R-devel Mac OSX build wierdness...
In-Reply-To: <Pine.GSO.4.10.10207190041300.26875-100000@hsph.harvard.edu>
References: <Pine.GSO.4.10.10207190041300.26875-100000@hsph.harvard.edu>
Message-ID: <15671.48521.591793.114033@mithrandir.hornik.net>

>>>>> Byron Ellis writes:

> I encountered some wierdness when building R-devel (latest rsync) on OSX
> using commandline tools (as opposed to the Carbon GUI and
> whatnot...probably just laziness on my part but it generally works :-)).

> At any rate, sometime between 2002-07-05 and the present the configure
> scripts started setting INSTALL_DATA to ${R_HOME}/bin/install -c in
> Makeconf...which causes wierdness for the Mac OSX (10.1.5) version of sh
> (which is actually zsh I believe) as it tries to use INSTALL and make
> simply fails. Of course, even with a sensible shell this should fail as
> ${R_HOME}/bin/install doesn't exist. Changing this to '/usr/bin/install
> -c' allowed the build to proceed normally.

Hard to believe.  The Autoconf code has

[AC_REQUIRE([AC_PROG_INSTALL])
case "${INSTALL}" in
  [[\\/]]* | ?:[[\\/]]* ) # absolute
    ;;
  *)
    INSTALL="\$\(top_srcdir\)/tools/install-sh -c"
    ;;
esac
])# R_PROG_INSTALL

so either you end up with something absolute or the string in the
default clause.

I assume this is a combination of you putting R_HOME/bin in your PATH
and MacOSX being case-insensitive in some cases?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R-devel Mac OSX build wierdness...
Kurt Hornik