Just a report for those who want to try this. (Executive summary: It eventually worked.) The RPM for Fedora Core 1 did not work because it wanted libtcl8.3.so and libtk8.3.so, while this distribution had 8.4 instead of 8.3. I didn't try making soft links, thus pretending that it had 8.3. (I'm planning to install the final version of Core 2 when it comes out soon. This is a computer I set up yesterday for grad students to learn about Linux and R.) I installed from source and that went pretty smoothly, once I realized my mistake in NOT doing what Martyn Plummer did with Core 1, which was to install the "workstation" version of Fedora rather than the "personal" version (or whatever it is called). As a result, I had to install gcc and lots of other stuff. Fortunately, Fedora comes with yum, which makes such installations incredibly easy. You just say, for example, yum install gcc and its done pretty fast (assuming you have a fast connection). The one thing I cannot figure out is that readline does not work. It was installed, but apparently not detected. Grepping config.site for readline gets stuff like this: configure:21256: checking for rl_callback_read_char in -lreadline configure:21286: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c -lreadline -ldl -lncurses -lm >&5 /usr/bin/ld: cannot find -lreadline configure:22002: checking readline/history.h usability conftest.c:83:30: readline/history.h: No such file or directory | #include <readline/history.h> configure:22046: checking readline/history.h presence conftest.c:49:30: readline/history.h: No such file or directory [more stuff like this] ac_cv_header_readline_history_h=no ac_cv_header_readline_readline_h=no ac_cv_lib_readline_rl_callback_read_char=no This is not a huge problem in practice, since ESS under Xemacs does work fine, and ESS has the main functions of readline. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu/
For readline you are probably missing the development version of readline which usually contains the header files. I think it's still called readline-devel but it's been a while for me. -roger Jonathan Baron wrote:> Just a report for those who want to try this. (Executive > summary: It eventually worked.) > > The RPM for Fedora Core 1 did not work because it wanted > libtcl8.3.so and libtk8.3.so, while this distribution had 8.4 > instead of 8.3. I didn't try making soft links, thus pretending > that it had 8.3. (I'm planning to install the final version of > Core 2 when it comes out soon. This is a computer I set up > yesterday for grad students to learn about Linux and R.) > > I installed from source and that went pretty smoothly, once I > realized my mistake in NOT doing what Martyn Plummer did with > Core 1, which was to install the "workstation" version of Fedora > rather than the "personal" version (or whatever it is called). > As a result, I had to install gcc and lots of other stuff. > Fortunately, Fedora comes with yum, which makes such > installations incredibly easy. You just say, for example, > > yum install gcc > > and its done pretty fast (assuming you have a fast connection). > > The one thing I cannot figure out is that readline does not > work. It was installed, but apparently not detected. Grepping > config.site for readline gets stuff like this: > > configure:21256: checking for rl_callback_read_char in -lreadline > configure:21286: gcc -o conftest -g -O2 -I/usr/local/include > -L/usr/local/lib conftest.c -lreadline -ldl -lncurses -lm >&5 > /usr/bin/ld: cannot find -lreadline > configure:22002: checking readline/history.h usability > conftest.c:83:30: readline/history.h: No such file or directory > | #include <readline/history.h> > configure:22046: checking readline/history.h presence > conftest.c:49:30: readline/history.h: No such file or directory > [more stuff like this] > ac_cv_header_readline_history_h=no > ac_cv_header_readline_readline_h=no > ac_cv_lib_readline_rl_callback_read_char=no > > This is not a huge problem in practice, since ESS under Xemacs > does work fine, and ESS has the main functions of readline. > > Jon
Jonathan Baron <baron at psych.upenn.edu> writes:> The one thing I cannot figure out is that readline does not > work. It was installed, but apparently not detected. Grepping > config.site for readline gets stuff like this: > > configure:21256: checking for rl_callback_read_char in -lreadline > configure:21286: gcc -o conftest -g -O2 -I/usr/local/include > -L/usr/local/lib conftest.c -lreadline -ldl -lncurses -lm >&5 > /usr/bin/ld: cannot find -lreadlineHm? The usual problem is that people forget to install readline-devel, but is that the expected error message then? Could you do an rpm -ql readline and see where the libreadline stuff went to? If you did forget readline-devel, try that first of course. BTW, it might be a good idea to see if you can rpm --rebuild from Martyn's src.rpm. That gives you your very own .rpm, which you can install and eventually upgrade (which is the point) using the standard tools. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
What was the failure? For the sources, there is a bug in the X11 headers it ships. Please use the R-patched tarball from ftp://ftp.stat.math.ethz.ch/Software/R/, which has a workaround. On Mon, 24 May 2004, Benjamin Yakir wrote:> I am new to Linux and just installed Fedora Core 2. Tried to install R > from Fedora core 1 binaries and from the source files according to the > manual but failed. Would appreciate any help.-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Hello: Please give more info, how did you proceed?, when you install/upgrade Fedora what kind on instalation did you made? A few days ago I upgrade my computer from FC-1 to FC-2 (workstation). After that, I install the binaries (from CRAN) and everything went just fine. On Mon, 24 May 2004, Benjamin Yakir wrote:> I am new to Linux and just installed Fedora Core 2. Tried to install R from Fedora core 1 binaries and from the source files according to the manual but failed. Would appreciate any help. > > Benny Yakir > Department of Statistics > The Hebrew University > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Ulises M. Alvarez LAB. DE ONDAS DE CHOQUE FISICA APLICADA Y TECNOLOGIA AVANZADA UNAM umalvarez at fata.unam.mx
I am new to Linux and just installed Fedora Core 2. Tried to install R from Fedora core 1 binaries and from the source files according to the manual but failed. Would appreciate any help. Benny Yakir Department of Statistics The Hebrew University [[alternative HTML version deleted]]
Dear Prof Ripley Thank you very much. Half the night is over but running the patch worked. Benny On Tue, 2004-05-25 at 00:02, Prof Brian Ripley wrote:> What was the failure? > > For the sources, there is a bug in the X11 headers it ships. Please use > the R-patched tarball from ftp://ftp.stat.math.ethz.ch/Software/R/, which > has a workaround. > > On Mon, 24 May 2004, Benjamin Yakir wrote: > > > I am new to Linux and just installed Fedora Core 2. Tried to install R > > from Fedora core 1 binaries and from the source files according to the > > manual but failed. Would appreciate any help.