Liaw, Andy
2002-May-12 02:31 UTC
still trouble (RE: [R] Compiling R-1.5.0 failed on AIX4.3)
Dear R-help, I deleted `methods' from the list of packages in Makeconf.in and was able to get through the compilation. However, `make check' fails, and R seems to have trouble loading share libs. When starting R, it complained about not finding the X libs and quits. If I specify --gui=none, then it starts but complains about not being able to load the shared lib for `ctest'. Loading any packages with shared libs give the same error. Following the platform notes in R-admin manual, I set MAIN_LDFLAGS="-Wl,-brtl" and SHLIB_LDFLAGS="-Wl,-G", but that didn't seem to solve the problem. R is now configured for powerpc-ibm-aix4.3.2.0 Source directory: . Installation directory: /.../merck.com/fs/user/liawand/aix C compiler: gcc -mno-fp-in-toc -g -O2 C++ compiler: g++ -g -O2 FORTRAN compiler: g77 -g -O2 X11 support: yes Gnome support: no Tcl/Tk support: no Readline support: yes R profiling support: yes R as a shared library: no Any hints/helps are much appreciated!! Regards, Andy> -----Original Message----- > From: Liaw, Andy [mailto:andy_liaw at merck.com] > Sent: Friday, May 03, 2002 3:17 PM > To: 'R-help at stat.math.ethz.ch' > Subject: [R] Compiling R-1.5.0 failed on AIX4.3 > > > Dear R-help, > > I've having some trouble building R on AIX. I'm using > gcc/g77/g++. The > error occurs when building the methods package: > > gmake[4]: Entering directory > `/.../merck.com/fs/user/liawand/R-1.5.0/src/library > /methods' > dumping R code in package 'methods' > Fatal error: The X11 shared library could not be loaded. > The error was > > gmake[4]: *** [../../../library/methods/R/all.rda] Error 2 > gmake[4]: Leaving directory > `/.../merck.com/fs/user/liawand/R-1.5.0/src/library/ > methods' > gmake[3]: *** [all] Error 2 > gmake[3]: Leaving directory > `/.../merck.com/fs/user/liawand/R-1.5.0/src/library/ > methods' > gmake[2]: *** [R] Error 1 > gmake[2]: Leaving directory > `/.../merck.com/fs/user/liawand/R-1.5.0/src/library' > gmake[1]: *** [R] Error 1 > gmake[1]: Leaving directory > `/.../merck.com/fs/user/liawand/R-1.5.0/src' > gmake: *** [R] Error 1 > > I went through the fairly long thread on R-devel a while ago regarding > difficulties on AIX, and saw that there was a similar > problem, but didn't > see any solution. Can anyone help? > > TIA! > > Regards, > Andy > > > -------------------------------------------------------------- > ---------------- > Notice: This e-mail message, together with any attachments, > contains information of Merck & Co., Inc. (Whitehouse > Station, New Jersey, USA) that may be confidential, > proprietary copyrighted and/or legally privileged, and is > intended solely for the use of the individual or entity named > on this message. If you are not the intended recipient, and > have received this message in error, please immediately > return this by e-mail and then delete it. > > =============================================================> ===============> > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. > -.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. > _._._._._._._._._ > > -------------------------------------------------------------- > ---------------- > Notice: This e-mail message, together with any attachments, > contains information of Merck & Co., Inc. (Whitehouse > Station, New Jersey, USA) that may be confidential, > proprietary copyrighted and/or legally privileged, and is > intended solely for the use of the individual or entity named > on this message. If you are not the intended recipient, and > have received this message in error, please immediately > return this by e-mail and then delete it. > > =============================================================> ===============>------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._