Problem with xps package installation on Mac platform
4
0
Entering edit mode
cstrato ★ 3.9k
@cstrato-908
Last seen 6.2 years ago
Austria
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=fcd8aab 3501bcd3a059a1338a21a65f9 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' > > -------------------------------------------------------------------- ---- > > >
xps xps • 1.6k views
ADD COMMENT
0
Entering edit mode
steve shen ▴ 50
@steve-shen-3974
Last seen 10.3 years ago
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'
ADD COMMENT
0
Entering edit mode
steve shen ▴ 50
@steve-shen-3974
Last seen 10.3 years ago
HI Cristian, Thank you so much for your prompt response. I will try out the root_5.24/00 for 64 bit first and let you know what happens. All the best, Steve On Sat, Mar 6, 2010 at 2:26 PM, cstrato <cstrato@aon.at> wrote: > 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=fcd8a ab3501bcd3a059a1338a21a65f9 > 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' >> >> ------------------------------------------------------------------- ----- >> >> >> >> > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD COMMENT
0
Entering edit mode
steve shen ▴ 50
@steve-shen-3974
Last seen 10.3 years ago
Hi Christian, Problem solved! Thanks so much, Steve On Sat, Mar 6, 2010 at 2:26 PM, cstrato <cstrato@aon.at> wrote: > 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=fcd8a ab3501bcd3a059a1338a21a65f9 > 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' >> >> ------------------------------------------------------------------- ----- >> >> >> >> > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD COMMENT
0
Entering edit mode
cstrato ★ 3.9k
@cstrato-908
Last seen 6.2 years ago
Austria
Great, if you have any further questions let me know. Christian Steve Shen wrote: > Hi Christian, > > Problem solved! Thanks so much, > > Steve > > On Sat, Mar 6, 2010 at 2:26 PM, cstrato <cstrato at="" aon.at=""> <mailto:cstrato at="" aon.at="">> wrote: > > 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=f cd8aab3501bcd3a059a1338a21a65f9 > <http: root.cern.ch="" phpbb2="" viewtopic.php?t="9721&amp;highlight=&amp;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 <http: 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' > > ------------------------------------------------------------ ------------ > > > > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch <mailto:bioconductor at="" stat.math.ethz.ch=""> > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > >
ADD COMMENT

Login before adding your answer.

Traffic: 298 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6