[BioC] Problem with xps package installation on Mac platform

cstrato cstrato at aon.at
Sat Mar 6 20:26:20 CET 2010


Dear Steve,

The error message tells you that you are using the wrong architecture, 
i.e. you are trying to compile xps for 64 bit but it seems that you have 
installed the root binary for 32 bit. The solution is either to compile 
xps for 32 bit (but see below) or you need to compile root for 64 bit 
since there is no 64 bit binary.

If you want to compile 64 bit root you need to install the correct 
gfortran and delete two lines in "root/config/Makefile.macosx64", see my 
last message in:
http://root.cern.ch/phpBB2/viewtopic.php?t=9721&highlight=&sid=fcd8aab3501bcd3a059a1338a21a65f9
In this matter Simon was very helpful, see the discussion at:
https://stat.ethz.ch/pipermail/r-sig-mac/2010-January/007049.html

One more issue:
If you decide to stay with 32 bit root you need to install root_5.24/00 
since root_5.26/00 has a bug preventing xps to work correctly. If you 
want to compile 64 bit root you need to download either the latest root 
version from svn or you need to stay with root_5.24/00.

Please let me know if you could solve the problems or if you need 
further information.

Best regards
Christian
_._._._._._._._._._._._._._._._._._
C.h.r.i.s.t.i.a.n   S.t.r.a.t.o.w.a
V.i.e.n.n.a           A.u.s.t.r.i.a
e.m.a.i.l:        cstrato at aon.at
_._._._._._._._._._._._._._._._._._


steve shen wrote:
> Dear Christian,
>
> A first time user to xps tried to install xps on Mac OS X 10.5.8 
> System. Installation seemed ok, load library failed. Below is what I 
> have done for installation and error message after loading library. A 
> complete installation log message is attached. Could you please help 
> me to diagnose what caused the problem? Thanks so much,
>
> Steve
>
> new-host:Downloads xxx$ R --arch=x86_64 --no-multiarch CMD INSTALL 
> xps_1.6.4.tar.gz
>
> * installing to library ‘~/Library/R/2.10/library’
> * installing *source* package ‘xps’ ...
> checking for gcc... gcc-4.2 -arch x86_64 -std=gnu99
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc-4.2 -arch x86_64 -std=gnu99 accepts -g... yes
> checking for gcc-4.2 -arch x86_64 -std=gnu99 option to accept ANSI 
> C... none needed
> checking how to run the C preprocessor... gcc-4.2 -arch x86_64 
> -std=gnu99 -E
> checking for gcc... (cached) gcc-4.2 -arch x86_64 -std=gnu99
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc-4.2 -arch x86_64 -std=gnu99 accepts -g... 
> (cached) yes
> checking for gcc-4.2 -arch x86_64 -std=gnu99 option to accept ANSI 
> C... (cached) none needed
> checking for root-config... yes
> found ROOT version 5.26/00 in directory /Applications/root
> ** libs
> ** arch - x86_64
>
> .....
>
> ln -sf xps.dylib xps.so
> ** R
> ** inst
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> * DONE (xps)
>
> new-host:Downloads xxx$ R --arch=x86_64
>
> > library(xps)
> Error in dyn.load(file, DLLpath = DLLpath, ...) : 
>   unable to load shared library 
> '~/Library/R/2.10/library/xps/libs/x86_64/xps.so':
>   dlopen(~/Library/R/2.10/library/xps/libs/x86_64/xps.so, 6): no 
> suitable image found.  Did find:
> ~/Library/R/2.10/library/xps/libs/x86_64/xps.so: mach-o, but wrong 
> architecture
> Error: package/namespace load failed for 'xps'
>
> ------------------------------------------------------------------------
>
>
>



More information about the Bioconductor mailing list