[R] chron package install fail in intel I7 - fedora 12

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Mar 19 09:48:24 CET 2010



On 19.03.2010 04:20, Juan Santiago Ramseyer wrote:
> install packages chron fail in Fedora 12, cpu I7/860
>
> See down.
>
> Regard,
>
> Juan S. Ramseyer.
>
>
>> 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-34.tar.gz'
> Content type 'application/x-gzip' length 34135 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


Please read this very first warning and just do what it says.

Best,
Uwe Ligges





> 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/RtmpEdAwWY/downloaded_packages’
> Updating HTML index of packages in '.Library'
> Warning message:
> In install.packages() :
>    installation of package 'chron' had non-zero exit status
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list