Hi, 

I have been trying to install the Matrix package on R running in Linux (Fedora). But, I get the following error message (at the bottom). I am logged in as the root user. Any help would be appreciated! Thanks!
-Hyunseung Kang

* Installing *source* package 'Matrix' ...
Using  GNU make  for building the package
** libs
** arch - 
gcc -m32 -std=gnu99 -I/usr/include/R  -I/usr/local/include   -I./UFconfig -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -c CHMfactor.c -o CHMfactor.o
In file included from CHMfactor.h:4,
                 from CHMfactor.c:2:
Mutils.h:9:41: error: R.h: No such file or directory
Mutils.h:10:22: error: Rversion.h: No such file or directory
Mutils.h:11:56: error: Rdefines.h: No such file or directory
In file included from CHMfactor.h:4,
                 from CHMfactor.c:2:
Mutils.h:32: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄtriangularMatrix_validateĸ
Mutils.h:33: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄsymmetricMatrix_validateĸ
Mutils.h:34: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ądense_nonpacked_validateĸ
Mutils.h:54:49: error: missing binary operator before token "("
Mutils.h:59: error: expected Ą)ĸ before Ąobjĸ
Mutils.h:60: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąset_double_by_nameĸ
Mutils.h:61: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąas_det_objĸ
Mutils.h:62: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąget_factorsĸ
Mutils.h:63: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąset_factorsĸ
Mutils.h:72: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄMatrix_make_namedĸ
Mutils.h:73: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ącheck_scalar_stringĸ
Mutils.h:74: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąequal_string_vectorsĸ
Mutils.h:76: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
Mutils.h:77: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
Mutils.h:78: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
Mutils.h:79: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
Mutils.h:81: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄMatrix_getElementĸ
In file included from Mutils.h:99,
                 from CHMfactor.h:4,
                 from CHMfactor.c:2:
Syms.h:2: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄMatrix_DimNamesSymĸ
In file included from CHMfactor.h:4,
                 from CHMfactor.c:2:
Mutils.h:149: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąintĸ
Mutils.h:178: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄSEXPĸ
Mutils.h:197: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąintĸ
Mutils.h:215: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄRbooleanĸ
Mutils.h:226: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
Mutils.h:227: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
Mutils.h:229: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
Mutils.h:230: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
Mutils.h:232: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄMatrix_expand_pointersĸ
Mutils.h:234: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ądup_mMatrix_as_dgeMatrixĸ
Mutils.h:235: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ądup_mMatrix_as_geMatrixĸ
Mutils.h:237: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąnew_dgeMatrixĸ
Mutils.h:238: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąm_encodeIndĸ
Mutils.h:239: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąm_encodeInd2ĸ
Mutils.h:242: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄSEXPĸ
Mutils.h:248: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄSEXPĸ
Mutils.h:263: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąintĸ
In file included from CHMfactor.h:5,
                 from CHMfactor.c:2:
chm_common.h:19: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
chm_common.h:20: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
chm_common.h:21: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
chm_common.h:22: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
chm_common.h:24: error: expected declaration specifiers or Ą...ĸ before ĄSEXPĸ
chm_common.h:35: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąchm_factor_to_SEXPĸ
chm_common.h:36: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąchm_sparse_to_SEXPĸ
chm_common.h:38: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąchm_triplet_to_SEXPĸ
chm_common.h:40: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąchm_dense_to_SEXPĸ
chm_common.h:42: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before Ąchm_dense_to_matrixĸ
chm_common.h:44: error: expected declaration specifiers or Ą...ĸ before ĄRbooleanĸ
chm_common.h:46: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_validateĸ
chm_common.h:47: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMsimpl_validateĸ
chm_common.h:48: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMsuper_validateĸ
In file included from CHMfactor.c:2:
CHMfactor.h:7: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_ldetL2ĸ
CHMfactor.h:8: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_to_sparseĸ
CHMfactor.h:9: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_solveĸ
CHMfactor.h:10: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_spsolveĸ
CHMfactor.h:11: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_updateĸ
CHMfactor.h:12: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_ldetL2upĸ
CHMfactor.c:4: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_to_sparseĸ
CHMfactor.c:20: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_solveĸ
CHMfactor.c:37: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_spsolveĸ
CHMfactor.c: In function Ąchm_factor_ldetL2ĸ:
CHMfactor.c:72: warning: implicit declaration of function Ąlogĸ
CHMfactor.c:72: warning: incompatible implicit declaration of built-in function Ąlogĸ
CHMfactor.c:72: warning: implicit declaration of function Ąfabsĸ
CHMfactor.c:72: warning: incompatible implicit declaration of built-in function Ąfabsĸ
CHMfactor.c:82: warning: implicit declaration of function Ąerrorĸ
CHMfactor.c:85: warning: incompatible implicit declaration of built-in function Ąlogĸ
CHMfactor.c: At top level:
CHMfactor.c:91: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_ldetL2ĸ
CHMfactor.c:122: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_updateĸ
CHMfactor.c:132: error: expected Ą=ĸ, Ą,ĸ, Ą;ĸ, Ąasmĸ or Ą__attribute__ĸ before ĄCHMfactor_ldetL2upĸ
make: *** [CHMfactor.o] Error 1
ERROR: compilation failed for package 'Matrix'
** Removing '/usr/lib/R/library/Matrix'


      
	[[alternative HTML version deleted]]

