X-Authentication-Warning: stat.math.ethz.ch: majordom set sender to owner-r-help
at stat.math.ethz.ch using -f
From: Peter Bouman <pbouman at sachs.com>
Date: Sat, 10 Jul 1999 16:20:07 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: text/plain;
charset="iso-8859-1"
Sender: owner-r-help at stat.math.ethz.ch
Precedence: bulk
Dear R-users,
I am working to install Chong Gu's new gss library on my Linux system
(Redhat 5.1/i386), and have run into the following roadblock: Dr. Gu's R
code is a front end for a package of Fortran routines called RKPACK. While
I have no trouble compiling
the individual bits of Fortran code with fort77 in Linux, I don't know
how
to link the resulting *.o files into a shared library that R
will read with dyn.load() (I am following the procedure recommended by
V&R
in their R Complements to MASS).
I suspect, of course, that the problem is that I don't really understand
how
to use ld to produce the shared libraries correctly. Could anyone indulge a
newbie and offer some advice? Even a pointer to documentation on how to
build shared libraries would be great.
(Alternatively: Dr. Gu's Makefile for GKPACK uses "ranlib" to
put the
object code into a *.a file. Can R be persuaded to use this kind of file?)
Thanks,
Peter Bouman
Senior Analyst
Sachs Group
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Please don't compile RKPACK separately. Simply use
R INSTALL -l library gss
in a directory, say $(DIR), which has library and gss as
subdirectories. The command will automatically compile the gss.so and
the documentation and put them under $(DIR)/library/gss. Put
$(DIR)/library in your RLIB environment and run library(gss) at the R
prompt, and you are there.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._