DNAcopy dev version installation problem
1
0
Entering edit mode
Julie Zhu ★ 4.3k
@julie-zhu-3596
Last seen 13 months ago
United States
Dear Venkatraman, I encountered the following problems when tried to install the DNAcopy package 1.27.0 at http://bioconductor.org/packages/2.9/bioc/html/DNAcopy.html. Although R CMD install went ok for MacOS 10.5 (Leopard) binary, library(DNAcopy) produced the following error. library(DNAcopy) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAco py/lib s/i386/DNAcopy.so': dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/library /DNAco py/libs/i386/DNAcopy.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.13/Resources/lib/libR.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAcop y/libs /i386/DNAcopy.so Reason: image not found In addition: Warning message: In install.packages(c("DNAcopy"), lib = "/Library/Frameworks/R.framework/Resources/library/", : installation of package ?DNAcopy? had non-zero exit status Error: package/namespace load failed for ?DNAcopy? Here is the error message if I tried to install from the package source. R CMD install DNAcopy_1.27.0.tar * installing to library ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library? * installing *source* package ?DNAcopy? ... ** libs *** arch - i386 gfortran-4.2 -arch i386 -fPIC -g -O2 -c cbsWtstats.f -o cbsWtstats.o make: gfortran-4.2: Command not found make: *** [cbsWtstats.o] Error 127 ERROR: compilation failed for package ?DNAcopy? * removing ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAco py? * restoring previous ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAco py? Could you please help? Thanks! Best regards, Julie
• 2.9k views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 4 months ago
United States
On 06/01/2011 12:26 PM, Zhu, Lihua (Julie) wrote: > Dear Venkatraman, > > I encountered the following problems when tried to install the DNAcopy > package 1.27.0 at > http://bioconductor.org/packages/2.9/bioc/html/DNAcopy.html. > > Although R CMD install went ok for MacOS 10.5 (Leopard) binary, > library(DNAcopy) produced the following error. > > library(DNAcopy) > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared object > '/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNA copy/lib > s/i386/DNAcopy.so': > > dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/libra ry/DNAco > py/libs/i386/DNAcopy.so, 6): Library not loaded: > /Library/Frameworks/R.framework/Versions/2.13/Resources/lib/libR.dylib > Referenced from: > /Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAc opy/libs > /i386/DNAcopy.so > Reason: image not found > In addition: Warning message: > In install.packages(c("DNAcopy"), lib = > "/Library/Frameworks/R.framework/Resources/library/", : > installation of package ?DNAcopy? had non-zero exit status > Error: package/namespace load failed for ?DNAcopy? > > Here is the error message if I tried to install from the package source. > > R CMD install DNAcopy_1.27.0.tar > * installing to library > ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library? > * installing *source* package ?DNAcopy? ... > ** libs > *** arch - i386 > gfortran-4.2 -arch i386 -fPIC -g -O2 -c cbsWtstats.f -o cbsWtstats.o > make: gfortran-4.2: Command not found > make: *** [cbsWtstats.o] Error 127 > ERROR: compilation failed for package ?DNAcopy? I think you're missing the gfortran component of the compiler tools; maybe a mac whiz can contribute to why the binary package installation fails; maybe a related issue. http://r.research.att.com/tools/ Martin > * removing > ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNA copy? > * restoring previous > ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNA copy? > > Could you please help? Thanks! > > Best regards, > > Julie > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Computational Biology Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: M1-B861 Telephone: 206 667-2793
ADD COMMENT
0
Entering edit mode
Martin, Thanks so much! Installing gfortran from http://www.webmo.net/support/fortran_osx.html followed by installing from DNAcopy source worked! Best regards, Julie On 6/1/11 4:13 PM, "Martin Morgan" <mtmorgan at="" fhcrc.org=""> wrote: > On 06/01/2011 12:26 PM, Zhu, Lihua (Julie) wrote: >> Dear Venkatraman, >> >> I encountered the following problems when tried to install the DNAcopy >> package 1.27.0 at >> http://bioconductor.org/packages/2.9/bioc/html/DNAcopy.html. >> >> Although R CMD install went ok for MacOS 10.5 (Leopard) binary, >> library(DNAcopy) produced the following error. >> >> library(DNAcopy) >> Error in dyn.load(file, DLLpath = DLLpath, ...) : >> unable to load shared object >> '/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DN Acopy/lib >> s/i386/DNAcopy.so': >> >> dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/libr ary/DNAco >> py/libs/i386/DNAcopy.so, 6): Library not loaded: >> /Library/Frameworks/R.framework/Versions/2.13/Resources/lib/libR.dylib >> Referenced from: >> /Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNA copy/libs >> /i386/DNAcopy.so >> Reason: image not found >> In addition: Warning message: >> In install.packages(c("DNAcopy"), lib = >> "/Library/Frameworks/R.framework/Resources/library/", : >> installation of package ?DNAcopy? had non-zero exit status >> Error: package/namespace load failed for ?DNAcopy? >> >> Here is the error message if I tried to install from the package source. >> >> R CMD install DNAcopy_1.27.0.tar >> * installing to library >> ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library? >> * installing *source* package ?DNAcopy? ... >> ** libs >> *** arch - i386 >> gfortran-4.2 -arch i386 -fPIC -g -O2 -c cbsWtstats.f -o cbsWtstats.o >> make: gfortran-4.2: Command not found >> make: *** [cbsWtstats.o] Error 127 >> ERROR: compilation failed for package ?DNAcopy? > > I think you're missing the gfortran component of the compiler tools; > maybe a mac whiz can contribute to why the binary package installation > fails; maybe a related issue. > > http://r.research.att.com/tools/ > > Martin >> * removing >> ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DN Acopy? >> * restoring previous >> ?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DN Acopy? >> >> Could you please help? Thanks! >> >> Best regards, >> >> Julie >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at r-project.org >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor >
ADD REPLY
0
Entering edit mode
Hi, On Wed, Jun 1, 2011 at 4:43 PM, Zhu, Lihua (Julie) <julie.zhu at="" umassmed.edu=""> wrote: > Martin, > > Thanks so much! Installing gfortran from > http://www.webmo.net/support/fortran_osx.html followed by installing from > DNAcopy source worked! Just for the (Google) record, since it doesn't look so clear as to which of the many options one should pick from the link you provided, I'm pretty sure that using the one from http://r.research.att.com/tools (which Martin linked to) is the best/safest way to go for OS X-aware Fortran since it even supports compiling fat binares. It's so good, even the numpy/scipy folks recommend installing it for their Fortran stuff ;-) http://www.scipy.org/Installing_SciPy/Mac_OS_X -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology ?| Memorial Sloan-Kettering Cancer Center ?| Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
ADD REPLY
0
Entering edit mode
Thanks, Steve! Sorry that I overlooked the link provided by Martin. FYI, I downloaded the "R Tools" implementation gfortran-4.2.3.dmg which turns out to be pointing to the same link provided by Martin. Thanks again for the effort to make the record more precise! Best regards, Julie On 6/1/11 5:07 PM, "Steve Lianoglou" <mailinglist.honeypot at="" gmail.com=""> wrote: > Hi, > > On Wed, Jun 1, 2011 at 4:43 PM, Zhu, Lihua (Julie) > <julie.zhu at="" umassmed.edu=""> wrote: >> Martin, >> >> Thanks so much! Installing gfortran from >> http://www.webmo.net/support/fortran_osx.html followed by installing from >> DNAcopy source worked! > > Just for the (Google) record, since it doesn't look so clear as to > which of the many options one should pick from the link you provided, > I'm pretty sure that using the one from > http://r.research.att.com/tools (which Martin linked to) is the > best/safest way to go for OS X-aware Fortran since it even supports > compiling fat binares. > > It's so good, even the numpy/scipy folks recommend installing it for > their Fortran stuff ;-) > http://www.scipy.org/Installing_SciPy/Mac_OS_X > > > -steve > > -- > Steve Lianoglou > Graduate Student: Computational Systems Biology > ?| Memorial Sloan-Kettering Cancer Center > ?| Weill Medical College of Cornell University > Contact Info: http://cbio.mskcc.org/~lianos/contact >
ADD REPLY

Login before adding your answer.

Traffic: 717 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