[BioC] Troubles installing pcaMethods on R2.12.1

Alfons Gonzalez agonzalez at imim.es
Tue Mar 29 18:47:02 CEST 2011




Dear all,
I'm having exactly the same problem trying to install pcaMethods on R 2.12.2, on
a  CentOS 5.4 x86_64:



biocLite("pcaMethods") 
Using R version 2.12.2, biocinstall version 2.7.4.
Installing Bioconductor version 2.7 packages:
[1] "pcaMethods"
Please wait...

trying URL
'http://www.bioconductor.org/packages/2.7/bioc/src/contrib/pcaMethods_1.32.0.tar.gz'
Content type 'application/x-gzip' length 467350 bytes (456 Kb)
opened URL
==================================================
downloaded 456 Kb

* installing *source* package ‘pcaMethods’ ...
** libs
g++ -I/usr/local/R-2.12.2/lib64/R/include
-I/usr/local/R-2.12.2/lib64/R/library/Rcpp/include -I/usr/local/include    -fpic
 -g -O2 -c nipals.cpp -o nipals.o
nipals.cpp: In function ‘SEXPREC* Nipals(SEXPREC*, SEXPREC*)’:
nipals.cpp:37: error: ‘RcppParams’ was not declared in this scope
nipals.cpp:37: error: expected `;' before ‘rparams’
nipals.cpp:38: error: ‘rparams’ was not declared in this scope
nipals.cpp:42: error: ‘RcppMatrix’ was not declared in this scope
nipals.cpp:42: error: expected primary-expression before ‘double’
nipals.cpp:42: error: expected `;' before ‘double’
nipals.cpp:43: error: expected primary-expression before ‘double’
nipals.cpp:43: error: expected `;' before ‘double’
nipals.cpp:44: error: ‘mat’ was not declared in this scope
nipals.cpp:46: error: expected primary-expression before ‘double’
nipals.cpp:46: error: expected `;' before ‘double’
nipals.cpp:47: error: expected primary-expression before ‘double’
nipals.cpp:47: error: expected `;' before ‘double’
nipals.cpp:48: error: expected primary-expression before ‘double’
nipals.cpp:48: error: expected `;' before ‘double’
nipals.cpp:120: error: ‘est_mat’ was not declared in this scope
nipals.cpp:121: error: ‘omat’ was not declared in this scope
nipals.cpp:130: error: ‘tt’ was not declared in this scope
nipals.cpp:133: error: ‘pp’ was not declared in this scope
nipals.cpp:146: error: ‘RcppResultSet’ was not declared in this scope
nipals.cpp:146: error: expected `;' before ‘rs’
nipals.cpp:148: error: expected primary-expression before ‘double’
nipals.cpp:148: error: expected `;' before ‘double’
nipals.cpp:149: error: expected primary-expression before ‘double’
nipals.cpp:149: error: expected `;' before ‘double’
nipals.cpp:152: error: ‘ttt’ was not declared in this scope
nipals.cpp:152: error: ‘tt’ was not declared in this scope
nipals.cpp:157: error: ‘ppp’ was not declared in this scope
nipals.cpp:157: error: ‘pp’ was not declared in this scope
nipals.cpp:160: error: ‘rs’ was not declared in this scope
nipals.cpp:160: error: ‘ttt’ was not declared in this scope
nipals.cpp:161: error: ‘ppp’ was not declared in this scope
nipals.cpp:163: error: ‘rs’ was not declared in this scope
nipals.cpp:163: error: ‘tt’ was not declared in this scope
nipals.cpp:164: error: ‘pp’ was not declared in this scope
nipals.cpp:166: error: ‘rs’ was not declared in this scope
nipals.cpp:170: error: ‘copyMessageToR’ was not declared in this scope
nipals.cpp:172: error: ‘copyMessageToR’ was not declared in this scope
nipals.cpp:175: error: ‘copyMessageToR’ was not declared in this scope
nipals.cpp:177: error: ‘copyMessageToR’ was not declared in this scope
make: *** [nipals.o] Error 1
ERROR: compilation failed for package ‘pcaMethods’
* removing ‘/usr/local/R-2.12.2/lib64/R/library/pcaMethods’


Have you find any solution?

thanks in advance,

ALfons



More information about the Bioconductor mailing list