I've successfully gotten R 2.2.1 to compile on AIX 5.2. However, when I run "make install", I receive the following message: /appl/perform/workspace/R-2.2.1 [root@diablo][/appl/perform/workspace/R-2.2.1] make install /appl/perform/workspace/R-2.2.1/m4 Target "install" is up to date. /appl/perform/workspace/R-2.2.1/tools Target "install" is up to date. /appl/perform/workspace/R-2.2.1/doc installing doc ... ../tools/install-sh: no destination specified. make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. R has been built as I can go into R-2.2.1/bin and launch R. However, I get the following when running demo(graphics):> if (dev.cur() <= 1) get(getOption("device"))()Error in get(getOption("device"))() : X11 module cannot be loaded In addition: Warning message: unable to load shared library '/appl/perform/workspace/R-2.2.1/modules/R_X11.so': Could not load module /appl/perform/workspace/mbeason/R-2.2.1/modules/R_X11.so. Dependent module /usr/java14/jre/bin/libjpeg.a(libjpeg.so.62) could not be loaded. File /usr/java14/jre/bin/libjpeg.a is not an archive or the file could not be read properly. System error: Exec format error System error: Exec format error Could not load module /usr/java14/jre/bin/libjpeg.a. Dependent module /usr/java14/jre/bin/libjpeg.a could not be loaded. Any thoughts on this would be greatly appreciated. I feel as though I'm VERY close to getting this fully functional. Thanks! Matt [[alternative HTML version deleted]]
On 17.3.2006, at 19:08, Matthew Beason wrote:> I've successfully gotten R 2.2.1 to compile on AIX 5.2. > > However, when I run "make install", I receive the following message: > > /appl/perform/workspace/R-2.2.1 > [root at diablo][/appl/perform/workspace/R-2.2.1] make install > /appl/perform/workspace/R-2.2.1/m4 > Target "install" is up to date. > /appl/perform/workspace/R-2.2.1/tools > Target "install" is up to date. > /appl/perform/workspace/R-2.2.1/doc > installing doc ... > ../tools/install-sh: no destination specified. > make: The error code from the last command is 1. >Chances are that this is related to an issue with some shells mentioned here before - you can either use R-2.2.1 patched from SVN where it is fixed, or alternatively edit configure at line 1913: if test -z ${rdocdir}; then into if test -z "${rdocdir}"; then and make the same modification to the subsequent two if statements as well. Cheers, Simon
Simon, Thanks! That resolved the "make install" issue. However, after installation when running "demo(graphics)" or "png()" from within R, I get the following error: > demo(graphics) demo(graphics) ---- ~~~~~~~~ Type <Return> to start :> require(graphics)[1] TRUE> require(datasets)[1] TRUE> if (dev.cur() <= 1) get(getOption("device"))()Error in get(getOption("device"))() : X11 module cannot be loaded In addition: Warning message: unable to load shared library '/usr/local/R/lib/R/modules/R_X11.so': Could not load module /usr/local/R/lib/R/modules/R_X11.so. Dependent module /usr/java14/jre/bin/libjpeg.a(libjpeg.so.62) could not be loaded. File /usr/java14/jre/bin/libjpeg.a is not an archive or the file could not be read properly. System error: Exec format error System error: Exec format error Could not load module /usr/java14/jre/bin/libjpeg.a. Dependent module /usr/java14/jre/bin/libjpeg.a could not be loaded.> png()Error in png() : X11 module cannot be loaded In addition: Warning message: unable to load shared library '/usr/local/R/lib/R/modules/R_X11.so': Could not load module /usr/local/R/lib/R/modules/R_X11.so. Dependent module /usr/java14/jre/bin/libjpeg.a(libjpeg.so.62) could not be loaded. File /usr/java14/jre/bin/libjpeg.a is not an archive or the file could not be read properly. System error: Exec format error System error: Exec format error Could not load module /usr/java14/jre/bin/libjpeg.a. Dependent module /usr/java14/jre/bin/libjpeg.a could not be loaded. I've checked and "/usr/java14/jre/bin/libjpeg.a" does exist. ls -l /usr/java14/jre/bin/libjpeg.a -r--r--r-- 1 bin bin 289503 Jan 19 2005 /usr/java14/jre/bin/libjpeg.a file /usr/java14/jre/bin/libjpeg.a /usr/java14/jre/bin/libjpeg.a: executable (RISC System/6000) or object module not stripped Any thoughts or suggestions would be greatly appreciated! Matthew Beason -----Original Message----- From: Simon Urbanek [mailto:simon.urbanek at r-project.org] Sent: Friday, March 17, 2006 4:52 PM To: Matthew Beason Cc: r-devel at r-project.org Subject: Re: [Rd] R make install and demo(graphics) issue On 17.3.2006, at 19:08, Matthew Beason wrote:> I've successfully gotten R 2.2.1 to compile on AIX 5.2. > > However, when I run "make install", I receive the following message: > > /appl/perform/workspace/R-2.2.1 > [root at diablo][/appl/perform/workspace/R-2.2.1] make install > /appl/perform/workspace/R-2.2.1/m4 > Target "install" is up to date. > /appl/perform/workspace/R-2.2.1/tools > Target "install" is up to date. > /appl/perform/workspace/R-2.2.1/doc > installing doc ... > ../tools/install-sh: no destination specified. > make: The error code from the last command is 1. >Chances are that this is related to an issue with some shells mentioned here before - you can either use R-2.2.1 patched from SVN where it is fixed, or alternatively edit configure at line 1913: if test -z ${rdocdir}; then into if test -z "${rdocdir}"; then and make the same modification to the subsequent two if statements as well. Cheers, Simon
> -----Original Message----- > From: Simon Urbanek [mailto:simon.urbanek at r-project.org] > Sent: Friday, March 24, 2006 8:04 AM > To: Matthew Beason > Cc: r-devel at r-project.org > Subject: Re: [Rd] R make install and demo(graphics) issue > > Matthew, > > On Mar 20, 2006, at 1:52 PM, Matthew Beason wrote: > > > Thanks! That resolved the "make install" issue. However, after > > installation when running "demo(graphics)" or "png()" from > within R, I > > get the following error: > > [...] > > unable to load shared library '/usr/local/R/lib/R/modules/R_X11.so': > > Could not load module /usr/local/R/lib/R/modules/R_X11.so. > > Dependent module > /usr/java14/jre/bin/libjpeg.a(libjpeg.so.62) > > could not be loaded. > > File /usr/java14/jre/bin/libjpeg.a is not an > > archive or the file could not be read properly. > > This seems like a problem with your libjpeg shared library - > it seems to be bogus. Please make sure you have a properly > installed libjpeg and that the correct one is detected. The > one above comes from JRE which is probably not what you want. > I don't know about your setup, so it's hard to tell which > libraries are supposed to be where. Do you have binaries for > multiple architectures on the same machine? I'm currently > traveling so I can't check our AIX setup.That could very well be the case. However, I'm not sure where else to obtain the libjpeg shared library. I've installed the version from the Linux toolbox for AIX as well downloading it from the AIX public domain site hosted by UCLA. Neither of these appeared to satisfy the libjpeg shared library requirement. Is there somewhere else I can obtain it or am I left to compiling from scratch? As far as multiple binaries go, I don't believe so. We're running AIX 5.2 ML6 with the standard set of filesets installed. I have installed a number of RPMS for tasks unrelated to R. I know I'm very close to getting this working properly. I truly appreciate the effort everyone is putting into this to give me a hand. Thanks in advance! Matt> > Cheers, > Simon > > > >