Laurent Faisnel
2003-Aug-19 12:35 UTC
[R] R-1.7.1 gets installed without default packages & without readline
Hi all, Trying to install R-1.7.1 on a RedHat 8.0 platform, I have a few problems. R gets installed without default packages (but base and ctest) : make script fails at the end of the procedure (configure is made successfully). This is the (translated) log I have : /gcc -I../../../../include /usr/include/mysql -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c ansari.c -o ansari.o gcc: cannot specify -o with -c or -S and multiple compilations make[5]: *** [ansari.o] Error 1 make[5]: Leaving directory `/usr/local/R-1.7.1/src/library/ctest/src' make[4]: *** [all] Error 2 make[4]: Leaving directory `/usr/local/R-1.7.1/src/library/ctest/src' make[3]: *** [all] Error 1 make[3]: Leaving directory `/usr/local/R-1.7.1/src/library/ctest' make[2]: *** [R] Error 1 make[2]: Leaving directory `/usr/local/R-1.7.1/src/library' make[1]: *** [R] Error 1 make[1]: Leaving directory// `/usr/local/R-1.7.1/src' make: *** [R] Error 1 / However it's possible to start R but I have only base and ctest, and subsequently many warnings are displayed at startup. The only solution I found was to copy-paste libraries from a RPM version (which gets installed without trouble). Probably not a good solution. I already read carefully R-admin. What should I try now ? Moreover, I have a problem with readline. First I did not manage to make the configure script satisfied about readline. I found in R archives that readline-devel should be present too. I downloaded it, indeed the configure script is now OK with readline. But I still have no command-line facilities enabled under R. Why ? [laurent at localhost home]# rpm -qva | grep readline readline-4.3-3 readline-devel-4.3-3 readline41-4.1-14 Thanks for any help. Laurent
Peter Dalgaard BSA
2003-Aug-19 12:55 UTC
[R] R-1.7.1 gets installed without default packages & without readline
Laurent Faisnel <laurent.faisnel at ariase.com> writes:> Hi all, > > Trying to install R-1.7.1 on a RedHat 8.0 platform, I have a few problems. > > R gets installed without default packages (but base and ctest) : make > script fails at the end of the procedure (configure is made > successfully). This is the (translated) log I have : > > /gcc -I../../../../include /usr/include/mysql -D__NO_MATH_INLINES > -mieee-fp -fPIC -g -O2 -c ansari.c -o ansari.o > gcc: cannot specify -o with -c or -S and multiple compilations > make[5]: *** [ansari.o] Error 1 > make[5]: Leaving directory `/usr/local/R-1.7.1/src/library/ctest/src' > make[4]: *** [all] Error 2 > make[4]: Leaving directory `/usr/local/R-1.7.1/src/library/ctest/src' > make[3]: *** [all] Error 1 > make[3]: Leaving directory `/usr/local/R-1.7.1/src/library/ctest' > make[2]: *** [R] Error 1 > make[2]: Leaving directory `/usr/local/R-1.7.1/src/library' > make[1]: *** [R] Error 1 > make[1]: Leaving directory// `/usr/local/R-1.7.1/src' > make: *** [R] Error 1 > / > However it's possible to start R but I have only base and ctest, and > subsequently many warnings are displayed at startup. The only solution > I found was to copy-paste libraries from a RPM version (which gets > installed without trouble). Probably not a good solution. I already > read carefully R-admin. What should I try now ? > > Moreover, I have a problem with readline. First I did not manage to > make the configure script satisfied about readline. I found in R > archives that readline-devel should be present too. I downloaded it, > indeed the configure script is now OK with readline. But I still have > no command-line facilities enabled under R. Why ? > > [laurent at localhost home]# rpm -qva | grep readline > readline-4.3-3 > readline-devel-4.3-3 > readline41-4.1-14You may need a "make distclean" step to purge what got messed up on previous builds. The other issue seems to be due to a missepecification of your header files. I think there wants to be a -I infront of /usr/include/mysql there. -- 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
Thomas W Blackwell
2003-Aug-19 13:28 UTC
[R] R-1.7.1 gets installed without default packages & without readline
Laurent - I had no trouble with configuring, compiling and running R under Redhat 8.0. My system now gives uname -a Linux host 2.4.18-14smp #1 SMP Wed Sep4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux rpm -qa | grep readline readline41-4.1-14 readline-4.3-4 readline-devel-4.3-3 The only difference I can see is that I have readline-4.3-4, while you show readline-4.3-3. So now I remember: on CRAN, somewhere near the R source rpm for linux when I downloaded it there is a special readline rpm, and a readme file from Martyn Plummer which says, in part, "Graeme Ambler has kindly provided patched rpms. His gpg ID is 62897321 and his public key is available from pgp.net (see below)." Somehow, I got readline-4.3-4 out of that rpm. Hmmmm. All seems to work fine for me. - tom blackwell - u michigan medical school - ann arbor -