Skip to content

R-devel Aug18 version on hpux10.20

3 messages · U-E59264-Osman F Buyukisik, Brian Ripley, Kurt Hornik

#
Hello,

 configured with  gcc-2.95, hpux ld, hpux fort77, --with-readline

 I had three problems:

1. changed f77 to fort77 in Makeconf files/Makefile (I had
--with-f77=fort77 in the configure line)

2. readline : picked up that I had readline, but the include location
was inserted into the CFLAGS, and history was marked as
unavailable. Made changes to Makeconf  and etc/Makeconf 

3. LDFLAGS = -g -Wl,xx   was not acceptable to the hpux "ld" (both
have to go) Changed Makefile.

Then had a clean build.  Seems to able to load dynamic libs. 
Check fails at two locations:

is.infinite(.Machine$double.base ^ .Machine$double.max.exp)# overflow
[1] FALSE

 x <- 1:99/100
 all(abs(1 - x / asin(sin(x))) <= Meps)
[1] FALSE

Second one :
 [1]  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE
[13]  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE
[25]  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE
[37]  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE
[49]  TRUE  TRUE  TRUE  TRUE FALSE  TRUE  TRUE FALSE  TRUE  TRUE  TRUE  TRUE
[61]  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE
[73]  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE
[85]  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE
[97]  TRUE  TRUE  TRUE

Flaky math routines in hpux or gcc libc.


Osman
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, 18 Aug 1999, U-E59264-Osman F Buyukisik wrote:

            
That might be gcc-2.95. I found that its default include path is set up to
include prefix/include but not /usr/local/include, which are of course the
same only if you install in /usr/local (and that is where 2.8.1 is). This
means that for me readline is only found correctly when I use 2.95 if I
have CPPFLAGS set to -I/usr/local/include in config.site (readline was
installed in /usr/local).
#
What is the problem here?  You do --with-f77=fort77 but FC is set to
f77?
Which version is that?  What is the problem?  Works for me as detailed
in PLATFORMS (note that the configure setting is -Wl,-E).
Not gcc, I would assume, as I get the same with cc.

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