[Bioc-devel] ShortRead error

Finak Greg Greg.Finak at ircm.qc.ca
Wed Apr 28 17:45:10 CEST 2010


While I don't know the package, it looks like #including <errno.h> in the source file should fix the problem.

On 2010-04-28, at 11:39 AM, Droit Arnaud wrote:

> Hi,
> 
> I installed the last R beta  version 2.12.
> When, I try to install the ShortRead package (1.7.0).
> I have the following error message :
> 
> g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include  -I/usr/local/include -I"/Library/Frameworks/R.framework/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Resources/library/Biostrings/include"  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBZ=1 -fPIC  -g -O2 -c readBfaToc.cc -o readBfaToc.o
> readBfaToc.cc: In function 'SEXPREC* readBfaToc(SEXPREC*)':
> readBfaToc.cc:28: error: 'errno' was not declared in this scope
> make: *** [readBfaToc.o] Error 1
> ERROR: compilation failed for package 'ShortRead'
> * removing '/Library/Frameworks/R.framework/Resources/library/ShortRead'
> 
> Anyone have any idea about the problems ?
> 
> Thanks
> 
> Arnaud.
> 
> 
>> sessionInfo()
> R version 2.12.0 Under development (unstable) (2010-04-28 r51857)
> x86_64-apple-darwin10.2.0
> 
> locale:
> [1] C
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
> 
> _______________________________________________
> Bioc-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

Greg Finak, PhD
Post-doctoral research associate, Computational Biology Unit
Institut de Recherches Cliniques de Montréal
Montreal, QC
(514)987-5500 ext 3331
greg.finak at ircm.qc.ca



More information about the Bioc-devel mailing list