[Rd] RE: [R] Rcmd SHLIB problem

Liaw, Andy andy_liaw@merck.com
Wed, 12 Dec 2001 09:07:28 -0500


Prof. Ripley,

Seems like mine is 629:

c:\home>perl -v

This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2001, Larry Wall

Binary build 629 provided by ActiveState Tool Corp.
http://www.ActiveState.com
Built 12:27:04 Aug 20 2001

Will try a newer build and see.

Regards,
Andy

> -----Original Message-----
> From: Prof Brian Ripley [mailto:ripley@stats.ox.ac.uk]
> Sent: Wednesday, December 12, 2001 8:54 AM
> To: Liaw, Andy
> Cc: 'Uwe Ligges'; R-devel
> Subject: Re: [Rd] RE: [R] Rcmd SHLIB problem
> 
> 
> On Wed, 12 Dec 2001, Liaw, Andy wrote:
> 
> > Yes, changing line 67 of SHLIB as Uwe suggested worked:
> >
> > C:\TEMP>Rcmd SHLIB tryf.f
> > make[1]: `libR.a' is up to date.
> > rm -f -f tryf.a
> > ar cr tryf.a *.o
> > ranlib tryf.a
> > ------- Building tryf.dll from tryf.a --------
> > echo LIBRARY tryf > tryf.def
> > echo EXPORTS >> tryf.def
> > nm tryf.a > Defs
> > sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' 
> Defs >> tryf.def
> > rm -f Defs
> > gcc  --shared -s  -o tryf.dll tryf.def tryf.a  
> -Lc:/progra~1/R/rw1031/src/
> > gnuwin32  -lg2c -Lc:/Rtools/ATLAS/lib/WinNT_PIIISSE1 
> -lcblas -lf77blas
> > -latlas -lR
> >
> > Thanks very much for the (temporary) solution.  The 
> question is, could this
> > be a permanent fix?
> 
> No.  It only works for one input file.  The quotes were not 
> there for fun!
> (Also names with spaces in.)
> 
> We think this may be a perl version problem.  Uwe has build 
> 623. I have
> build 630.  Quite a few things malfunctioned with 623 for me 
> under Windows
> 98.  What do you have?
> 
> 
> -- 
> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._