[BioC] DNAcopy dev version installation problem

Zhu, Lihua (Julie) Julie.Zhu at umassmed.edu
Wed Jun 1 22:43:56 CEST 2011


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/DNAcopy/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/DNAcopy/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/DNAcopy¹
>> * restoring previous
>> Œ/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAcopy¹
>> 
>> 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
> 



More information about the Bioconductor mailing list