changes in configure (Re: Compilation fails (PR#209))
Thomas Vogels
Thomas Vogels <tov@ece.cmu.edu>
Thu, 17 Jun 1999 16:42:18 -0400
> If you are reading this, your mail reader may not support MIME.
> Some parts of this message will be readable as plain text.
--17.Jun.1999mysteryboxofun
Content-Type: text/plain
Kurt,
uh, my original suggestion to check the installed xmkmf was directed
to Frank who wasn't very lucky with his Fortran compiler.
Now for AIX, for which I'm actually compiling R at the moment.
"Kurt" == Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:
Kurt> AIX is not a supported platform yet. If you tell me which flags (cpic,
Kurt> fpic, shlib, maybe something extra for producing the main binary) to use
Kurt> for this platform and the NATIVE compilers, I will gladly tell configure
Kurt> how to get things right on AIX.
I'd like to take you up on your offer, especially since I can't create
the configure file out of configure.in.
Attached is (hopefully) a patchfile that updates configure fo AIX. It
also patches the Makefile.in in src/library/modreg/src and it contains
ldAIX4 which is a script for the aux (in R-0.64.1) directory.
(I've put the patch at: www.ece.cmu.edu/~tov/public/R-on-aix42.patch)
Something like the following in a clean R-0.64.1 directory should
work:
$ cd R-0.64.1
$ patch -b -u -p0 < ../R-on-aix42.patch
$ chmod +x aux/ldAIX4
$ mkdir build && cd build
$ # force native compilers:
$ CC=cc ../configure --with-f77 --with-x --without-gnome
$ make
This still leaves the problem with R SHLIB. AIX needs a file with
symbols that are exported from the main program (R.binary). A "make
install" should store this file in RHOME/etc/main.exp or somwhere
close. Lemme think about how to work with in installed R.
A final "make test" runs smoothly up to ../../tests/print-tests.R.
There are some diffs with the length of printed doubles, like,
< [4,] 1.7976931348623157e+308
---
> [4,] 1.797693134862315708145e+308
So the printed number in AIX is shorter? Any comments?
Thanks,
-tom
--
mailto:tov@ece.cmu.edu (Tom Vogels) Tel: (412) 268-6638 FAX: -3204
--17.Jun.1999mysteryboxofun
Content-Type: application/octet-stream; name="R-on-aix42.patch.gz"
Content-Description: ~/public/R-on-aix42.patch.gz
Content-Transfer-Encoding: base64
H4sICLY8aTcAA1Itb24tYW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zRPY8qX7FLnMiYZKlEVYwxDopKxyqeMVdZBRTUvhIlIUVKlWtW2QpBRklOJjqrCVuxWMaUs
qOC4maJgigMcZmICOUVhLFe2o+cUt0qKjp/iVq2fo3KpxCz8Mk6p2fWFVxXmUhcs16q6yKPY
TjVMJSQnIwpTCmSSizHJWYDjdQYkDMFyhif+3Eo04LQQbQJiwogxQYvXn4eqmHP2/YV/YzIb
og4VFwIpyeNnM7RP+AiOOjE+eTF9VTrbbsvVlSNpDs6j2k4kGtuzPqjFh49DvON0gOzmR7jB
3tlFfSpCe7eQhLBLspHU4vDDdd09S8lgEdzgTPUcy4mtJ+iBWuF2R7mGl2SJBrEAb+/HFt6e
Wp+liI+YDhzjETO1fBTT4F6L1vqxkoocmOzqy9f2ilsXsK3VtFApQVjP/tR6bUQ/IVXGLMqh
hTu8Ggp0bQXurfAWuzVHPHMv8a5wPpdYAaCSBC/tF8M/KV4yuCNZEDPMoXIBS0votWchc6RP
RzsQivllqPxDEnoINVdUYY62zUYfWjs7YFR+hYd8jycUnBbGqgufj0EK03+YijRjPC/KZpSI
If4Hydk4FYmEyoRLzAQNGzDdEDhpSEgzjAof9/hYLSLNUamTgjMCTL3RcUnxPwqnh+VGE65z
eo2VnHnq1bJM7VrFEbLgTUUfvd66bPwxcAeVG+L8feD8flusTad7d1sbVDEd1+DW7MbAa6i/
kSU1DyTTWg6/1DI/Gko519Qymv5Fz2GhR3FpXZhtVcgWTmHXgj2wi6Io120MpW3CAPPQfwaJ
nedwcNRPo/HOWvpA4z7DwCRSRRe/Jpz9pf5DFoKVg33+IO7nAxhteMDMWPa+ZYbJHKuDrnvK
fl3+BywP7vxxCwAA
--17.Jun.1999mysteryboxofun--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._