R-beta: trouble compiling 0.62.3 on SunOS 4.1.4: lgamma conflicts
Ben Bolker
ben at eno.Princeton.EDU
Thu Sep 10 19:40:29 CEST 1998
Thanks to all!
I thought I was keeping up with the help list, but I guess I must have
missed this exchange.
Knowing what to look for, I found it on Robert King's archive of the R
lists (searching those archives doesn't seem to work; I wrote him about
it).
0.62.3 appears to compile fine now.
Perhaps I'll eventually figure out a more elegant way to deal with the
problem, but I probably won't bother ...
On Thu, 10 Sep 1998, Charles C. Berry wrote:
> Ben,
>
> I faced this myself recently. The appended email from Ross Ihaka provided a
> workaround that made the compilation go thru.
>
>
> Following Ross' suggestion, I added the two #defines near the top of
>
> ~R/src/include/Mathlib.h
>
> The compilation ran to completion, and I am now using R-0.62.2
>
> :-)
>
> Chuck Berry
>
> -------------------------------------------------------------------------------
[Ross]
>
> One "quick hack" you could try is to put the definition
>
> #define gamma Rgamma
> #define lgamma Rlgamma
>
> at the top of the file ~R/src/include.
>
> I haven't tried this myself. It is just a guess as to what might
> work.
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list