[R] crhon compile directive faul in version x64, in Intel i7?

Juan Santiago Ramseyer juan_sr at uol.com.br
Wed Feb 17 22:13:28 CET 2010


==> CRASH INSTALLING PACKAGES CHRON IN:

Intel(R) Core(TM) i7 CPU 860 @ 2800GHz

==> IT'S COMPILED DIRECTIVE WRONG? REGARD YOUR ATENTION

==> I RUN:

SO:Linux 2.6.31.12-174.2.19.fc12.x86_64 x86_64 Fedora release 12
(Constantine)

==> AND RECEIVE NEXT MESSAGENS IN INSTALLING:

> install.packages()
Loading Tcl/Tk interface ... done
--- Please select a CRAN mirror for use in this session ---
Warning in install.packages() :
argument 'lib' is missing: using '/usr/lib64/R/library'
tentando a URL
'http://www.vps.fmvz.usp.br/CRAN/src/contrib/chron_2.3-33.tar.gz'
Content type 'application/x-gzip' length 34234 bytes (33 Kb)
URL aberta
==================================================
downloaded 33 Kb

* installing *source* package ‘chron’ ...
** libs
Warning: R include directory is empty -- perhaps need to install
R-devel.rpm or similar
gcc -m64 -std=gnu99 -I/usr/include/R  -I/usr/local/include    -fpic  -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -c chron_strs.c -o
chron_strs.o
chron_strs.c:2:15: error: R.h: Arquivo ou diretório não encontrado
chron_strs.c:7: error: expected declaration specifiers or ‘...’ before
‘Sint’
chron_strs.c:7: error: expected declaration specifiers or ‘...’ before
‘Sint’
chron_strs.c:8: error: expected declaration specifiers or ‘...’ before
‘Sint’
chron_strs.c: In function ‘cnt_flds_str’:
chron_strs.c:10: error: ‘Sint’ undeclared (first use in this function)
chron_strs.c:10: error: (Each undeclared identifier is reported only
once
chron_strs.c:10: error: for each function it appears in.)
chron_strs.c:10: error: expected ‘;’ before ‘n’
chron_strs.c:11: error: expected ‘;’ before ‘i’
chron_strs.c:15: error: ‘whitespace’ undeclared (first use in this
function)
chron_strs.c:17: error: ‘i’ undeclared (first use in this function)
chron_strs.c:17: error: ‘n’ undeclared (first use in this function)
chron_strs.c:21: error: ‘nsep’ undeclared (first use in this function)
chron_strs.c:25: error: ‘counts’ undeclared (first use in this function)
make: ** [chron_strs.o] Erro 1
ERROR: compilation failed for package ‘chron’
* removing ‘/usr/lib64/R/library/chron’

The downloaded packages are in
	‘/tmp/RtmpjNYUoc/downloaded_packages’
Updating HTML index of packages in '.Library'
Warning message:
In install.packages() :
  installation of package 'chron' had non-zero exit status



More information about the R-help mailing list