[Rd] R-devel Aug-09 1.2.0 build on hpux10.20

Prof Brian Ripley ripley@stats.ox.ac.uk
Fri, 11 Aug 2000 17:11:32 +0100 (BST)


On Fri, 11 Aug 2000, U-E59264-Osman F Buyukisik wrote:

> Hello,
>  I had to set CPPFLAGS and FC=fort77 but configure saw atlas and used
> it instead of blas. However atlas for hp seems to missing some libs. I 
> had to add -lblas in Makeconf. Everything builds ok. But modreg and
> tcltk doesn't load. 
> R : Copyright 2000, The R Development Core Team
> Version 1.2.0 Under development (unstable) (2000-August-9)

That might well be a problem. R-devel has been undergoing major
changes recently.  You should be able to use

  --with-blas             use specified BLAS library

to avoid atlas.  But BLAS configuration was changed in two steps,
and you may just have caught the middle.

> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type    "?license" or "?licence" for distribution details.
> 
> R is a collaborative project with many contributors.
> Type    "?contributors" for a list.
> 
> Type    "demo()" for some demos, "help()" for on-line help, or
>         "help.start()" for a HTML browser interface to help.
> Type    "q()" to quit R.
> 
> > library(modreg)
> Error in dyn.load(x, as.logical(local), as.logical(now)) : 
>         unable to load shared library "/home/absd00t/R-devel/library/modreg/libs/modreg.sl":
>   can't open /home/absd00t/R-devel/library/modreg/libs/modreg.sl
> Error in library(modreg) : .First.lib failed
> > 
> 
> First checked the lowessc.c routine and it had F77_SUB(...) but I
> could not find a macro for that in the include files. There was
> F77_SYMBOL() so I changed to F77_SUB to F77_SYMBOL, but it still doesn't

Well, there is one (in R_ext/RS.h), *and* it is documented in `Writing R
Extensions'. (It seems pretty unlikely that something which has been in
R releases for a year or so would be wrong in a way like that.)

Making changes like that in the dark is not usually a good idea.  It is
likely that modreg.sl is  missing some blas libs, since you I suppose did
not change etc/Makeconf too.

> load.
> Is there a way to get more info why it doesn't open?

Is the error message correct?  It says the shared library cannot be
opened. Does it exist?  How helpful those messages are is OS-dependent.

I would take a look at your shared libraries with nm -g to see what
symbols are unsatisfied, as that is usually enough clue.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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