problems installing xcms package
1
0
Entering edit mode
Juliet Hannah ▴ 360
@juliet-hannah-4531
Last seen 5.6 years ago
United States
All, Can anyone confirm the following problem installing the xcms package? Thanks. biocLite("xcms") ends with: netCDF.c:2:20: error: netcdf.h: No such file or directory netCDF.c: In function ?NetCDFStrError?: netCDF.c:8: warning: implicit declaration of function ?nc_strerror? netCDF.c:8: warning: passing argument 2 of ?__builtin_strncpy? makes pointer from integer without a cast netCDF.c: In function ?NetCDFOpen?: netCDF.c:13: warning: implicit declaration of function ?nc_open? netCDF.c:13: error: ?NC_NOWRITE? undeclared (first use in this function) netCDF.c:13: error: (Each undeclared identifier is reported only once netCDF.c:13: error: for each function it appears in.) netCDF.c: In function ?NetCDFClose?: netCDF.c:18: warning: implicit declaration of function ?nc_close? netCDF.c: In function ?NetCDFVarID?: netCDF.c:23: warning: implicit declaration of function ?nc_inq_varid? netCDF.c: In function ?NetCDFVarLen?: netCDF.c:28: error: ?NC_MAX_VAR_DIMS? undeclared (first use in this function) netCDF.c:31: warning: implicit declaration of function ?nc_inq_varndims? netCDF.c:34: warning: implicit declaration of function ?nc_inq_vardimid? netCDF.c:39: warning: implicit declaration of function ?nc_inq_dimlen? netCDF.c: In function ?NetCDFVarDouble?: netCDF.c:55: warning: implicit declaration of function ?nc_get_var_double? netCDF.c:58: warning: implicit declaration of function ?nc_inq_att? netCDF.c:59: warning: implicit declaration of function ?nc_get_att_double? netCDF.c: In function ?NetCDFVarInt?: netCDF.c:77: warning: implicit declaration of function ?nc_get_var_int? make: *** [netCDF.o] Error 1 ERROR: compilation failed for package ?xcms? * removing ?/nfs/jh/R-2.14.2/library/xcms? The downloaded packages are in ?/tmp/RtmpJG8Uee/downloaded_packages? Updating HTML index of packages in '.Library' Making packages.html ... done Warning message: In install.packages(pkgs = pkgs, repos = repos, ...) : installation of package ?xcms? had non-zero exit status > sessionInfo() R version 2.14.2 (2012-02-29) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] affy_1.32.1 Biobase_2.14.0 BiocInstaller_1.2.1 loaded via a namespace (and not attached): [1] affyio_1.22.0 preprocessCore_1.16.0 tools_2.14.2 [4] zlibbioc_1.0.1
cdf xcms cdf xcms • 1.8k views
ADD COMMENT
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 6 months ago
United States
Hi Juliet, On Sat, Mar 24, 2012 at 12:43 PM, Juliet Hannah <juliet.hannah at="" gmail.com=""> wrote: > All, > > Can anyone confirm the following problem installing the xcms package? Thanks. > > ?biocLite("xcms") > > ends with: > > > netCDF.c:2:20: error: netcdf.h: No such file or directory > netCDF.c: In function ?NetCDFStrError?: > netCDF.c:8: warning: implicit declaration of function ?nc_strerror? > netCDF.c:8: warning: passing argument 2 of ?__builtin_strncpy? makes > pointer from integer without a cast > netCDF.c: In function ?NetCDFOpen?: > netCDF.c:13: warning: implicit declaration of function ?nc_open? > netCDF.c:13: error: ?NC_NOWRITE? undeclared (first use in this function) > netCDF.c:13: error: (Each undeclared identifier is reported only once > netCDF.c:13: error: for each function it appears in.) > netCDF.c: In function ?NetCDFClose?: > netCDF.c:18: warning: implicit declaration of function ?nc_close? > netCDF.c: In function ?NetCDFVarID?: > netCDF.c:23: warning: implicit declaration of function ?nc_inq_varid? > netCDF.c: In function ?NetCDFVarLen?: > netCDF.c:28: error: ?NC_MAX_VAR_DIMS? undeclared (first use in this function) > netCDF.c:31: warning: implicit declaration of function ?nc_inq_varndims? > netCDF.c:34: warning: implicit declaration of function ?nc_inq_vardimid? > netCDF.c:39: warning: implicit declaration of function ?nc_inq_dimlen? > netCDF.c: In function ?NetCDFVarDouble?: > netCDF.c:55: warning: implicit declaration of function ?nc_get_var_double? > netCDF.c:58: warning: implicit declaration of function ?nc_inq_att? > netCDF.c:59: warning: implicit declaration of function ?nc_get_att_double? > netCDF.c: In function ?NetCDFVarInt?: > netCDF.c:77: warning: implicit declaration of function ?nc_get_var_int? > make: *** [netCDF.o] Error 1 > ERROR: compilation failed for package ?xcms? > * removing ?/nfs/jh/R-2.14.2/library/xcms? > > The downloaded packages are in > ? ? ? ??/tmp/RtmpJG8Uee/downloaded_packages? > Updating HTML index of packages in '.Library' > Making packages.html ?... done > Warning message: > In install.packages(pkgs = pkgs, repos = repos, ...) : > ?installation of package ?xcms? had non-zero exit status > > Looks like you need netcdf on your computer. I don't know which linux distribution you are running, bit if it's Ubuntu, the following command should do it: sudo apt-get install netcdf libnetcdf-dev Dan >> sessionInfo() > R version 2.14.2 (2012-02-29) > Platform: x86_64-unknown-linux-gnu (64-bit) > > locale: > ?[1] LC_CTYPE=en_US.UTF-8 ? ? ? LC_NUMERIC=C > ?[3] LC_TIME=en_US.UTF-8 ? ? ? ?LC_COLLATE=en_US.UTF-8 > ?[5] LC_MONETARY=en_US.UTF-8 ? ?LC_MESSAGES=en_US.UTF-8 > ?[7] LC_PAPER=C ? ? ? ? ? ? ? ? LC_NAME=C > ?[9] LC_ADDRESS=C ? ? ? ? ? ? ? LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base > > other attached packages: > [1] affy_1.32.1 ? ? ? ? Biobase_2.14.0 ? ? ?BiocInstaller_1.2.1 > > loaded via a namespace (and not attached): > [1] affyio_1.22.0 ? ? ? ? preprocessCore_1.16.0 tools_2.14.2 > [4] zlibbioc_1.0.1 > > _______________________________________________ > 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 COMMENT

Login before adding your answer.

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