Em Ter 31 Out 2006 19:43, Alexandre Aguiar escreveu:
> I've tried to compile rcompletion and perhaps have detected the reason for
> failures, although I haven't succeeded yet.

The solution is actually trivial:

Options:
1. set the environment variable LIBS to LIBS="-lcurses"
$ LIBS="-lcurses"
$ R
> install.packages("rcompletion")

2. change the line LIBS="-lreadline  $LIBS" in configure script to
LIBS="-lreadline -lcurses  $LIBS"
and then regenerate the tar.gz package.
$ R
> install.packages("rcompletion", repos=NULL)

During compilation the -lcurses option does not appear in the command lines, 
it seems necessary only during tests.

Haven't tested thoroughly but rcompletion seems to work fine.

Best wishes.

-- 


Alexandre Aguiar
Independent consultant for medical research
SPS Consultoria
Voice: +55-11-9320-2046
Fax: +55-11-5549-8760

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to